ELF Specification

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
chris

ELF Specification

Post 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?
Ozguxxx

Re:ELF Specification

Post 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.
Ozguxxx

Re:ELF Specification

Post 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
mystran

Re:ELF Specification

Post 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. =)
chris

Re:ELF Specification

Post 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 :)
User avatar
Solar
Member
Member
Posts: 7633
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:ELF Specification

Post 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
Every good solution is obvious once you've found it.
Schol-R-LEA

Re:ELF Specification

Post by Schol-R-LEA »

Also, the book Linkers and Loaders covers ELF along with several other formats, and discusses implementation issues.
Post Reply