/freebsd-9.3-release/usr.bin/brandelf/ |
H A D | brandelf.c | 117 char buffer[EI_NIDENT]; 124 if (read(fd, buffer, EI_NIDENT) < EI_NIDENT) { 149 if (write(fd, buffer, EI_NIDENT) != EI_NIDENT) {
|
/freebsd-9.3-release/lib/libelf/ |
H A D | elf_getident.c | 56 *sz = EI_NIDENT;
|
H A D | elf_memory.c | 63 if (sz > EI_NIDENT && LIBELF_IS_ELF(image)) {
|
H A D | libelf_fsize.m4 | 48 define(`IDENT_SIZE', `EI_NIDENT')
|
H A D | libelf_convert.m4 | 134 (P) = (P) + EI_NIDENT; \ 197 (P) = (P) + EI_NIDENT; \
|
/freebsd-9.3-release/contrib/binutils/include/elf/ |
H A D | internal.h | 42 #define EI_NIDENT 16 /* Size of e_ident[] */ macro 45 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */
|
/freebsd-9.3-release/contrib/file/src/ |
H A D | readelf.h | 54 #define EI_NIDENT 16 macro 57 Elf32_Char e_ident[EI_NIDENT]; 74 Elf64_Char e_ident[EI_NIDENT];
|
/freebsd-9.3-release/sys/xen/interface/ |
H A D | elfstructs.h | 64 #define EI_NIDENT 16 /* Size of e_ident[] */ macro 111 unsigned char e_ident[EI_NIDENT]; /* ELF Identification */ 129 unsigned char e_ident[EI_NIDENT]; /* Id bytes */
|
/freebsd-9.3-release/sys/contrib/ia64/libuwx/src/ |
H A D | uwx_symbols.c | 544 char ident[EI_NIDENT]; 551 if (fread((char *)header.ident, EI_NIDENT, 1, ef->fd) != 1) { 580 if (fread((char *)&header.hdr32 + EI_NIDENT, 581 sizeof(header.hdr32) - EI_NIDENT, 1, ef->fd) != 1) 585 elf_swap_bytes((char *)&header + EI_NIDENT, template_elf32_ehdr); 598 if (fread((char *)&header.hdr64 + EI_NIDENT, 599 sizeof(header.hdr64) - EI_NIDENT, 1, ef->fd) != 1) 603 elf_swap_bytes((char *)&header + EI_NIDENT, template_elf64_ehdr);
|
/freebsd-9.3-release/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 | 76 #define EI_NIDENT 16 /* Size of e_ident array. */ macro
|
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | ELF.h | 60 EI_NIDENT = 16 // Number of bytes in e_ident. enumerator in enum:llvm::ELF::__anon1960 64 unsigned char e_ident[EI_NIDENT]; // ELF Identification bytes 88 unsigned char e_ident[EI_NIDENT];
|
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libctf/common/ |
H A D | ctf_lib.c | 143 bcopy(src->e_ident, dst->e_ident, EI_NIDENT);
|
/freebsd-9.3-release/contrib/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 410 unsigned char e_ident[ELF::EI_NIDENT]; // ELF Identification bytes
|
H A D | ELF.h | 44 if (Object->getBufferSize() < ELF::EI_NIDENT)
|
/freebsd-9.3-release/contrib/binutils/bfd/ |
H A D | elfcode.h | 235 memcpy (dst->e_ident, src->e_ident, EI_NIDENT); 264 memcpy (dst->e_ident, src->e_ident, EI_NIDENT);
|
/freebsd-9.3-release/contrib/binutils/binutils/ |
H A D | readelf.c | 3190 for (i = 0; i < EI_NIDENT; i++) 9396 if (fread (elf_header.e_ident, EI_NIDENT, 1, file) != 1) 9422 if (fread (ehdr32.e_type, sizeof (ehdr32) - EI_NIDENT, 1, file) != 1) 9454 if (fread (ehdr64.e_type, sizeof (ehdr64) - EI_NIDENT, 1, file) != 1)
|
/freebsd-9.3-release/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.cpp | 182 if (Buffer->getBufferSize() < ELF::EI_NIDENT)
|
/freebsd-9.3-release/contrib/llvm/lib/MC/ |
H A D | ELFObjectWriter.cpp | 397 WriteZeros(ELF::EI_NIDENT - ELF::EI_PAD);
|