Home
last modified time | relevance | path

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

/external/qemu/elff/
Delf_file.cc80 const Elf_CommonHdr* elf_hdr = &header.common; in Create() local
106 if (memcmp(elf_hdr->e_ident, ELFMAG, SELFMAG) != 0) { in Create()
113 assert(elf_hdr->ei_info.ei_class == ELFCLASS32 || in Create()
114 elf_hdr->ei_info.ei_class == ELFCLASS64); in Create()
115 if (elf_hdr->ei_info.ei_class != ELFCLASS32 && in Create()
116 elf_hdr->ei_info.ei_class != ELFCLASS64) { in Create()
123 if (elf_hdr->ei_info.ei_class == ELFCLASS32) { in Create()
130 if (!ret->initialize(elf_hdr, path)) { in Create()
141 bool ElfFile::initialize(const Elf_CommonHdr* elf_hdr, const char* path) { in initialize() argument
161 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);