Home
last modified time | relevance | path

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

1234

/external/minijail/
Delfparse.c78 (pHeader[EI_CLASS] == ELFCLASS64)) { in get_elf_linkage()
82 (pHeader[EI_CLASS] == ELFCLASS64)) { in get_elf_linkage()
86 (pHeader[EI_CLASS] == ELFCLASS32)) { in get_elf_linkage()
90 (pHeader[EI_CLASS] == ELFCLASS32)) { in get_elf_linkage()
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DELF.cpp35 if (Data[ELF::EI_CLASS] == ELF::ELFCLASS64) { in readTargetMachineArch()
41 } else if (Data[ELF::EI_CLASS] == ELF::ELFCLASS32) { in readTargetMachineArch()
/external/elfutils/libdwfl/
Dlinux-proc-maps.c71 unsigned char buf[EI_CLASS + 1]; in get_pid_class()
77 || (buf[EI_CLASS] != ELFCLASS64 && buf[EI_CLASS] != ELFCLASS32)) in get_pid_class()
80 return buf[EI_CLASS]; in get_pid_class()
Delf-from-memory.c127 switch (buffer[EI_CLASS]) in elf_from_remote_memory()
200 bool class32 = ehdr.e32.e_ident[EI_CLASS] == ELFCLASS32; in elf_from_remote_memory()
Dlink_map.c652 size_t buffer_available = addrsize (ehdr.e_ident[EI_CLASS]); in consider_executable()
668 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in consider_executable()
679 *elfclass = ehdr.e_ident[EI_CLASS]; in consider_executable()
680 else if (*elfclass != ehdr.e_ident[EI_CLASS]) in consider_executable()
/external/google-breakpad/src/common/linux/
Delfutils.cc58 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSection()
91 assert(elf_header->e_ident[EI_CLASS] == ElfClass::kClass); in FindElfClassSegment()
117 return elf_header->e_ident[EI_CLASS]; in ElfClass()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Delf.c45 TEST_ASSERT(ident[EI_CLASS] == ELFCLASS64, in elfhdr_get()
51 ident[EI_CLASS], ELFCLASS64); in elfhdr_get()
/external/elfutils/libdw/
Dencoded-value.h57 return e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in encoded_value_size()
80 width = width ?: cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in __libdw_cfi_read_address_inc()
Ddwarf_frame_cfa.c62 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4, in dwarf_frame_cfa()
Ddwarf_frame_register.c96 unsigned int address_size = (fs->cache->e_ident[EI_CLASS] == ELFCLASS32 in dwarf_frame_register()
Ddwarf_next_lines.c173 address_size = ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in dwarf_next_lines()
Dcie.c125 = cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in intern_new_cie()
/external/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
DELFHeader.h86 return e_ident[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS32; in Is32Bit()
94 return e_ident[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS64; in Is64Bit()
/external/elfutils/libelf/
Delf_begin.c89 bool is32 = e_ident[EI_CLASS] == ELFCLASS32; in get_shnum()
282 if (unlikely ((e_ident[EI_CLASS] != ELFCLASS32 in file_read_elf()
283 && e_ident[EI_CLASS] != ELFCLASS64) in file_read_elf()
302 if (e_ident[EI_CLASS] == ELFCLASS32) in file_read_elf()
336 elf->class = e_ident[EI_CLASS]; in file_read_elf()
338 if (e_ident[EI_CLASS] == ELFCLASS32) in file_read_elf()
620 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32 in read_unmmaped_file()
Delf-knowledge.h78 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
Dcommon.h53 int eclass = (int) ((unsigned char *) buf)[EI_CLASS]; in determine_kind()
/external/perfetto/src/profiling/symbolizer/
Dlocal_symbolizer.cc136 constexpr auto EI_CLASS = 4; variable
357 static_assert(EI_CLASS > EI_MAG3, "mem[EI_MAG?] accesses are in range."); in GetBuildIdAndLoadBias()
358 if (size <= EI_CLASS) in GetBuildIdAndLoadBias()
372 switch (mem[EI_CLASS]) { in GetBuildIdAndLoadBias()
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dfile-header-format.test3 ## The "Format" value printed depends on values stored in e_ident[EI_CLASS],
/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/swiftshader/third_party/llvm-subzero/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/libasm/
Dasm_begin.c103 ehdr->e_ident[EI_CLASS] = class; in prepare_binary_output()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DELF.h51 EI_CLASS = 4, // File class. enumerator
80 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
106 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DELF.h51 EI_CLASS = 4, // File class. enumerator
80 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
106 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
/external/elfutils/tests/
Dasm-tst1.c40 [EI_CLASS] = ELFCLASS32,
Dsaridx.c202 ehdr.e_ident[EI_CLASS] == ELFCLASS32 in main()

1234