/toolchain/binutils/binutils-2.25/libiberty/ |
simple-object-elf.c | 99 #define EI_CLASS 4 /* File class */ 318 unsigned char ei_class; member in struct:simple_object_elf_read 342 unsigned char ei_class; member in struct:simple_object_elf_attributes 360 unsigned char ei_class; local 384 ei_class = header[EI_CLASS]; 385 switch (ei_class) 418 eor->ei_class = ei_class; 420 eor->machine = ELF_FETCH_FIELD (type_functions, ei_class, Ehdr, ehdr 497 unsigned char ei_class = eor->ei_class; local [all...] |
/external/minijail/ |
elfparse.c | 71 (pHeader[EI_CLASS] == ELFCLASS64)) { 75 (pHeader[EI_CLASS] == ELFCLASS64)) { 79 (pHeader[EI_CLASS] == ELFCLASS32)) { 83 (pHeader[EI_CLASS] == ELFCLASS32)) {
|
/bionic/tools/relocation_packer/src/ |
main.cc | 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];
|
elf_file_unittest.cc | 125 ASSERT_EQ(0, fseek(relocs_so, EI_CLASS, SEEK_SET)) 161 ASSERT_EQ(0, fseek(packed_relocs_so, EI_CLASS, SEEK_SET))
|
/device/google/dragon/crash_collector/ |
crash_dispatcher.cc | 40 // Read the ELF header until EI_CLASS. 41 char buf_head[EI_CLASS + 1]; 53 const char* crash_collector_path = buf_head[EI_CLASS] == ELFCLASS64 ?
|
/development/python-packages/gdbrunner/ |
__init__.py | 256 ei_class = ord(binary[0x4]) # 1 = 32-bit, 2 = 64-bit 259 assert ei_class == 1 or ei_class == 2 265 assert ei_class == 1 268 assert ei_class == 2 271 assert ei_class == 1 274 assert ei_class == 2 277 if ei_class == 1:
|
/external/compiler-rt/lib/asan/ |
asanwrapper.cc | 34 const size_t kBufSize = EI_CLASS + 1; 46 bool is_64bit = buf[EI_CLASS] == ELFCLASS64;
|
/external/elfutils/libdwfl/ |
dwfl_segment_report_module.c | 133 bytes in format EI_CLASS and EI_DATA. */ 137 unsigned char ei_class, unsigned char ei_data, 144 switch (ei_class) 333 unsigned char ei_class; local 359 ei_class = e_ident[EI_CLASS]; 361 switch (ei_class) 411 bool class32 = ei_class == ELFCLASS32; 581 if (ei_class == ELFCLASS32) 687 ei_class, ei_data [all...] |
elf-from-memory.c | 127 switch (buffer[EI_CLASS]) 194 bool class32 = ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32; 220 switch (ehdr.e32.e_ident[EI_CLASS]) 302 switch (ehdr.e32.e_ident[EI_CLASS])
|
linux-proc-maps.c | 67 unsigned char buf[EI_CLASS + 1]; 73 || (buf[EI_CLASS] != ELFCLASS64 && buf[EI_CLASS] != ELFCLASS32)) 76 return buf[EI_CLASS];
|
/system/core/debuggerd/ |
elf_utils.cpp | 114 if (e_ident[EI_CLASS] == ELFCLASS32) { 116 } else if (e_ident[EI_CLASS] == ELFCLASS64) {
|
/external/elfutils/libdw/ |
dwarf_frame_cfa.c | 62 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4,
|
encoded-value.h | 57 return e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; 79 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
|
dwarf_frame_register.c | 96 unsigned int address_size = (fs->cache->e_ident[EI_CLASS] == ELFCLASS32
|
/external/google-breakpad/src/common/linux/ |
elfutils.cc | 58 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); 93 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); 118 return elf_header->e_ident[EI_CLASS];
|
/cts/libs/deviceutil/src/android/cts/util/ |
ReadElf.java | 36 private static final int EI_CLASS = 4; 232 int elfClass = mBuffer[EI_CLASS]; 238 throw new IOException("Invalid ELF EI_CLASS: " + elfClass + ": " + mPath); 265 throw new IOException("Invalid e_machine/EI_CLASS ELF combination: " +
|
/system/core/crash_reporter/ |
user_collector_test.cc | 408 e_ident[EI_CLASS] = ELFCLASS32; 410 e_ident[EI_CLASS] = ELFCLASS64; 422 e_ident[EI_CLASS] = ELFCLASS32; 426 e_ident[EI_CLASS] = ELFCLASS64;
|
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/ |
readelf.exp | 40 # Find out the size by reading the output of the EI_CLASS field. 42 # EI_CLASS line here. 63 verbose -log "EI_CLASS field not found in output"
|
/external/elfutils/libelf/ |
common.h | 53 int eclass = (int) ((unsigned char *) buf)[EI_CLASS];
|
/prebuilts/go/darwin-x86/src/cmd/go/ |
note.go | 82 switch elf.Class(data[elf.EI_CLASS]) {
|
/prebuilts/go/linux-x86/src/cmd/go/ |
note.go | 82 switch elf.Class(data[elf.EI_CLASS]) {
|
/external/libunwind/src/ |
elfxx.h | 99 && e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE 117 return e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
elf.h | 316 #define EI_CLASS 4 329 #define ELFCLASSNONE 0 /* EI_CLASS */
|
/art/runtime/ |
elf_file.cc | 436 if (elf_class != header_->e_ident[EI_CLASS]) { 437 *error_msg = StringPrintf("Failed to find expected EI_CLASS value %d in %s, found %d", 440 header_->e_ident[EI_CLASS]); 447 header_->e_ident[EI_CLASS]); 454 header_->e_ident[EI_CLASS]); [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
elfedit.c | 89 class = elf_header.e_ident[EI_CLASS]; 95 (_("%s: Unmatched EI_CLASS: %d is not %d\n"), 191 switch (elf_header.e_ident[EI_CLASS]) 194 error (_("Unsupported EI_CLASS: %d\n"), 195 elf_header.e_ident[EI_CLASS]);
|