-
Notifications
You must be signed in to change notification settings - Fork 0
Loader
enjhnsn2 edited this page Sep 3, 2017
·
4 revisions
The loader parses the metadata from the executable file in order extract relevant sections of the file as well as provide a convenient interface for the end user to access the data if necessary. Currently the loader supports:
- 32 bit ELF
- 64 bit ELF
The name of the header fields follow elf header convention and can be found for example on the ELF Wiki.
Example:
>>> from loader import *
>>> my_bin = load_elf("tests/pathing_test")
>>> print(hex(my_bin.f_head.e_entry))
0x400490