| /freebsd-13-stable/lib/libkvm/ |
| HD | kvm_minidump_mips.c | 65 if (kd->nlehdr.e_ident[EI_CLASS] != ELFCLASS32 && in _mips_minidump_probe() 66 kd->nlehdr.e_ident[EI_CLASS] != ELFCLASS64) in _mips_minidump_probe() 96 if (kd->nlehdr.e_ident[EI_CLASS] == ELFCLASS64 || in _mips_minidump_initvtop() 171 if (kd->nlehdr.e_ident[EI_CLASS] == ELFCLASS64) { in _mips_minidump_kvatop() 250 if (kd->nlehdr.e_ident[EI_CLASS] != ELFCLASS64) in _mips_native() 253 if (kd->nlehdr.e_ident[EI_CLASS] != ELFCLASS32) in _mips_native() 342 if (kd->nlehdr.e_ident[EI_CLASS] == ELFCLASS64) { in _mips_minidump_walk_pages()
|
| HD | kvm_powerpc.c | 59 if (eh->e_ident[EI_CLASS] != ELFCLASS32) in valid_elf_header()
|
| HD | kvm_powerpc64.c | 59 if (eh->e_ident[EI_CLASS] != ELFCLASS64) in valid_elf_header()
|
| HD | kvm_private.c | 132 return (kd->nlehdr.e_ident[EI_CLASS] == class && in _kvm_probe_elf_kernel() 176 if (gelf_getclass(elf) != kd->nlehdr.e_ident[EI_CLASS]) { in _kvm_read_core_phdrs()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| HD | ELF.cpp | 39 if (Data[ELF::EI_CLASS] == ELF::ELFCLASS64) { in readTargetMachineArch() 45 } else if (Data[ELF::EI_CLASS] == ELF::ELFCLASS32) { in readTargetMachineArch() 55 if (Data[ELF::EI_CLASS] == ELF::ELFCLASS64) { in readTargetMachineArch() 61 } else if (Data[ELF::EI_CLASS] == ELF::ELFCLASS32) { in readTargetMachineArch()
|
| /freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| HD | util.c | 107 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) in elf_ptrsz() 109 else if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) in elf_ptrsz() 112 terminate("unknown ELF class %d\n", ehdr.e_ident[EI_CLASS]); in elf_ptrsz()
|
| /freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
| HD | ELFHeader.h | 86 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()
|
| HD | ELFHeader.cpp | 164 switch (magic[EI_CLASS]) { in AddressSizeInBytes()
|
| /freebsd-13-stable/contrib/elftoolchain/libelf/ |
| HD | libelf_memory.c | 66 e_class = image[EI_CLASS]; in _libelf_memory()
|
| HD | libelf_ehdr.c | 97 eh->e_ident[EI_CLASS] = ELFCLASS##SZ; \
|
| HD | elf_update.c | 538 eh_class = eh32->e_ident[EI_CLASS]; in _libelf_resync_elf() 544 eh_class = eh64->e_ident[EI_CLASS]; in _libelf_resync_elf() 584 (E)->e_ident[EI_CLASS] = (unsigned char) (EC); \ in _libelf_resync_elf()
|
| /freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/ |
| HD | ctf_lib.c | 295 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS64) { in ctf_fdopen() 308 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) { in ctf_fdopen() 343 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) { in ctf_fdopen()
|
| /freebsd-13-stable/usr.bin/elfdump/ |
| HD | elfdump.c | 97 offsetof(Elf32_Ehdr, e_ident[EI_CLASS]), 138 offsetof(Elf32_Ehdr, e_ident[EI_CLASS]), 1106 switch (e->e_ident[EI_CLASS]) { in elf_get_byte() 1126 switch (e->e_ident[EI_CLASS]) { in elf_get_quarter() 1167 switch (e->e_ident[EI_CLASS]) { 1208 switch (e->e_ident[EI_CLASS]) { in elf_get_word() 1248 switch (e->e_ident[EI_CLASS]) { in elf_get_quad()
|
| /freebsd-13-stable/usr.sbin/kldxref/ |
| HD | elf.c | 57 if (hdr->e_ident[EI_CLASS] == (*erd)->class && in elf_find_reloc() 145 if (efile->ef_hdr.e_ident[EI_CLASS] != hdr->e_ident[EI_CLASS] || in elf_compatible()
|
| HD | ef.h | 104 #define elf_class(ef) ((ef)->ef_hdr.e_ident[EI_CLASS])
|
| /freebsd-13-stable/sys/compat/linux/ |
| HD | linux_vdso.c | 112 MPASS(ehdr->e_ident[EI_CLASS] == ELF_TARG_CLASS); in __elfN()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| HD | ELF.h | 53 EI_CLASS = 4, // File class. enumerator 82 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass() 108 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
|
| /freebsd-13-stable/lib/libc/gen/ |
| HD | nlist.c | 110 ehdr->e_ident[EI_CLASS] == ELF_TARG_CLASS && in __elf_is_okay__()
|
| /freebsd-13-stable/lib/libproc/ |
| HD | proc_create.c | 66 class = ehdr.e_ident[EI_CLASS]; in getelfclass()
|
| /freebsd-13-stable/contrib/elftoolchain/elfcopy/ |
| HD | binary.c | 180 oeh.e_ident[EI_CLASS] = ecp->oec; in create_elf_from_binary()
|
| /freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/ |
| HD | DynamicLoaderFreeBSDKernel.cpp | 280 if (elf_eheader.e_ident[llvm::ELF::EI_CLASS] == llvm::ELF::ELFCLASS32) { in ReadMemoryModule() 283 } else if (elf_eheader.e_ident[llvm::ELF::EI_CLASS] == in ReadMemoryModule()
|
| /freebsd-13-stable/contrib/file/src/ |
| HD | readelf.h | 161 #define EI_CLASS 4 macro
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Object/ |
| HD | ELFObjectFile.h | 1284 switch (EF.getHeader().e_ident[ELF::EI_CLASS]) { in getFileFormatName() 1381 switch (EF.getHeader().e_ident[ELF::EI_CLASS]) { in getArch() 1396 switch (EF.getHeader().e_ident[ELF::EI_CLASS]) { in getArch() 1429 if (EF.getHeader().e_ident[ELF::EI_CLASS] == ELF::ELFCLASS32) in getArch() 1443 switch (EF.getHeader().e_ident[ELF::EI_CLASS]) { in getArch()
|
| /freebsd-13-stable/contrib/elftoolchain/size/ |
| HD | size.c | 277 if (elfhdr->e_ident[EI_CLASS] == ELFCLASS32) { \ 340 if (elfhdr->e_ident[EI_CLASS] == ELFCLASS32) { in handle_core_note()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| HD | AMDGPULibFunc.h | 234 EI_CLASS, enumerator
|