DSPRelated.com
Forums

How can I get all addresses of all structures->fields in dxe-file?

Started by avb2337 September 29, 2004
Hi all!

How can I get all addresses of all fields of all structures in
dxe-file? (src is assembler for 218x, VDSP3.0)

ElfDump utility (ElfDump -i 2 My.dxe) provides information like this
(snip):
------------------------
Section: .symtab [2]
Symbol Table
ndx shndx value size type bind flags name
001d 4 002f 2 object local 4 'Counter1'
------------------------

Counter1 is a structure (size=2) at DM(002f). But I want to know
addresses of all fields like this:

... value size ... name
... 002f 2 ... 'Counter1'
... 002f 1 ... 'Counter1->Low'
... 0030 1 ... 'Counter1->High'

Alex.