Hacker News new | past | comments | ask | show | jobs | submit login

Wow, having to stare at disassembly too often, I really like this.

Makes it much faster to follow branches and can easily see what instructions correspond to source code lines, even though it's not very exact at higher optimization levels.

This should be integrated in all IDEs.




With recent versions of GNU objdump, you can use --source --visualize-jumps=color and perhaps also --reloc or --dynamic-reloc for a similar experience with the native toolchain. (Unfortunately, -S/--source absolutely sucks for executables compiled at -O2.)

Other tricks include --no-addresses --no-show-raw-insn, which make the disassembly decently diffable.


Nice. Thanks for the tip


If you don't care about source lines, I find radare2 has a really good disassembler (in graph mode)

It's meant for reverse engineering but I use it for debugging purposes too




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: