Page 1 of 1

ELF Specification

Posted: Sat Apr 03, 2004 5:44 pm
by chris
I want to learn more about ELF, but I don't know exactly where to look. Is there such thing as an official ELF specification? Is it all the same?

Re:ELF Specification

Posted: Sat Apr 03, 2004 5:49 pm
by Ozguxxx
Googled it and got these at the top results, I think you can make use of them since elf file format proposers are not among us...
http://www.cs.ucdavis.edu/~haungs/paper/node10.html
http://www.blackbeltsystems.com/html_docs/f_apph.html
http://www.linuxjournal.com/article.php?sid=1060

Good luck.

Re:ELF Specification

Posted: Sat Apr 03, 2004 5:52 pm
by Ozguxxx
Hey, Im sorry this blackbelt link is not "your" elf, its some kind of other stuff... Anyway, I messed it up somehow, its late ozgunh82 have some sleep, you can go on messing up tomorrow. Sorry. :P

Re:ELF Specification

Posted: Sat Apr 03, 2004 5:54 pm
by mystran
Try http://www.cs.ucdavis.edu/~haungs/paper/node10.html or
http://www.skyfree.org/linux/references/ELF_Format.pdf

I suppose there's somewhere a official specification too, but the first 10 seconds of googling didn't give me one, and I don't remember the URL right now. =)

Re:ELF Specification

Posted: Sat Apr 03, 2004 7:05 pm
by chris
Thanks for the links.

How would you approach parsing something like that? I've got no idea, and have done nothing of the sort before :-\.

EDIT: Disregard that, I think I've got it :)

Re:ELF Specification

Posted: Sun Apr 04, 2004 12:43 am
by Solar
Adding for completeness (haven't looked at 'em, just google'd for 'em):

64bit ELF:
http://techpubs.sgi.com/library/manuals ... 58-001.pdf

ARM ELF:
http://www.arm.com/pdfs/DUI0101A_Elf.pdf

Re:ELF Specification

Posted: Sun Apr 04, 2004 1:24 pm
by Schol-R-LEA
Also, the book Linkers and Loaders covers ELF along with several other formats, and discusses implementation issues.