Home
last modified time | relevance | path

Searched refs:EI_CLASS (Results 1 - 25 of 60) sorted by relevance

123

/third_party/elfutils/libdwfl/
H A 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()
H A 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()
H A Dlink_map.c654 size_t buffer_available = addrsize (ehdr.e_ident[EI_CLASS]); in consider_executable()
670 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in consider_executable()
681 *elfclass = ehdr.e_ident[EI_CLASS]; in consider_executable()
682 else if (*elfclass != ehdr.e_ident[EI_CLASS]) in consider_executable()
/third_party/libunwind/libunwind/src/coredump/
H A D_UCD_create.c84 if (elf_header32.e_ident[EI_CLASS] != ELFCLASS32 in _UCD_create()
85 && elf_header32.e_ident[EI_CLASS] != ELFCLASS64) in _UCD_create()
97 _64bits = (elf_header32.e_ident[EI_CLASS] == ELFCLASS64); in _UCD_create()
/third_party/elfio/elfio/
H A Delfio_header.hpp87 header.e_ident[EI_CLASS] = elf_header_impl_types<T>::file_class; in elf_header_impl()
123 ELFIO_GET_ACCESS( unsigned char, class, header.e_ident[EI_CLASS] );
H A Delfio.hpp177 if ( ( e_ident[EI_CLASS] != ELFCLASS64 ) &&
178 ( e_ident[EI_CLASS] != ELFCLASS32 ) ) {
188 header = create_header( e_ident[EI_CLASS], e_ident[EI_DATA] );
/third_party/elfutils/libdw/
H A 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()
H A Ddwarf_frame_cfa.c62 fs->cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8, 4, in dwarf_frame_cfa()
H A Ddwarf_frame_register.c96 unsigned int address_size = (fs->cache->e_ident[EI_CLASS] == ELFCLASS32 in dwarf_frame_register()
H A Dcie.c125 = cache->e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in intern_new_cie()
H A Ddwarf_next_lines.c173 address_size = ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in dwarf_next_lines()
H A Ddwarf_next_cfi.c145 uint_fast8_t address_size = e_ident[EI_CLASS] == ELFCLASS32 ? 4 : 8; in dwarf_next_cfi()
/third_party/elfutils/libelf/
H A Delf-knowledge.h78 && (Ehdr)->e_ident[EI_CLASS] == ELFCLASS64) ? 8 : 4)
H A Delf_begin.c87 bool is32 = e_ident[EI_CLASS] == ELFCLASS32; in get_shnum()
284 if (unlikely ((e_ident[EI_CLASS] != ELFCLASS32 in file_read_elf()
285 && e_ident[EI_CLASS] != ELFCLASS64) in file_read_elf()
304 if (e_ident[EI_CLASS] == ELFCLASS32) in file_read_elf()
338 elf->class = e_ident[EI_CLASS]; in file_read_elf()
340 if (e_ident[EI_CLASS] == ELFCLASS32) in file_read_elf()
626 if ((size_t) nread >= (mem.header[EI_CLASS] == ELFCLASS32 in read_unmmaped_file()
H A Dcommon.h50 int eclass = (int) ((unsigned char *) buf)[EI_CLASS]; in determine_kind()
/third_party/ltp/libs/libltpvdso/
H A Dparse_vdso.c103 if (hdr->e_ident[EI_CLASS] != in vdso_init_from_sysinfo_ehdr()
111 && hdr->e_ident[EI_CLASS] == ELFCLASS64) in vdso_init_from_sysinfo_ehdr()
/third_party/libunwind/libunwind/src/
H A Delfxx.h67 && ((uint8_t *) ei->image)[EI_CLASS] == UNW_ELF_CLASS in valid_object()
/third_party/elfutils/libasm/
H A Dasm_begin.c101 ehdr->e_ident[EI_CLASS] = class; in prepare_binary_output()
/third_party/elfutils/tests/
H A Dsaridx.c202 ehdr.e_ident[EI_CLASS] == ELFCLASS32 in main()
H A Dasm-tst2.c40 [EI_CLASS] = ELFCLASS32,
H A Dasm-tst1.c40 [EI_CLASS] = ELFCLASS32,
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dpkg_genc.cpp882 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
888 *pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above */ in getArchitecture()
/third_party/icu/icu4c/source/tools/toolutil/
H A Dpkg_genc.cpp827 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
833 *pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above */ in getArchitecture()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Dpkg_genc.cpp827 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64 in getArchitecture()
833 *pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above */ in getArchitecture()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A 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()

Completed in 24 milliseconds

123