when resolving irtrees to values, promote register spaces -> containing process space; fixes pointer casts to register values

This commit is contained in:
Ryan Fleury
2026-04-07 17:16:56 -06:00
parent 960f439a59
commit fee9f9a2c3
5 changed files with 10 additions and 1 deletions
+2
View File
@@ -4892,6 +4892,8 @@ ctrl_thread__eval_scope_begin(Arena *arena, CTRL_UserBreakpointList *user_bps, C
ctx->thread_arch = thread->arch;
ctx->thread_reg_space = e_space_make(CTRL_EvalSpaceKind_Entity);
ctx->thread_reg_space.u64_0 = (U64)thread;
ctx->thread_process_space = e_space_make(CTRL_EvalSpaceKind_Entity);
ctx->thread_process_space.u64_0 = (U64)process;
//- rjf: fill debug infos
ctx->dbg_infos = eval_dbg_infos;