javierhonduco / rbperf

Low-overhead sampling profiler and tracer for Ruby for Linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add integration test for garbled stacktraces

javierhonduco opened this issue · comments

if method_name.is_err() {

p ((struct RString)(*((rb_control_frame_t*) (ruby_current_vm_ptr->ractor->main_thread->ec->vm_stack + ruby_current_vm_ptr->ractor->main_thread->ec->vm_stack_size) - 2).iseq.body.location.label)).as.heap.ptr
set *(0x7fd016296c42+2) = 0xf
set {char [10]} 0x7fd016296c42 = 0xf