Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF.cpp39 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/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dutil.c107 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/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A 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()
H A DELFHeader.cpp164 switch (magic[EI_CLASS]) { in AddressSizeInBytes()
/freebsd/contrib/elftoolchain/libelf/
H A Dlibelf_memory.c66 e_class = image[EI_CLASS]; in _libelf_memory()
H A Dlibelf_ehdr.c97 eh->e_ident[EI_CLASS] = ELFCLASS##SZ; \
H A Delf_update.c538 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/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c295 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/usr.bin/elfdump/
H A Delfdump.c96 offsetof(Elf32_Ehdr, e_ident[EI_CLASS]),
137 offsetof(Elf32_Ehdr, e_ident[EI_CLASS]),
1105 switch (e->e_ident[EI_CLASS]) { in elf_get_byte()
1125 switch (e->e_ident[EI_CLASS]) { in elf_get_quarter()
1166 switch (e->e_ident[EI_CLASS]) {
1207 switch (e->e_ident[EI_CLASS]) { in elf_get_word()
1247 switch (e->e_ident[EI_CLASS]) { in elf_get_quad()
/freebsd/usr.sbin/kldxref/
H A Delf.c57 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()
H A Def.h104 #define elf_class(ef) ((ef)->ef_hdr.e_ident[EI_CLASS])
/freebsd/sys/compat/linux/
H A Dlinux_vdso.c113 MPASS(ehdr->e_ident[EI_CLASS] == ELF_TARG_CLASS); in __elfN()
/freebsd/lib/libkvm/
H A Dkvm_powerpc.c58 if (eh->e_ident[EI_CLASS] != ELFCLASS32) in valid_elf_header()
H A Dkvm_powerpc64.c58 if (eh->e_ident[EI_CLASS] != ELFCLASS64) in valid_elf_header()
H A Dkvm_private.c131 return (kd->nlehdr.e_ident[EI_CLASS] == class && in _kvm_probe_elf_kernel()
175 if (gelf_getclass(elf) != kd->nlehdr.e_ident[EI_CLASS]) { in _kvm_read_core_phdrs()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h52 EI_CLASS = 4, // File class. enumerator
81 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
107 unsigned char getFileClass() const { return e_ident[EI_CLASS]; } in getFileClass()
/freebsd/lib/libproc/
H A Dproc_create.c65 class = ehdr.e_ident[EI_CLASS]; in getelfclass()
/freebsd/lib/libc/gen/
H A Dnlist.c108 ehdr->e_ident[EI_CLASS] == ELF_TARG_CLASS && in __elf_is_okay__()
/freebsd/contrib/elftoolchain/elfcopy/
H A Dbinary.c180 oeh.e_ident[EI_CLASS] = ecp->oec; in create_elf_from_binary()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h1210 switch (EF.getHeader().e_ident[ELF::EI_CLASS]) { in getFileFormatName()
1307 switch (EF.getHeader().e_ident[ELF::EI_CLASS]) { in getArch()
1322 switch (EF.getHeader().e_ident[ELF::EI_CLASS]) { in getArch()
1355 if (EF.getHeader().e_ident[ELF::EI_CLASS] == ELF::ELFCLASS32) in getArch()
1369 switch (EF.getHeader().e_ident[ELF::EI_CLASS]) { in getArch()
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/
H A DDynamicLoaderFreeBSDKernel.cpp280 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/contrib/file/src/
H A Dreadelf.h161 #define EI_CLASS 4 macro
/freebsd/sys/x86/xen/
H A Dpv.c280 ehdr->e_ident[EI_CLASS] != ELF_TARG_CLASS || in xen_pvh_parse_symtab()
/freebsd/contrib/elftoolchain/size/
H A Dsize.c277 if (elfhdr->e_ident[EI_CLASS] == ELFCLASS32) { \
340 if (elfhdr->e_ident[EI_CLASS] == ELFCLASS32) { in handle_core_note()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.h234 EI_CLASS, enumerator

123