Skip to content

Commit 75572ae

Browse files
committed
fix so the 'prefix' delim does not show in the table / matches what IDA renders...
1 parent 7c1573b commit 75572ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugin/lighthouse/util/disassembler/ida_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,8 +389,10 @@ def renamed(self, address, new_name, local_name):
389389
if local_name or new_name.startswith("loc_"):
390390
return 0
391391

392+
rendered_name = idaapi.get_short_name(address)
393+
392394
# call the 'renamed' callback, that will get hooked by a listener
393-
self.name_changed(address, new_name)
395+
self.name_changed(address, rendered_name)
394396

395397
# must return 0 to keep IDA happy...
396398
return 0

0 commit comments

Comments
 (0)