HomeSort by relevance Sort by last modified time
    Searched refs:elf_header (Results 1 - 3 of 3) sorted by null

  /frameworks/compile/libbcc/lib/ExecutionEngine/
ELFObjectLoaderImpl.cpp 67 llvm::ELF::Elf32_Ehdr *elf_header = local
70 if (elf_header->e_shoff > pDebugImgSize) {
72 elf_header->e_shoff);
76 if ((elf_header->e_shoff +
77 sizeof(llvm::ELF::Elf32_Shdr) * elf_header->e_shnum) > pDebugImgSize) {
80 elf_header->e_shoff, elf_header->e_shnum);
86 reinterpret_cast<uint8_t*>(pDebugImg) + elf_header->e_shoff);
88 for (unsigned i = 0; i < elf_header->e_shnum; i++) {
  /external/chromium_org/base/third_party/symbolize/
symbolize.cc 170 // Returns elf_header.e_type if the file pointed by fd is an ELF binary.
172 ElfW(Ehdr) elf_header;
173 if (!ReadFromOffsetExact(fd, &elf_header, sizeof(elf_header), 0)) {
176 if (memcmp(elf_header.e_ident, ELFMAG, SELFMAG) != 0) {
179 return elf_header.e_type;
219 ElfW(Ehdr) elf_header;
220 if (!ReadFromOffsetExact(fd, &elf_header, sizeof(elf_header), 0)) {
225 off_t shstrtab_offset = (elf_header.e_shoff
    [all...]
  /art/compiler/
elf_writer_quick.cc 295 llvm::ELF::Elf32_Ehdr elf_header; local
296 memset(&elf_header, 0, sizeof(elf_header));
297 elf_header.e_ident[llvm::ELF::EI_MAG0] = llvm::ELF::ElfMagic[0];
298 elf_header.e_ident[llvm::ELF::EI_MAG1] = llvm::ELF::ElfMagic[1];
299 elf_header.e_ident[llvm::ELF::EI_MAG2] = llvm::ELF::ElfMagic[2];
300 elf_header.e_ident[llvm::ELF::EI_MAG3] = llvm::ELF::ElfMagic[3];
301 elf_header.e_ident[llvm::ELF::EI_CLASS] = llvm::ELF::ELFCLASS32;
302 elf_header.e_ident[llvm::ELF::EI_DATA] = llvm::ELF::ELFDATA2LSB;
303 elf_header.e_ident[llvm::ELF::EI_VERSION] = llvm::ELF::EV_CURRENT
    [all...]

Completed in 110 milliseconds