Home
last modified time | relevance | path

Searched refs:EI_NIDENT (Results 1 – 21 of 21) sorted by relevance

/freebsd/usr.bin/brandelf/
H A Dbrandelf.c143 char buffer[EI_NIDENT]; in main()
150 if (read(fd, buffer, EI_NIDENT) < EI_NIDENT) { in main()
175 if (write(fd, buffer, EI_NIDENT) != EI_NIDENT) { in main()
/freebsd/contrib/file/src/
H A Dreadelf.h54 #define EI_NIDENT 16 macro
93 Elf32_Char e_ident[EI_NIDENT];
110 Elf64_Char e_ident[EI_NIDENT];
/freebsd/contrib/elftoolchain/libelf/
H A Delf_getident.c55 *sz = EI_NIDENT; in elf_getident()
H A Dlibelf_memory.c64 if (sz > EI_NIDENT && LIBELF_IS_ELF(image)) { in _libelf_memory()
H A Dlibelf_fsize.m449 define(`IDENT_SIZE', `EI_NIDENT')
H A Dlibelf_convert.m4626 (P) = (P) + EI_NIDENT; \
693 (P) = (P) + EI_NIDENT; \
/freebsd/sys/sys/
H A Delf32.h56 unsigned char e_ident[EI_NIDENT]; /* File identification. */
H A Delf64.h65 unsigned char e_ident[EI_NIDENT]; /* File identification. */
H A Delf_common.h137 #define EI_NIDENT 16 /* Size of e_ident array. */ macro
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DELF.cpp76 if (Buffer.size() < ELF::EI_NIDENT) in createLinkGraphFromELFObject()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h57 unsigned char e_ident[llvm::ELF::EI_NIDENT]; ///< ELF file identification.
H A DELFHeader.cpp117 if (data.GetU8(offset, &e_ident, EI_NIDENT) == nullptr) in Parse()
H A DObjectFileELF.cpp382 if (data_sp->GetByteSize() <= (llvm::ELF::EI_NIDENT + data_offset)) in CreateInstance()
422 if (data_sp && data_sp->GetByteSize() > (llvm::ELF::EI_NIDENT)) { in CreateMemoryInstance()
442 data_sp->GetByteSize() > (llvm::ELF::EI_NIDENT + data_offset)) { in MagicBytesMatch()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DELF.h58 EI_NIDENT = 16 // Number of bytes in e_ident. enumerator
62 unsigned char e_ident[EI_NIDENT]; // ELF Identification bytes
88 unsigned char e_ident[EI_NIDENT];
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c144 bcopy(src->e_ident, dst->e_ident, EI_NIDENT); in ehdr_to_gelf()
/freebsd/contrib/elftoolchain/common/
H A Delfdefinitions.h516 _ELF_DEFINE_EI(EI_NIDENT, 16, "total size")
2402 unsigned char e_ident[EI_NIDENT]; /* ELF identification. */
2421 unsigned char e_ident[EI_NIDENT]; /* ELF identification. */
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFTypes.h483 unsigned char e_ident[ELF::EI_NIDENT]; // ELF Identification bytes
H A DELF.h78 if (Object.size() < ELF::EI_NIDENT) in getElfArchType()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DELFObjectWriter.cpp431 W.OS.write_zeros(ELF::EI_NIDENT - ELF::EI_PAD); in writeHeader()
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c2270 for (i = 0; i < EI_NIDENT; i++) in dump_ehdr()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DELFDumper.cpp3590 for (int i = 0; i < ELF::EI_NIDENT; i++) in printFileHeaders()