Lensm, a tool for viewing disassembly
11–19 of 19 posts
Re: Lensm, a tool for viewing disassembly
#12https://news.ycombinator.com/item?id=32138111 - Lensm, a Tool for Viewing Disassembly (2022)
https://news.ycombinator.com/item?id=32133394 - Lensm: Go Assembly and Source Viewer (2022)
Re: Lensm, a tool for viewing disassembly
#13Re: Lensm, a tool for viewing disassembly
#14Wow, 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.
It's meant for reverse engineering but I use it for debugging purposes too
Re: Lensm, a tool for viewing disassembly
#15I also highly recommend following the creator. I'm always impressed with anything Egon creates.
Re: Lensm, a tool for viewing disassembly
#16Earlier quoted context omitted.
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.
I tried it with C and it does not work. So I guess it is go-specific indeed.
Re: Lensm, a tool for viewing disassembly
#17Re: Lensm, a tool for viewing disassembly
#18It would probably be worth mentioning that this is for Go in the title.
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.
But implementing a different backend (e.g. llvm-symbolizer, objdump etc.) shouldn't be too difficult. The main things it needs to do are 1. list the decompilable symbols in the file, 2. disassemble and pull in the relevant source code.
The UI part doesn't care whether it's Go or not.