lunixbochs / revsync

realtime cross-tool collaborative reverse engineering
MIT License
100 stars 25 forks source link

Support for propagating renames for .equ statements? #3

Open neutralinsomniac opened 4 years ago

neutralinsomniac commented 4 years ago

I'm reversing a microcontroller that makes extensive use of .equ's for memory-mapped registers and constants, and I noticed that revsync doesn't seem to be pushing renames for these. Is that an intentional decision/not possible, or is it something that could be implemented?

lunixbochs commented 3 years ago

Sorry I missed this. Which disassembler?

Generally non-destructive edits such as renames are completely ok. The main requirement is that your disassembler have some kind of event or ability to tell that you renamed something, and an API to apply it on the other side.

neutralinsomniac commented 3 years ago

We're using IDA Pro

On Wed, Mar 17, 2021, at 15:35, Ryan Hileman wrote:

Sorry I missed this. Which disassembler?

Generally non-destructive edits such as renames are completely ok. The main requirement is that your disassembler have some kind of event or ability to tell that you renamed something, and an API to apply it on the other side.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lunixbochs/revsync/issues/3#issuecomment-801355434, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAWPJY5I775DPZHJWDD5SLTEEABFANCNFSM4N3V22SA.

lunixbochs commented 3 years ago

Are you talking about this feature or something else? I'm not familiar with equs in ida pro. https://www.hex-rays.com/blog/igors-tip-of-the-week-24-renaming-registers/