I was told to use a disassembler. Does gcc
have anything built in? What is the easiest way to do this?
Linux Disassembly – How to Disassemble a Binary Executable to Get Assembly Code
assemblyc++disassemblyexecutablelinux
assemblyc++disassemblyexecutablelinux
I was told to use a disassembler. Does gcc
have anything built in? What is the easiest way to do this?
Best Answer
I don't think
gcc
has a flag for it, since it's primarily a compiler, but another of the GNU development tools does.objdump
takes a-d
/--disassemble
flag:The disassembly looks like this: