HomeSort by relevance Sort by last modified time
    Searched defs:e_ident (Results 1 - 25 of 52) sorted by null

1 2 3

  /external/syslinux/gpxe/src/arch/i386/image/
elfboot.c 76 static const uint8_t e_ident[] = { local
89 if ( memcmp ( ehdr.e_ident, e_ident, sizeof ( e_ident ) ) != 0 ) {
  /bionic/tools/relocation_packer/src/
main.cc 108 uint8_t e_ident[EI_NIDENT]; local
109 if (TEMP_FAILURE_RETRY(read(fd.get(), e_ident, EI_NIDENT)) != EI_NIDENT) {
121 if (e_ident[EI_CLASS] == ELFCLASS32) {
130 } else if (e_ident[EI_CLASS] == ELFCLASS64) {
140 LOG(ERROR) << file << ": unknown ELFCLASS: " << e_ident[EI_CLASS]; local
  /system/core/debuggerd/libdebuggerd/
elf_utils.cpp 35 static bool get_build_id(unwindstack::Memory* memory, uintptr_t base_addr, uint8_t* e_ident,
39 memcpy(&hdr.e_ident[0], e_ident, EI_NIDENT);
100 uint8_t e_ident[EI_NIDENT]; local
101 if (memory->Read(addr, e_ident, SELFMAG) != SELFMAG) {
105 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) {
110 if (memory->Read(addr + SELFMAG, e_ident + SELFMAG, EI_NIDENT - SELFMAG) != EI_NIDENT - SELFMAG) {
114 if (e_ident[EI_CLASS] == ELFCLASS32) {
115 return get_build_id<Elf32_Ehdr, Elf32_Phdr, Elf32_Nhdr>(memory, addr, e_ident, build_id);
116 } else if (e_ident[EI_CLASS] == ELFCLASS64)
    [all...]
  /system/core/libunwindstack/tests/
MapInfoCreateMemoryTest.cpp 50 memcpy(ehdr.e_ident, ELFMAG, SELFMAG);
51 ehdr.e_ident[EI_CLASS] = class_type;
166 uint8_t e_ident[SELFMAG + 1]; local
167 ASSERT_TRUE(memory->ReadFully(0, e_ident, SELFMAG));
168 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG));
171 ASSERT_TRUE(memory->ReadFully(0x1000, e_ident, 1));
182 uint8_t e_ident[SELFMAG + 1]; local
183 ASSERT_TRUE(memory->ReadFully(0, e_ident, SELFMAG));
184 ASSERT_EQ(0, memcmp(e_ident, ELFMAG, SELFMAG));
187 ASSERT_TRUE(memory->ReadFully(0x1000, e_ident, 1))
    [all...]
  /toolchain/binutils/binutils-2.27/gold/
target.cc 232 unsigned char e_ident[elfcpp::EI_NIDENT]; local
233 memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT);
235 e_ident[elfcpp::EI_OSABI] = osabi;
238 oehdr.put_e_ident(e_ident);
binary.cc 276 unsigned char e_ident[elfcpp::EI_NIDENT]; local
277 memset(e_ident, 0, elfcpp::EI_NIDENT);
278 e_ident[elfcpp::EI_MAG0] = elfcpp::ELFMAG0;
279 e_ident[elfcpp::EI_MAG1] = elfcpp::ELFMAG1;
280 e_ident[elfcpp::EI_MAG2] = elfcpp::ELFMAG2;
281 e_ident[elfcpp::EI_MAG3] = elfcpp::ELFMAG3;
283 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS32;
285 e_ident[elfcpp::EI_CLASS] = elfcpp::ELFCLASS64;
288 e_ident[elfcpp::EI_DATA] = (big_endian
291 e_ident[elfcpp::EI_VERSION] = elfcpp::EV_CURRENT
    [all...]
  /external/libunwind/src/
elfxx.h 97 uint8_t* e_ident = (uint8_t*) ei->u.mapped.image; local
99 && e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE
100 && e_ident[EI_VERSION] <= EV_CURRENT);
104 uint8_t e_ident[EI_NIDENT]; local
106 if (SELFMAG != elf_w (memory_read) (ei, start, e_ident, SELFMAG, false)) {
109 if (memcmp (e_ident, ELFMAG, SELFMAG) != 0) {
114 ei, start + SELFMAG, e_ident + SELFMAG, EI_NIDENT - SELFMAG, false)) {
117 return e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NON
    [all...]
  /external/minijail/
elfparse.h 28 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon30668
46 unsigned char e_ident[EI_NIDENT]; /* Magic number and other info */ member in struct:__anon30669
  /system/core/libunwindstack/
Elf.cpp 186 uint8_t e_ident[SELFMAG + 1]; local
187 if (!memory->ReadFully(0, e_ident, SELFMAG)) {
191 if (memcmp(e_ident, ELFMAG, SELFMAG) != 0) {
  /external/elfutils/libelf/
elf_begin.c 75 get_shnum (void *map_address, unsigned char *e_ident, int fildes, off_t offset,
90 bool is32 = e_ident[EI_CLASS] == ELFCLASS32;
93 if (e_ident[EI_DATA] == MY_ELFDATA
95 || (((size_t) e_ident
98 ehdr.p = e_ident;
110 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum;
111 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff;
114 memcpy (&ehdr_mem, e_ident, sizeof (Elf32_Ehdr));
116 if (e_ident[EI_DATA] != MY_ELFDATA)
126 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum
513 unsigned char *e_ident = (unsigned char *) map_address + offset; local
    [all...]
  /external/elfutils/libdw/
cfi.h 83 const unsigned char *e_ident; /* For EI_DATA and EI_CLASS. */ member in struct:Dwarf_CFI_s
224 #define BYTE_ORDER_DUMMY(var, e_ident) \
226 { ((BYTE_ORDER == LITTLE_ENDIAN && e_ident[EI_DATA] == ELFDATA2MSB) \
227 || (BYTE_ORDER == BIG_ENDIAN && e_ident[EI_DATA] == ELFDATA2LSB)) }
  /external/syslinux/com32/include/sys/
elf32.h 62 unsigned char e_ident[EI_NIDENT]; member in struct:elf32_hdr
elf64.h 62 unsigned char e_ident[EI_NIDENT]; member in struct:elf64_hdr
  /device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
elf32.h 69 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon4987
elf64.h 77 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon5003
  /device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
elf32.h 69 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon5066
elf64.h 77 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon5082
  /external/elfutils/libdwfl/
dwfl_segment_report_module.c 332 const unsigned char *e_ident; local
358 e_ident = ((const unsigned char *) buffer);
359 ei_class = e_ident[EI_CLASS];
360 ei_data = e_ident[EI_DATA];
475 ehdr.e32.e_ident[EI_DATA]) == NULL)
  /toolchain/binutils/binutils-2.27/elfcpp/
elfcpp_internal.h 49 unsigned char e_ident[EI_NIDENT]; member in struct:elfcpp::internal::Ehdr_data
  /external/swiftshader/third_party/LLVM/lib/Object/
ELFObjectFile.cpp 267 unsigned char e_ident[ELF::EI_NIDENT]; // ELF Identification bytes member in struct:__anon36088::ELFObjectFile::Elf_Ehdr
283 return (memcmp(e_ident, ELF::ElfMagic, strlen(ELF::ElfMagic))) == 0;
285 unsigned char getFileClass() const { return e_ident[ELF::EI_CLASS]; }
286 unsigned char getDataEncoding() const { return e_ident[ELF::EI_DATA]; }
    [all...]
  /external/syslinux/gpxe/src/include/
elf.h 6 #define EI_NIDENT 16 /* Size of e_ident array. */
172 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon38204
189 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon38205
  /toolchain/binutils/binutils-2.27/include/elf/
external.h 53 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon4675
70 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon4676
internal.h 65 #define EI_NIDENT 16 /* Size of e_ident[] */
68 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */ member in struct:elf_internal_ehdr
  /toolchain/binutils/binutils-2.27/libiberty/
simple-object-elf.c 50 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon5011
69 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon5012
85 /* Indexes and values in e_ident field of Ehdr. */
  /bionic/libc/kernel/uapi/linux/
elf.h 171 unsigned char e_ident[EI_NIDENT]; member in struct:elf32_hdr
187 unsigned char e_ident[EI_NIDENT]; member in struct:elf64_hdr

Completed in 456 milliseconds

1 2 3