News for hackers. Stuff that matters.
Re:The Art of Assembly Language (1996) by AnimalMuppet on Thursday March 29, 2018 @04:54PM (#16710937)
I've used that several times. One more thing I want: The C/C++ code as comments in the assembler file. Is there a gcc switch for that that I don't know about?
Re:The Art of Assembly Language (1996) by zielmicha on Friday March 30, 2018 @04:57AM (#16714708)
You can use "objdump -S" on a binary compiled with debugging symbols. (This way you can get assembly in Intel syntax with "-M intel")
Re:The Art of Assembly Language (1996) by klodolph on Thursday March 29, 2018 @05:32PM (#16711243)
You can use -g -Wa,-adhls and then do some post-processing, the .file and .loc directives give you what you need.