You copied the Doc URL to your clipboard.
--disassemble
Displays a disassembled version of the image to stdout
. Disassembly is generated in ARM assembler syntax and not GNU assembler syntax.
Usage
If you use this option with --output
, you
can reassemble the output file with destination
armasm
.
You can use this option to disassemble either an ELF image or an ELF object file.
Note
The output is not the same as that from--emit=code
and --text
-c
.
Example
To disassemble the ELF file infile.axf for the Cortex®‑A7 processor and create a source file outfile.asm, enter:
fromelf --cpu=Cortex-A7 --disassemble --output=outfile.asm infile.axf