Skip to content

Commit 186e8cb

Browse files
committed
shift disasm view to rounding/sizing equally
1 parent 5ec0a0e commit 186e8cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/raddbg/raddbg_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2858,7 +2858,7 @@ rd_range_from_eval_params(E_Eval eval, MD_Node *params)
28582858
}
28592859
if(size == 0)
28602860
{
2861-
size = KB(64);
2861+
size = KB(16);
28622862
}
28632863
Rng1U64 result = {0};
28642864
result.min = rd_base_offset_from_eval(eval);

src/raddbg/raddbg_views.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6037,13 +6037,13 @@ RD_VIEW_RULE_UI_FUNCTION_DEF(disasm)
60376037
{
60386038
auto_selected = 1;
60396039
auto_space = rd_eval_space_from_ctrl_entity(ctrl_entity_from_handle(d_state->ctrl_entity_store, dv->temp_look_process), RD_EvalSpaceKind_CtrlEntity);
6040-
string = push_str8f(scratch.arena, "(0x%I64x & (~(0x1000 - 1)))", dv->temp_look_vaddr);
6040+
string = push_str8f(scratch.arena, "(0x%I64x & (~(0x4000 - 1)))", dv->temp_look_vaddr);
60416041
}
60426042
else
60436043
{
60446044
auto_selected = 1;
60456045
auto_space = rd_eval_space_from_ctrl_entity(ctrl_entity_from_handle(d_state->ctrl_entity_store, rd_regs()->process), RD_EvalSpaceKind_CtrlEntity);
6046-
string = str8_lit("(rip.u64 & (~(0x1000 - 1)))");
6046+
string = str8_lit("(rip.u64 & (~(0x4000 - 1)))");
60476047
}
60486048
}
60496049

0 commit comments

Comments
 (0)