elfhook

Undocumented in source.

Members

Aliases

ELF_R_SYM
alias ELF_R_SYM = ELF64_R_SYM
Undocumented in source.
ELF_R_SYM
alias ELF_R_SYM = ELF32_R_SYM
Undocumented in source.
Elf_Ehdr
alias Elf_Ehdr = Elf64_Ehdr
Undocumented in source.
Elf_Ehdr
alias Elf_Ehdr = Elf32_Ehdr
Undocumented in source.
Elf_Rel
alias Elf_Rel = Elf64_Rela
Undocumented in source.
Elf_Rel
alias Elf_Rel = Elf32_Rela
Undocumented in source.
Elf_Shdr
alias Elf_Shdr = Elf64_Shdr
Undocumented in source.
Elf_Shdr
alias Elf_Shdr = Elf32_Shdr
Undocumented in source.
Elf_Sym
alias Elf_Sym = Elf64_Sym
Undocumented in source.
Elf_Sym
alias Elf_Sym = Elf32_Sym
Undocumented in source.

Functions

elfHook
void* elfHook(char* filename, void* address, char* name, void* substitution)
Undocumented in source. Be warned that the author may not have intended to support it.
hook
void* hook(string filename, char* functionName, void* substitutionAddress)
Undocumented in source. Be warned that the author may not have intended to support it.
readHeader
void readHeader(int fd, Elf_Ehdr* header)
Undocumented in source. Be warned that the author may not have intended to support it.
readSectionTable
void readSectionTable(int fd, Elf_Ehdr* header, Elf_Shdr* table)
Undocumented in source. Be warned that the author may not have intended to support it.
readStringTable
void readStringTable(int fd, Elf_Shdr* section, char* strings)
Undocumented in source. Be warned that the author may not have intended to support it.
readSymbolTable
void readSymbolTable(int fd, Elf_Shdr* section, Elf_Sym* table)
Undocumented in source. Be warned that the author may not have intended to support it.
sectionByIndex
void sectionByIndex(int fd, size_t index, Elf_Shdr* section)
Undocumented in source. Be warned that the author may not have intended to support it.
sectionByName
void sectionByName(int fd, char* sectionName, Elf_Shdr* section)
Undocumented in source. Be warned that the author may not have intended to support it.
sectionByType
void sectionByType(int fd, size_t sectionType, Elf_Shdr* section)
Undocumented in source. Be warned that the author may not have intended to support it.
symbolByName
void symbolByName(int fd, Elf_Shdr* section, char* name, Elf_Sym* symbol, size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

REL_DYN
enum REL_DYN;
Undocumented in source.
REL_DYN
enum REL_DYN;
Undocumented in source.
REL_PLT
enum REL_PLT;
Undocumented in source.
REL_PLT
enum REL_PLT;
Undocumented in source.

Meta