Home
last modified time | relevance | path

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

12

/dragonfly/usr.bin/brandelf/
H A Dbrandelf.c116 char buffer[EI_NIDENT]; in main()
123 if (read(fd, buffer, EI_NIDENT) < EI_NIDENT) { in main()
148 if (write(fd, buffer, EI_NIDENT) != EI_NIDENT) { in main()
/dragonfly/contrib/binutils-2.27/binutils/
H A Delfedit.c212 if (fread (elf_header.e_ident, EI_NIDENT, 1, file) != 1) in get_file_header()
240 if (fread (ehdr32.e_type, sizeof (ehdr32) - EI_NIDENT, in get_file_header()
258 memcpy (&ehdr32, &elf_header, EI_NIDENT); in get_file_header()
273 if (fread (ehdr64.e_type, sizeof (ehdr64) - EI_NIDENT, in get_file_header()
291 memcpy (&ehdr64, &elf_header, EI_NIDENT); in get_file_header()
/dragonfly/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];
/dragonfly/contrib/binutils-2.34/gold/
H A Dtarget.cc232 unsigned char e_ident[elfcpp::EI_NIDENT]; in do_adjust_elf_header()
233 memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT); in do_adjust_elf_header()
H A Dbinary.cc276 unsigned char e_ident[elfcpp::EI_NIDENT]; in write_file_header()
277 memset(e_ident, 0, elfcpp::EI_NIDENT); in write_file_header()
/dragonfly/contrib/binutils-2.27/gold/
H A Dtarget.cc232 unsigned char e_ident[elfcpp::EI_NIDENT]; in do_adjust_elf_header()
233 memcpy(e_ident, ehdr.get_e_ident(), elfcpp::EI_NIDENT); in do_adjust_elf_header()
H A Dbinary.cc276 unsigned char e_ident[elfcpp::EI_NIDENT]; in write_file_header()
277 memset(e_ident, 0, elfcpp::EI_NIDENT); in write_file_header()
/dragonfly/contrib/binutils-2.34/binutils/
H A Delfedit.c416 if (fread (elf_header.e_ident, EI_NIDENT, 1, file) != 1) in get_file_header()
448 if (fread (ehdr32.e_type, sizeof (ehdr32) - EI_NIDENT, in get_file_header()
466 memcpy (&ehdr32, &elf_header, EI_NIDENT); in get_file_header()
481 if (fread (ehdr64.e_type, sizeof (ehdr64) - EI_NIDENT, in get_file_header()
499 memcpy (&ehdr64, &elf_header, EI_NIDENT); in get_file_header()
/dragonfly/contrib/gdb-7/include/elf/
H A Dinternal.h66 #define EI_NIDENT 16 /* Size of e_ident[] */ macro
69 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */
/dragonfly/contrib/binutils-2.34/include/elf/
H A Dinternal.h65 #define EI_NIDENT 16 /* Size of e_ident[] */ macro
68 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */
/dragonfly/contrib/binutils-2.27/include/elf/
H A Dinternal.h65 #define EI_NIDENT 16 /* Size of e_ident[] */ macro
68 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */
/dragonfly/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')
/dragonfly/sys/sys/
H A Delf32.h56 unsigned char e_ident[EI_NIDENT]; /* File identification. */
H A Delf64.h71 unsigned char e_ident[EI_NIDENT]; /* File identification. */
H A Delf_common.h66 #define EI_NIDENT 16 /* Size of e_ident array. */ macro
/dragonfly/contrib/binutils-2.34/elfcpp/
H A Delfcpp_internal.h49 unsigned char e_ident[EI_NIDENT];
H A Delfcpp.h90 const int EI_NIDENT = 16;
1145 put_e_ident(const unsigned char v[EI_NIDENT]) const
1146 { memcpy(this->p_->e_ident, v, EI_NIDENT); }
H A Delfcpp_file.h333 if (bufsize < elfcpp::EI_NIDENT) in is_valid_header()
/dragonfly/contrib/binutils-2.27/elfcpp/
H A Delfcpp_internal.h49 unsigned char e_ident[EI_NIDENT];
H A Delfcpp.h90 const int EI_NIDENT = 16;
1119 put_e_ident(const unsigned char v[EI_NIDENT]) const
1120 { memcpy(this->p_->e_ident, v, EI_NIDENT); }
/dragonfly/lib/libexecinfo/
H A Dprivate_libelf.h133 _ELF_DEFINE_EI(EI_NIDENT, 16, "total size")
445 unsigned char e_ident[EI_NIDENT]; /* ELF identification. */
967 [ELF_T_EHDR] = { .fsz64 = EI_NIDENT
1375 (P) = (P) + EI_NIDENT; \
2741 if (sz > EI_NIDENT && LIBELF_IS_ELF(image)) { in _libelf_memory()
/dragonfly/contrib/elftoolchain/common/
H A Delfdefinitions.h462 _ELF_DEFINE_EI(EI_NIDENT, 16, "total size")
2147 unsigned char e_ident[EI_NIDENT]; /* ELF identification. */
2166 unsigned char e_ident[EI_NIDENT]; /* ELF identification. */
/dragonfly/contrib/gcc-8.0/libbacktrace/
H A Delf.c150 #undef EI_NIDENT
209 #define EI_NIDENT 16 macro
212 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */

12