[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: Howto get assembly of linux or windows executables ?

Elizabeth Barham wrote:
Joris writes:

I'm currrently learning assembly and I'd like to get more used to it
- is there a way to get to see the assembly of a compiled program,
what program(s) do I need for that

gcc is able to show the assembly it generates with the -S option and
leaves the result in a file of the same name as the input file but
with an ".s" extension.
For disassembling an executable file the only thing I can think of off
hand is the debugger, such as gdb.

man objdump

Reply to: