HomeSort by relevance Sort by last modified time
    Searched full:elf_hdr (Results 1 - 8 of 8) sorted by null

  /frameworks/compile/mclinker/lib/LD/
ELFDynObjReader.cpp 57 uint8_t* ELF_hdr = region->start();
59 if (!m_pELFReader->isELF(ELF_hdr))
61 else if (!m_pELFReader->isMyEndian(ELF_hdr))
63 else if (!m_pELFReader->isMyMachine(ELF_hdr))
65 else if (Input::DynObj != m_pELFReader->fileType(ELF_hdr))
79 uint8_t* ELF_hdr = region->start();
81 bool shdr_result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr);
ELFObjectReader.cpp 70 uint8_t* ELF_hdr = region->start();
72 if (!m_pELFReader->isELF(ELF_hdr))
74 else if (!m_pELFReader->isMyEndian(ELF_hdr))
76 else if (!m_pELFReader->isMyMachine(ELF_hdr))
78 else if (Input::Object != m_pELFReader->fileType(ELF_hdr))
92 uint8_t* ELF_hdr = region->start();
93 bool result = m_pELFReader->readSectionHeaders(pInput, ELF_hdr);
  /external/qemu/elff/
elf_file.cc 85 const Elf_CommonHdr* elf_hdr = &header.common; local
111 if (memcmp(elf_hdr->e_ident, ELFMAG, SELFMAG) != 0) {
118 assert(elf_hdr->ei_info.ei_class == ELFCLASS32 ||
119 elf_hdr->ei_info.ei_class == ELFCLASS64);
120 if (elf_hdr->ei_info.ei_class != ELFCLASS32 &&
121 elf_hdr->ei_info.ei_class != ELFCLASS64) {
128 if (elf_hdr->ei_info.ei_class == ELFCLASS32) {
135 if (!ret->initialize(elf_hdr, path)) {
146 bool ElfFile::initialize(const Elf_CommonHdr* elf_hdr, const char* path) {
166 is_ELF_64_ = elf_hdr->ei_info.ei_class == ELFCLASS64;
    [all...]
elf_file.h 117 * elf_hdr - Address of the common ELF file header.
123 virtual bool initialize(const Elf_CommonHdr* elf_hdr, const char* path);
590 bool initialize(const Elf_CommonHdr* elf_hdr, const char* path);
  /ndk/sources/host-tools/ndk-stack/elff/
elf_file.cc 85 const Elf_CommonHdr* elf_hdr = &header.common; local
111 if (memcmp(elf_hdr->e_ident, ELFMAG, SELFMAG) != 0) {
118 assert(elf_hdr->ei_info.ei_class == ELFCLASS32 ||
119 elf_hdr->ei_info.ei_class == ELFCLASS64);
120 if (elf_hdr->ei_info.ei_class != ELFCLASS32 &&
121 elf_hdr->ei_info.ei_class != ELFCLASS64) {
128 if (elf_hdr->ei_info.ei_class == ELFCLASS32) {
135 if (!ret->initialize(elf_hdr, path)) {
146 bool ElfFile::initialize(const Elf_CommonHdr* elf_hdr, const char* path) {
166 is_ELF_64_ = elf_hdr->ei_info.ei_class == ELFCLASS64
    [all...]
elf_file.h 117 * elf_hdr - Address of the common ELF file header.
123 virtual bool initialize(const Elf_CommonHdr* elf_hdr, const char* path);
590 bool initialize(const Elf_CommonHdr* elf_hdr, const char* path);
  /frameworks/compile/mclinker/unittests/
ELFReaderTest.cpp 71 uint8_t* ELF_hdr = region->start();
72 bool shdr_result = m_pELFReader->readSectionHeaders(*m_pInput, ELF_hdr);
  /bionic/linker/
linker.cpp 1693 Elf32_Ehdr *elf_hdr = (Elf32_Ehdr *) linker_base; local
1828 Elf32_Ehdr* elf_hdr = (Elf32_Ehdr*) linker_addr; local
    [all...]

Completed in 134 milliseconds