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

123

/freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF.cpp42 if (Data.data()[llvm::ELF::EI_CLASS] == ELF::ELFCLASS64) {
/freebsd-13-stable/lib/libkvm/
H A Dkvm_minidump_mips.c67 if (kd->nlehdr.e_ident[EI_CLASS] != ELFCLASS32 &&
68 kd->nlehdr.e_ident[EI_CLASS] != ELFCLASS64)
98 if (kd->nlehdr.e_ident[EI_CLASS] == ELFCLASS64 ||
173 if (kd->nlehdr.e_ident[EI_CLASS] == ELFCLASS64) {
252 if (kd->nlehdr.e_ident[EI_CLASS] != ELFCLASS64)
255 if (kd->nlehdr.e_ident[EI_CLASS] != ELFCLASS32)
344 if (kd->nlehdr.e_ident[EI_CLASS] == ELFCLASS64) {
H A Dkvm_powerpc.c61 if (eh->e_ident[EI_CLASS] != ELFCLASS32)
H A Dkvm_powerpc64.c61 if (eh->e_ident[EI_CLASS] != ELFCLASS64)
H A Dkvm_private.c134 return (kd->nlehdr.e_ident[EI_CLASS] == class &&
178 if (gelf_getclass(elf) != kd->nlehdr.e_ident[EI_CLASS]) {
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dutil.c107 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32)
109 else if (ehdr.e_ident[EI_CLASS] == ELFCLASS64)
112 terminate("unknown ELF class %d\n", ehdr.e_ident[EI_CLASS]);
/freebsd-13-stable/contrib/elftoolchain/libelf/
H A Dlibelf_memory.c66 e_class = image[EI_CLASS];
H A Dlibelf_ehdr.c97 eh->e_ident[EI_CLASS] = ELFCLASS##SZ; \
H A Delf_update.c538 eh_class = eh32->e_ident[EI_CLASS];
544 eh_class = eh64->e_ident[EI_CLASS];
584 (E)->e_ident[EI_CLASS] = (unsigned char) (EC); \
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h86 return e_ident[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS32;
94 return e_ident[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS64;
H A DELFHeader.cpp164 switch (magic[EI_CLASS]) {
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c294 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS64) {
307 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) {
342 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) {
/freebsd-13-stable/usr.bin/elfdump/
H A Delfdump.c99 offsetof(Elf32_Ehdr, e_ident[EI_CLASS]),
140 offsetof(Elf32_Ehdr, e_ident[EI_CLASS]),
1103 switch (e->e_ident[EI_CLASS]) {
1123 switch (e->e_ident[EI_CLASS]) {
1164 switch (e->e_ident[EI_CLASS]) {
1205 switch (e->e_ident[EI_CLASS]) {
1245 switch (e->e_ident[EI_CLASS]) {
/freebsd-13-stable/lib/libc/gen/
H A Dnlist.c112 ehdr->e_ident[EI_CLASS] == ELF_TARG_CLASS &&
/freebsd-13-stable/lib/libproc/
H A Dproc_create.c68 class = ehdr.e_ident[EI_CLASS];
/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Dbinary.c180 oeh.e_ident[EI_CLASS] = ecp->oec;
/freebsd-13-stable/sys/compat/linux/
H A Dlinux_vdso.c116 ehdr->e_ident[EI_CLASS] != ELF_TARG_CLASS ||
/freebsd-13-stable/contrib/file/src/
H A Dreadelf.h161 #define EI_CLASS 4 macro
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h232 EI_CLASS, enumerator in enum:llvm::AMDGPULibFuncBase::EFuncId
/freebsd-13-stable/sys/kern/
H A Dkern_dump.c303 ehdr.e_ident[EI_CLASS] = ELF_CLASS;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h51 EI_CLASS = 4, // File class. enumerator in enum:llvm::ELF::__anon3063
80 unsigned char getFileClass() const { return e_ident[EI_CLASS]; }
106 unsigned char getFileClass() const { return e_ident[EI_CLASS]; }
/freebsd-13-stable/lib/libpmcstat/
H A Dlibpmcstat_image.c379 image_type = eh.e_ident[EI_CLASS] == ELFCLASS32 ?
/freebsd-13-stable/libexec/rtld-elf/
H A Dmap_object.c372 if (hdr->e_ident[EI_CLASS] != ELF_TARG_CLASS ||
/freebsd-13-stable/usr.sbin/crunch/crunchide/
H A Dexec_elf32.c175 if (IS_ELF(eh) == 0 || eh.e_ident[EI_CLASS] != ELFCLASS)
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
H A Dsysinfo.c730 if (map_start[EI_CLASS] == ELFCLASS32)
735 else if (map_start[EI_CLASS] == ELFCLASS64)

Completed in 247 milliseconds

123