diff options
| author | blasty <blasty@local> | 2026-07-09 20:56:08 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-09 20:56:08 +0200 |
| commit | c5499b4e69c969e1c8dcc0f98f7df023c8b8407f (patch) | |
| tree | b9330c781ff89dfee8d957c311a234233f6baeeb /server/patch_server.py | |
| parent | rename: refuse pseudocode goto-labels with a clear message (diff) | |
| download | ida-tui-c5499b4e69c969e1c8dcc0f98f7df023c8b8407f.tar.gz ida-tui-c5499b4e69c969e1c8dcc0f98f7df023c8b8407f.tar.xz ida-tui-c5499b4e69c969e1c8dcc0f98f7df023c8b8407f.zip | |
comments: ';' sets a comment on the current line (disasm + pseudocode)
Bind ';' (NavMixin, so both code views) to a comment prompt for the line under
the cursor. Resolve the line's address (_cursor_ea in disasm, the /*0xEA*/ marker
in pseudocode), prefill any existing comment (parsed from the rendered '//' text),
and apply via the set_comments tool; an empty value clears it.
After setting, reuse the name-generation invalidation (bump_names) so Hex-Rays is
force_recompiled lazily and the pseudocode/disasm refresh in place at the saved
position -- the new '// comment' shows on the line. Marks the IDB dirty (Ctrl+S).
Pilot checks for the pseudocode round-trip. full suite 63/63.
Diffstat (limited to 'server/patch_server.py')
0 files changed, 0 insertions, 0 deletions
