Graffiti icon indicating copy to clipboard operation
Graffiti copied to clipboard

Node name doesn't get updated when undoing in IDA

Open Azertinv opened this issue 11 months ago • 2 comments

When you rename a a function the graph gets updated but not when you undo that renaming in IDA. I think you need to handle ev_ending_undo and check if the undo was to rename a node.

Azertinv avatar Jan 17 '25 14:01 Azertinv

Thanks for reporting :) I'll work on it soon

yoavst avatar Jan 17 '25 15:01 yoavst

I'm not sure what should I do in this case. ev_ending_undo just say a MakeName event was redo/undo, but without context. ev_replaying_undo has param for const undo_records_t * but I can't find any information about this object

I can stream all renames the IDB has on every undo/redo operation, but that seems inefficient.

yoavst avatar Jan 18 '25 13:01 yoavst