ELF Executable: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(9 intermediate revisions by the same user not shown)
Line 3: Line 3:


* ''' Format Type ''':    Executable <br>  
* ''' Format Type ''':    Executable <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian / Big Endian <br>
* ''' Signature ''':    ELF <br>  
* ''' Signature ''':    ELF <br>  


Line 12: Line 12:
<pre>
<pre>
//header
//header
4 bytes (char) - signature // "ELF"
4 bytes (char) - signature // 0x7F + "ELF"
1 byte (uint8) - ELF type // 1 - 32bit
                          // 2 - 64bit
1 byte (uint8) - endianess type  // 1 - little endian
                                // 2 - big endian
1 byte (uint8) - ELF version  // 1
1 byte (uint8) - target operating system  // 0x03 - Linux


// TODO
</pre>
</pre>
</div>
</div>
Line 29: Line 37:
List of games using this file format:
List of games using this file format:
* Cataclysm: Dark Days Ahead
* Cataclysm: Dark Days Ahead
* EA's Playground (WII) (stored as *.O files inside *.BIG archives)
* [https://github.com/teeworlds/teeworlds Teeworlds]
* [https://github.com/teeworlds/teeworlds Teeworlds]
* many more...
* many more...
Line 37: Line 46:
* elfutils
* elfutils
* elfdump
* elfdump
=== See Also ===
* [https://en.wikipedia.org/wiki/Executable_and_Linkable_Format ELF description (wikipedia)]
<br/><br>
<br/><br>



Latest revision as of 12:44, 8 October 2022

Back to index | Edit this page

ELF

  • Format Type : Executable
  • Endian Order : Little Endian / Big Endian
  • Signature : ELF


Format Specifications

//header
4 bytes (char) - signature // 0x7F + "ELF"
1 byte (uint8) - ELF type // 1 - 32bit
                          // 2 - 64bit
1 byte (uint8) - endianess type  // 1 - little endian
                                 // 2 - big endian
1 byte (uint8) - ELF version  // 1
1 byte (uint8) - target operating system  // 0x03 - Linux


// TODO

quickBMS Script

Notes and Comments

  • It is executable file format used mostly in some Unix based operating systems like Ubuntu, OpenBSD etc. and on some consoles like PlayStation Portable, PlayStation Vita etc.
  • Android uses ELF *.SO libraries (shared object files) for the Java Native Interface.

Games

List of games using this file format:

  • Cataclysm: Dark Days Ahead
  • EA's Playground (WII) (stored as *.O files inside *.BIG archives)
  • Teeworlds
  • many more...

Compatible Programs

See Also