Functions | |
void | melf_elfSetType (MELF *melf, Elf32_Half type) |
Elf32_Half | melf_elfGetType (MELF *melf) |
void | melf_elfSetMachine (MELF *melf, Elf32_Half machine) |
Elf32_Half | melf_elfGetMachine (MELF *melf) |
void | melf_elfSetVersion (MELF *melf, Elf32_Word version) |
Elf32_Word | melf_elfGetVersion (MELF *melf) |
void | melf_elfSetEntry (MELF *melf, Elf32_Addr entry) |
Elf32_Addr | melf_elfGetEntry (MELF *melf) |
void | melf_elfSetProgramHeaderOffset (MELF *melf, Elf32_Off offset) |
Elf32_Off | melf_elfGetProgramHeaderOffset (MELF *melf) |
void | melf_elfSetSectionHeaderOffset (MELF *melf, Elf32_Off offset) |
Elf32_Off | melf_elfGetSectionHeaderOffset (MELF *melf) |
void | melf_elfSetProgramHeaderCount (MELF *melf, Elf32_Half count) |
Elf32_Half | melf_elfGetProgramHeaderCount (MELF *melf) |
void | melf_elfSetSectionHeaderCount (MELF *melf, Elf32_Half count) |
Elf32_Half | melf_elfGetSectionHeaderCount (MELF *melf) |
void | melf_elfSetStringTableIndex (MELF *melf, Elf32_Half index) |
Elf32_Half | melf_elfGetStringTableIndex (MELF *melf) |
|
Gets the entry point virtual address.
|
|
Get the machine the binary is desgined for.
|
|
Gets the number of program headers.
|
|
Gets the program header offset.
|
|
Gets the number of section headers.
|
|
Gets the section header offset.
|
|
Gets the index of the string table for section headers.
|
|
Gets the type of binary associated with the context.
|
|
Gets the ELF version.
|
|
Sets the entry point virtual address.
|
|
Sets the machine the binary is designed for (e.g. EM_386)
|
|
Sets the number of program headers.
|
|
Sets the program header file offset.
|
|
Sets the number of section headers.
|
|
Sets the section header offset.
|
|
Sets the index of the string table for section headers.
|
|
Sets the type of the binary The type can be one of the following:
|
|
Sets the ELF version. (e.g. EV_CURRENT)
|