/dragonfly/usr.bin/brandelf/ |
H A D | brandelf.c | 116 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 D | elfedit.c | 212 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 D | readelf.h | 54 #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 D | target.cc | 232 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 D | binary.cc | 276 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 D | target.cc | 232 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 D | binary.cc | 276 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 D | elfedit.c | 416 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 D | internal.h | 66 #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 D | internal.h | 65 #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 D | internal.h | 65 #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 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')
|
/dragonfly/sys/sys/ |
H A D | elf32.h | 56 unsigned char e_ident[EI_NIDENT]; /* File identification. */
|
H A D | elf64.h | 71 unsigned char e_ident[EI_NIDENT]; /* File identification. */
|
H A D | elf_common.h | 66 #define EI_NIDENT 16 /* Size of e_ident array. */ macro
|
/dragonfly/contrib/binutils-2.34/elfcpp/ |
H A D | elfcpp_internal.h | 49 unsigned char e_ident[EI_NIDENT];
|
H A D | elfcpp.h | 90 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 D | elfcpp_file.h | 333 if (bufsize < elfcpp::EI_NIDENT) in is_valid_header()
|
/dragonfly/contrib/binutils-2.27/elfcpp/ |
H A D | elfcpp_internal.h | 49 unsigned char e_ident[EI_NIDENT];
|
H A D | elfcpp.h | 90 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 D | private_libelf.h | 133 _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 D | elfdefinitions.h | 462 _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 D | elf.c | 150 #undef EI_NIDENT 209 #define EI_NIDENT 16 macro 212 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */
|