8.3.4. Listing addresses of static data

To list to stdout all the global and static data variables and all the structure field addresses, use:


fromelf --text -a --select * infile.axf

Selecting only structures

To produce a text file containing all of the structure addresses in inputfile.axf but none of the global or static data variable information, use:


fromelf --text -a --select *.* -o strucaddress.txt infile.axf

Selecting only nested structures

To produce a text file containing addresses of the nested structures only, use:


fromelf --text -a --select *.*.* -o strucaddress.txt infile.axf

Selecting only variables

To produce a text file containing all of the global or static data variable information in inputfile.axf but none of the structure addresses, use:


fromelf --text -a --select *, ~*.* -o strucaddress.txt infile.axf

Copyright © 2002-2005 ARM Limited. All rights reserved.ARM DUI 0206F
Non-Confidential