ELF Specification 1.2 is only for 32 bits

ELF Specification 1.2 is only for 32 bits

2019/09/09 Kernel Programming 0

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.