Home
last modified time | relevance | path

Searched refs:elf_hdr (Results 1 – 2 of 2) sorted by relevance

/ndk/sources/host-tools/ndk-stack/elff/
Delf_file.cc85 const Elf_CommonHdr* elf_hdr = &header.common; in Create() local
111 if (memcmp(elf_hdr->e_ident, ELFMAG, SELFMAG) != 0) { in Create()
118 assert(elf_hdr->ei_info.ei_class == ELFCLASS32 || in Create()
119 elf_hdr->ei_info.ei_class == ELFCLASS64); in Create()
120 if (elf_hdr->ei_info.ei_class != ELFCLASS32 && in Create()
121 elf_hdr->ei_info.ei_class != ELFCLASS64) { in Create()
128 if (elf_hdr->ei_info.ei_class == ELFCLASS32) { in Create()
135 if (!ret->initialize(elf_hdr, path)) { in Create()
146 bool ElfFile::initialize(const Elf_CommonHdr* elf_hdr, const char* path) { in initialize() argument
166 is_ELF_64_ = elf_hdr->ei_info.ei_class == ELFCLASS64; in initialize()
[all …]
Delf_file.h123 virtual bool initialize(const Elf_CommonHdr* elf_hdr, const char* path);
590 bool initialize(const Elf_CommonHdr* elf_hdr, const char* path);