das-labor / panopticon

A libre cross-platform disassembler.
https://panopticon.re
GNU General Public License v3.0
1.43k stars 78 forks source link

idea: add automatic rip relative resolved addresses as comments #297

Open m4b opened 7 years ago

m4b commented 7 years ago

objdump and gdb do this and it's so, so helpful:

    3658:       48 8d 3d 61 f9 21 00    lea    0x21f961(%rip),%rdi        # 222fc0 <.got>

it resolves the rip relative to 0x21f961 + 3658 + sizeof instruction = 222fc0