Modules | |
ELF Header | |
Section Headers | |
Program Headers | |
Data Structures | |
struct | _elf_spec_header |
ELF Specific header. More... | |
struct | _elf_spec_header_list |
Specific header list. More... | |
struct | _melf |
MELF context. More... | |
Defines | |
#define | IS_OVERFLOW(melf, base, addr) ((melf)->imageSize < ((unsigned long)(addr) - (unsigned long)(base))) |
Typedefs | |
typedef _elf_spec_header | ELF_SPEC_HEADER |
ELF Specific header. | |
typedef _elf_spec_header_list | ELF_SPEC_HEADER_LIST |
Specific header list. | |
typedef _melf | MELF |
MELF context. | |
Functions | |
MELF * | melf_new () |
MELF * | melf_open (const char *image) |
void | melf_destroy (MELF *melf) |
unsigned long | melf_save (MELF *melf, const char *path) |
|
ELF Specific header. Wrappers both section and program headers. |
|
Specific header list. A list that contains one or more specific headers. |
|
MELF context. The melf context used to hold the path to an image as well as the elf, program and section headers. |
|
Destroys a MELF context, deallocating all memory associated with it.
|
|
Creates a blank MELF context.
|
|
Translates an ELF image into a MELF context which can then be editted.
|
|
Saves a MELF context in ELF format to the specified path.
|