How can I map between code in IDA Pro and the same code in Ghidra? I.e., I am looking at a particular piece of assembly in one, and want to find the same assembly in the other.
Based on asking others and thinking about it myself, I have come up with the following:
- Symbols - if they exist
- Library references could serve as hints, if they can be identified
- String references (i.e., both pieces of code refer to the same constant string)
- Trying to find the same opcode sequence - is there any easy way to do this, where I could do something like cut the assembly from IDA and tell Ghidra to find the same sequence of instructions?
What else is there? Are there any automated tools for this? If there are no symbols, what is the "best" way?
I am assuming that it is useful to be able to use both tools on the same target. Perhaps I am wrong.