[HN Gopher] Lensm, a Tool for Viewing Disassembly
___________________________________________________________________
Lensm, a Tool for Viewing Disassembly
Author : jtolds
Score : 52 points
Date : 2023-10-09 16:45 UTC (6 hours ago)
(HTM) web link (www.storj.io)
(TXT) w3m dump (www.storj.io)
| c7DJTLrn wrote:
| It would probably be worth mentioning that this is for Go in the
| title.
| jcul wrote:
| I'd imagine it would work for any binary with debug symbols,
| even though the tool is written in go?
|
| Though I haven't tried it, on mobile right now.
| vardump wrote:
| 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.
| mananaysiempre wrote:
| 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.
___________________________________________________________________
(page generated 2023-10-09 23:01 UTC)