Home
last modified time | relevance | path

Searched refs:EI_CLASS (Results 1 – 25 of 54) sorted by relevance

123

/external/google-breakpad/src/common/linux/
Delfutils.cc58 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSection()
93 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSegment()
118 return elf_header->e_ident[EI_CLASS]; in ElfClass()
/external/compiler-rt/lib/asan/
Dasanwrapper.cc34 const size_t kBufSize = EI_CLASS + 1; in elf_is_64bit()
46 bool is_64bit = buf[EI_CLASS] == ELFCLASS64; in elf_is_64bit()
/external/elfutils/src/libdwfl/
Dlinux-proc-maps.c67 unsigned char buf[EI_CLASS + 1]; in get_pid_class()
73 || (buf[EI_CLASS] != ELFCLASS64 && buf[EI_CLASS] != ELFCLASS32)) in get_pid_class()
76 return buf[EI_CLASS]; in get_pid_class()
Delf-from-memory.c121 switch (buffer[EI_CLASS]) in elf_from_remote_memory()
202 switch (ehdr.e32.e_ident[EI_CLASS]) in elf_from_remote_memory()
281 switch (ehdr.e32.e_ident[EI_CLASS]) in elf_from_remote_memory()
Dlink_map.c624 size_t buffer_available = addrsize (ehdr.e_ident[EI_CLASS]); in consider_executable()
640 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in consider_executable()
651 *elfclass = ehdr.e_ident[EI_CLASS]; in consider_executable()
652 else if (*elfclass != ehdr.e_ident[EI_CLASS]) in consider_executable()
/external/elfutils/src/libdw/
Dencoded-value.h54 return e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in encoded_value_size()
76 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in __libdw_cfi_read_address_inc()
Ddwarf_frame_cfa.c65 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4,
Ddwarf_frame_register.c100 unsigned int address_size = (fs->cache->e_ident[EI_CLASS] == ELFCLASS32
Dcie.c125 = cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in intern_new_cie()
Ddwarf_next_cfi.c138 uint_fast8_t address_size = e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8;
/external/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h84 return e_ident[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS32; in Is32Bit()
93 return e_ident[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS64; in Is64Bit()
/external/libunwind/src/coredump/
D_UCD_create.c114 if (elf_header32.e_ident[EI_CLASS] != ELFCLASS32 in _UCD_create()
115 && elf_header32.e_ident[EI_CLASS] != ELFCLASS64) in _UCD_create()
127 _64bits = (elf_header32.e_ident[EI_CLASS] == ELFCLASS64); in _UCD_create()
/external/elfutils/src/libelf/
Delf_begin.c90 bool is32 = e_ident[EI_CLASS] == ELFCLASS32; in get_shnum()
252 if (unlikely ((e_ident[EI_CLASS] != ELFCLASS32 in file_read_elf()
253 && e_ident[EI_CLASS] != ELFCLASS64) in file_read_elf()
270 if (e_ident[EI_CLASS] == ELFCLASS32) in file_read_elf()
298 elf->class = e_ident[EI_CLASS]; in file_read_elf()
300 if (e_ident[EI_CLASS] == ELFCLASS32) in file_read_elf()
570 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32 in read_unmmaped_file()
Delf-knowledge.h102 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
Dcommon.h53 int eclass = (int) ((unsigned char *) buf)[EI_CLASS]; in determine_kind()
/external/libunwind/src/
Delfxx.h93 && e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE in elf_w()
111 return e_ident[EI_CLASS] == ELF_CLASS && e_ident[EI_VERSION] != EV_NONE in elf_w()
/external/valgrind/coregrind/
Dlauncher-linux.c202 if (n_bytes >= sizeof(Elf32_Ehdr) && header[EI_CLASS] == ELFCLASS32) { in select_platform()
238 } else if (n_bytes >= sizeof(Elf64_Ehdr) && header[EI_CLASS] == ELFCLASS64) { in select_platform()
/external/llvm/include/llvm/Support/
DELF.h54 EI_CLASS = 4, // File class. enumerator
81 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
105 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
/external/elfutils/src/libasm/
Dasm_begin.c103 ehdr->e_ident[EI_CLASS] = class; in prepare_binary_output()
/external/ltrace/
Dltrace-elf.c397 && (lte->ehdr.e_ident[EI_CLASS] != LT_ELFCLASS in ltelf_init()
401 && (lte->ehdr.e_ident[EI_CLASS] != LT_ELFCLASS2 in ltelf_init()
405 && (lte->ehdr.e_ident[EI_CLASS] != LT_ELFCLASS3 in ltelf_init()
483 if (lte->ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in rel_to_rela()
1148 proc->e_class = lte.ehdr.e_ident[EI_CLASS]; in read_module()
/external/libvpx/libvpx/build/make/
Dobj_int_extract.c249 res &= elf->e_ident[EI_CLASS] == ELFCLASS32 in parse_elf_header()
250 || elf->e_ident[EI_CLASS] == ELFCLASS64; in parse_elf_header()
258 if (elf->e_ident[EI_CLASS] == ELFCLASS32) { in parse_elf_header()
/external/elfutils/src/tests/
Dasm-tst1.c39 [EI_CLASS] = ELFCLASS32,
Dsaridx.c202 ehdr.e_ident[EI_CLASS] == ELFCLASS32 in main()
Dasm-tst2.c39 [EI_CLASS] = ELFCLASS32,
/external/icu/icu4c/source/tools/toolutil/
Dpkg_genc.c718 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
724 …*pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above… in getArchitecture()

123