initialize frame base in interp context

This commit is contained in:
Nikita Smith
2025-03-12 14:49:14 -07:00
parent 44249f35fc
commit 3eedcb1912
4 changed files with 49 additions and 6 deletions
+3 -2
View File
@@ -12159,11 +12159,12 @@ rd_frame(void)
ctx->reg_unwind_count = unwind_count;
ctx->module_base = push_array(scratch.arena, U64, 1);
ctx->module_base[0] = module->vaddr_range.min;
ctx->frame_base = push_array(scratch.arena, U64, 1);
ctx->tls_base = push_array(scratch.arena, U64, 1);
ctx->tls_base[0] = d_query_cached_tls_base_vaddr_from_process_root_rip(process, tls_root_vaddr, rip_vaddr);
}
e_select_interpret_ctx(interpret_ctx);
e_select_interpret_ctx(interpret_ctx, eval_modules_primary->rdi, rip_voff);
////////////////////////////
//- rjf: build eval visualization view rule table
//