diff options
| author | blasty <blasty@local> | 2026-07-23 01:23:06 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-23 01:23:06 +0200 |
| commit | 500973fa41a3896c6fe200aaa538d38320c77a38 (patch) | |
| tree | 702e2e8cd8ead8c2345406cba8f7abff3c7f384b /server/patch_server.py | |
| parent | app: on startup, land on main() (else pop the symbol picker) (diff) | |
| download | ida-tui-500973fa41a3896c6fe200aaa538d38320c77a38.tar.gz ida-tui-500973fa41a3896c6fe200aaa538d38320c77a38.tar.xz ida-tui-500973fa41a3896c6fe200aaa538d38320c77a38.zip | |
app: listing 'n' names the address (can name a bare/undefined byte)
Repro: shrink a u16 data field to u8 in the listing; the freed byte at addr+1
becomes undefined, but you couldn't name it. 'n' posted RenameRequested with
word_under_cursor(), and _do_rename treats that as an existing symbol to rename
-- a 'db ?' line has no symbol, so it failed.
In the ListingView, 'n' now names the ADDRESS under the cursor: opens the name
prompt prefilled with the head's current name (empty for an unnamed byte) and
applies it via rename {data:{addr,new}} (the server's address form of the data
rename, which set_name's the ea even when nothing is defined there), then
bump_items + reopen so the label shows. Code-view symbol rename is unchanged.
Server already supported it; new listing_name_addr scenario reproduces the full
workflow. Full suite 123 pass / 1 pre-existing flaky (filter).
Diffstat (limited to 'server/patch_server.py')
0 files changed, 0 insertions, 0 deletions
