Home
last modified time | relevance | path

Searched refs:e_ident (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Delf_file.cc463 if ((ELFMAG0 != header_->e_ident[EI_MAG0]) in SetMap()
464 || (ELFMAG1 != header_->e_ident[EI_MAG1]) in SetMap()
465 || (ELFMAG2 != header_->e_ident[EI_MAG2]) in SetMap()
466 || (ELFMAG3 != header_->e_ident[EI_MAG3])) { in SetMap()
470 header_->e_ident[EI_MAG0], in SetMap()
471 header_->e_ident[EI_MAG1], in SetMap()
472 header_->e_ident[EI_MAG2], in SetMap()
473 header_->e_ident[EI_MAG3]); in SetMap()
476 if (ELFCLASS32 != header_->e_ident[EI_CLASS]) { in SetMap()
480 header_->e_ident[EI_CLASS]); in SetMap()
[all …]
Delf.h70 unsigned char e_ident[EI_NIDENT]; // ELF Identification bytes member
85 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
87 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
88 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding()
94 unsigned char e_ident[EI_NIDENT]; member
109 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0; in checkMagic()
111 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
112 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; } in getDataEncoding()
/art/compiler/
Delf_writer_quick.cc813 elf_header_.e_ident[EI_MAG0] = ELFMAG0; in SetupEhdr()
814 elf_header_.e_ident[EI_MAG1] = ELFMAG1; in SetupEhdr()
815 elf_header_.e_ident[EI_MAG2] = ELFMAG2; in SetupEhdr()
816 elf_header_.e_ident[EI_MAG3] = ELFMAG3; in SetupEhdr()
817 elf_header_.e_ident[EI_CLASS] = ELFCLASS32; in SetupEhdr()
818 elf_header_.e_ident[EI_DATA] = ELFDATA2LSB; in SetupEhdr()
819 elf_header_.e_ident[EI_VERSION] = EV_CURRENT; in SetupEhdr()
820 elf_header_.e_ident[EI_OSABI] = ELFOSABI_LINUX; in SetupEhdr()
821 elf_header_.e_ident[EI_ABIVERSION] = 0; in SetupEhdr()