Searched refs:EI_NIDENT (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/usr.bin/brandelf/
H A Dbrandelf.c117 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 Delf_getident.c56 *sz = EI_NIDENT;
H A Delf_memory.c63 if (sz > EI_NIDENT && LIBELF_IS_ELF(image)) {
H A Dlibelf_fsize.m448 define(`IDENT_SIZE', `EI_NIDENT')
H A Dlibelf_convert.m4134 (P) = (P) + EI_NIDENT; \
197 (P) = (P) + EI_NIDENT; \
/freebsd-9.3-release/contrib/binutils/include/elf/
H A Dinternal.h42 #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 Dreadelf.h54 #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 Delfstructs.h64 #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 Duwx_symbols.c544 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 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.h76 #define EI_NIDENT 16 /* Size of e_ident array. */ macro
/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DELF.h60 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 Dctf_lib.c143 bcopy(src->e_ident, dst->e_ident, EI_NIDENT);
/freebsd-9.3-release/contrib/llvm/include/llvm/Object/
H A DELFTypes.h410 unsigned char e_ident[ELF::EI_NIDENT]; // ELF Identification bytes
H A DELF.h44 if (Object->getBufferSize() < ELF::EI_NIDENT)
/freebsd-9.3-release/contrib/binutils/bfd/
H A Delfcode.h235 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 Dreadelf.c3190 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 DRuntimeDyldELF.cpp182 if (Buffer->getBufferSize() < ELF::EI_NIDENT)
/freebsd-9.3-release/contrib/llvm/lib/MC/
H A DELFObjectWriter.cpp397 WriteZeros(ELF::EI_NIDENT - ELF::EI_PAD);

Completed in 259 milliseconds