Searched refs:EI_NIDENT (Results 1 – 21 of 21) sorted by relevance
/freebsd/usr.bin/brandelf/ |
H A D | brandelf.c | 143 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 D | readelf.h | 54 #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 D | elf_getident.c | 55 *sz = EI_NIDENT; in elf_getident()
|
H A D | libelf_memory.c | 64 if (sz > EI_NIDENT && LIBELF_IS_ELF(image)) { in _libelf_memory()
|
H A D | libelf_fsize.m4 | 49 define(`IDENT_SIZE', `EI_NIDENT')
|
H A D | libelf_convert.m4 | 626 (P) = (P) + EI_NIDENT; \ 693 (P) = (P) + EI_NIDENT; \
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | ELF.cpp | 76 if (Buffer.size() < ELF::EI_NIDENT) in createLinkGraphFromELFObject()
|
/freebsd/sys/sys/ |
H A D | elf32.h | 56 unsigned char e_ident[EI_NIDENT]; /* File identification. */
|
H A D | elf64.h | 65 unsigned char e_ident[EI_NIDENT]; /* File identification. */
|
H A D | elf_common.h | 137 #define EI_NIDENT 16 /* Size of e_ident array. */ macro
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.h | 57 unsigned char e_ident[llvm::ELF::EI_NIDENT]; ///< ELF file identification.
|
H A D | ELFHeader.cpp | 117 if (data.GetU8(offset, &e_ident, EI_NIDENT) == nullptr) in Parse()
|
H A D | ObjectFileELF.cpp | 382 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 D | ELF.h | 59 EI_NIDENT = 16 // Number of bytes in e_ident. enumerator 63 unsigned char e_ident[EI_NIDENT]; // ELF Identification bytes 89 unsigned char e_ident[EI_NIDENT];
|
/freebsd/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 144 bcopy(src->e_ident, dst->e_ident, EI_NIDENT); in ehdr_to_gelf()
|
/freebsd/contrib/elftoolchain/common/ |
H A D | elfdefinitions.h | 516 _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 D | ELFTypes.h | 509 unsigned char e_ident[ELF::EI_NIDENT]; // ELF Identification bytes
|
H A D | ELF.h | 80 if (Object.size() < ELF::EI_NIDENT) in getElfArchType()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | ELFObjectWriter.cpp | 299 W.OS.write_zeros(ELF::EI_NIDENT - ELF::EI_PAD); in writeHeader()
|
/freebsd/contrib/elftoolchain/readelf/ |
H A D | readelf.c | 2270 for (i = 0; i < EI_NIDENT; i++) in dump_ehdr()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ELFDumper.cpp | 3566 for (int i = 0; i < ELF::EI_NIDENT; i++) in printFileHeaders()
|