Search Posts

ELF Specification 1.2 is only for 32 bits

I am writing a java library to manipulate 64 bits ELF, so i read ELF specification 1.2 , but one big mistake i took is : this specification is only for 32 bits, and the 64 bits one introduce new data types. So I was trying to guess out what data types it is using in 64 bits mode, changing some data types from 32 bits to 64 bits, and i was totally wrong, so i decoded ELF wrongly.

This is 64 bits spec, it introduced new data types such as Elf64_Xword
This is 32 bits spec

Leave a Reply

Your email address will not be published. Required fields are marked *