mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 05:48:40 +00:00
fix incorrect auto disasm starting address
This commit is contained in:
@@ -6037,13 +6037,13 @@ RD_VIEW_RULE_UI_FUNCTION_DEF(disasm)
|
|||||||
{
|
{
|
||||||
auto_selected = 1;
|
auto_selected = 1;
|
||||||
auto_space = rd_eval_space_from_ctrl_entity(ctrl_entity_from_handle(d_state->ctrl_entity_store, dv->temp_look_process), RD_EvalSpaceKind_CtrlEntity);
|
auto_space = rd_eval_space_from_ctrl_entity(ctrl_entity_from_handle(d_state->ctrl_entity_store, dv->temp_look_process), RD_EvalSpaceKind_CtrlEntity);
|
||||||
string = push_str8f(scratch.arena, "(0x%I64x & (~(0x4000 - 1)))", dv->temp_look_vaddr);
|
string = push_str8f(scratch.arena, "(0x%I64x & (~(0x4000 - 1))) + 1", dv->temp_look_vaddr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
auto_selected = 1;
|
auto_selected = 1;
|
||||||
auto_space = rd_eval_space_from_ctrl_entity(ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_regs()->process), RD_EvalSpaceKind_CtrlEntity);
|
auto_space = rd_eval_space_from_ctrl_entity(ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_regs()->process), RD_EvalSpaceKind_CtrlEntity);
|
||||||
string = str8_lit("(rip.u64 & (~(0x4000 - 1))");
|
string = str8_lit("(rip.u64 & (~(0x4000 - 1))) + 1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user