| |||
| Home > Using fromelf > Disassembling an ELF-formatted file | |||
Use the --disassemble option to display
a disassembled version of the image to stdout.
If you use this option with the --output option,
you can reassemble the output file with armasm.destination
You can use this option to disassemble either an ELF image or an ELF object file.
The output is not the same as that from --emit=code and --text
-c.
To disassemble the ELF file infile.axf for
the ARM1176JZF-S™ processor
and create a source file outfile.asm, enter:
fromelf --cpu=ARM1176JZF-S --disassemble --output=outfile.asm infile.axf