structure of afx-file?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

structure of afx-file?

Jump to solution
1,006 Views
martinpi
Contributor III


I'd like to understand the structure of the afx-file.

As far as I have found, it contains the executable code plus the symols for debugging.

But I did not find a documentation of the file structure.

 

I'd like to extract the executable code from the afx rather than decoding from an S19 file.

Furthermore I would like to extract information like the base address.

 

Thanks!

Martin

Labels (1)
0 Kudos
1 Solution
787 Views
BlackNight
NXP Employee
NXP Employee

It is a standard ELF/Dwarf (DWARF - Wikipedia, the free encyclopedia) file, just with the .afx extension instead of .elf.

You can see this if you open the file with a text editor and if you look at the first few bytes.

So you should be able to use any tools which accept an ELF file.

I hope this helps,

Erich

View solution in original post

0 Kudos
1 Reply
788 Views
BlackNight
NXP Employee
NXP Employee

It is a standard ELF/Dwarf (DWARF - Wikipedia, the free encyclopedia) file, just with the .afx extension instead of .elf.

You can see this if you open the file with a text editor and if you look at the first few bytes.

So you should be able to use any tools which accept an ELF file.

I hope this helps,

Erich

0 Kudos