aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorblasty <blasty@local>2026-07-24 00:12:47 +0200
committerblasty <blasty@local>2026-07-24 00:12:47 +0200
commit00efd6ab160c99239a7cacd81b6cf010c4b9ae18 (patch)
tree1f109216610611f556d132daab30b34f584a9670 /systemd
parentnav: land the decompiler cursor on the function name, not column 0 (diff)
downloadida-tui-00efd6ab160c99239a7cacd81b6cf010c4b9ae18.tar.gz
ida-tui-00efd6ab160c99239a7cacd81b6cf010c4b9ae18.tar.xz
ida-tui-00efd6ab160c99239a7cacd81b6cf010c4b9ae18.zip
nav: xref jump into pseudocode lands on the referenced symbol, not column 0
The decompiler-jump column fix used fn.name (the target's containing function), which is correct when jumping to a function's own prototype but wrong for an xref jump to a call SITE: the token on that line is the symbol xrefs was invoked on, not the enclosing function. So x-pane jumps landed at column 0. Use focus_name (the xref's subject, already threaded through _goto_ea) as the token for a mid-function target; keep fn.name for the ea == fn.addr (prototype) case. Verified: xrefs to sub_2060 -> pick the caller site -> lands in sub_20DD's pseudocode on ' sub_2060(a2);' with cursor_x=4 = 'sub_2060'. Full suite (disasm_nav/view_toggle/search/follow_xrefs/xref_labels/mouse/decomp_nav/ decomp_follow_self/rename/rename_history/listing_view/continuous_view/ func_banners) green.
Diffstat (limited to 'systemd')
0 files changed, 0 insertions, 0 deletions