shift disasm view to rounding/sizing equally

This commit is contained in:
Ryan Fleury
2024-10-16 14:58:13 -07:00
parent 5ec0a0e406
commit 186e8cbabe
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2858,7 +2858,7 @@ rd_range_from_eval_params(E_Eval eval, MD_Node *params)
}
if(size == 0)
{
size = KB(64);
size = KB(16);
}
Rng1U64 result = {0};
result.min = rd_base_offset_from_eval(eval);
+2 -2
View File
@@ -6037,13 +6037,13 @@ RD_VIEW_RULE_UI_FUNCTION_DEF(disasm)
{
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);
string = push_str8f(scratch.arena, "(0x%I64x & (~(0x1000 - 1)))", dv->temp_look_vaddr);
string = push_str8f(scratch.arena, "(0x%I64x & (~(0x4000 - 1)))", dv->temp_look_vaddr);
}
else
{
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);
string = str8_lit("(rip.u64 & (~(0x1000 - 1)))");
string = str8_lit("(rip.u64 & (~(0x4000 - 1)))");
}
}