elf32_getehdr , elf32_newehdr , elf64_getehdr , elf64_newehdr - retrieve class-dependent object file header
Elf64_Ehdr *elf64_getehdr(Elf *elf); Elf64_Ehdr *elf64_newehdr(Elf *elf); For a 32-bit class file,elf32_getehdr()returns a pointer to an ELF header, if one is available for the ELF descriptorelf. If no header exists for the descriptor,elf32_newehdr()allocates a clean one...