Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddw_elfstructs.h51 #ifndef EI_NIDENT
52 #define EI_NIDENT 16 macro
61 unsigned char e_ident[EI_NIDENT];
79 unsigned char e_ident[EI_NIDENT];
H A Ddwarf_elfstructs.h59 #ifndef EI_NIDENT
60 #define EI_NIDENT 16 macro
69 unsigned char e_ident[EI_NIDENT];
87 unsigned char e_ident[EI_NIDENT];
H A Ddwarf_elfread.h58 unsigned char ge_ident[EI_NIDENT];
255 #ifndef EI_NIDENT
256 #define EI_NIDENT 16 macro
H A Ddwarf_object_detector.c91 #ifndef EI_NIDENT
92 #define EI_NIDENT 16 macro
147 #define EI_NIDENT 16 macro
150 unsigned char e_ident[EI_NIDENT];
H A Ddwarf_elf_defines.h880 #ifndef EI_NIDENT
881 #define EI_NIDENT 16 macro
H A Ddwarf_elf_load_headers.c288 for (i = 0; i < EI_NIDENT; ++i) { in generic_ehdr_from_32()
321 for (i = 0; i < EI_NIDENT; ++i) { in generic_ehdr_from_64()
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Delf.h4 #define EI_NIDENT 16 /* Size of e_ident array. */ macro
166 unsigned char e_ident[EI_NIDENT]; /* File identification. */
183 unsigned char e_ident[EI_NIDENT]; /* File identification. */
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dbegin.c140 if ((elf->ed_fsz >= EI_NIDENT) && in _elf_config()
141 (_elf_vm(elf, (size_t)0, (size_t)EI_NIDENT) == OK_YES) && in _elf_config()
151 elf->ed_identsz = EI_NIDENT; in _elf_config()
222 elf->ed_identsz = EI_NIDENT; in elf_memory()
H A Dgelf.c102 (void) memcpy(dst->e_ident, e->e_ident, EI_NIDENT); in gelf_getehdr()
160 (void) memcpy(d->e_ident, src->e_ident, EI_NIDENT); in gelf_update_ehdr()
/illumos-gate/usr/src/cmd/sgs/libelf/misc/
H A Dnlist.c123 char magic_buf[EI_NIDENT]; in nlist()
136 if (read(fd, magic_buf, EI_NIDENT) == -1) { in nlist()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Di386-elf.h33 #define EI_NIDENT 16 macro
65 unsigned char e_ident[EI_NIDENT]; /* basic identification block */
/illumos-gate/usr/src/ucblib/libucb/port/gen/
H A Dnlist.c96 char magic_buf[EI_NIDENT+1]; in nlist()
109 if (read(fd, magic_buf, (size_t)EI_NIDENT) == -1) { in nlist()
113 magic_buf[EI_NIDENT] = '\0'; in nlist()
/illumos-gate/usr/src/uts/common/sys/
H A Delf.h68 #define EI_NIDENT 16 macro
71 unsigned char e_ident[EI_NIDENT]; /* ident bytes */
89 unsigned char e_ident[EI_NIDENT]; /* ident bytes */
/illumos-gate/usr/src/boot/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.h131 #define EI_NIDENT 16 /* Size of e_ident array. */ macro
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c58 char ident[EI_NIDENT]; in get_kernel_fd()
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.h184 unsigned char e_ident[EI_NIDENT];
H A DPcore.c1716 (void) memcpy(efp->e_hdr.e_ident, e64.e_ident, EI_NIDENT); in core_elf_fdopen()
1736 (void) memcpy(efp->e_hdr.e_ident, e32.e_ident, EI_NIDENT); in core_elf_fdopen()
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c841 unsigned char ident[EI_NIDENT]; in validate_unix()
888 (pread64(elffd, ident, EI_NIDENT, 0) != EI_NIDENT)) { in validate_unix()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dehdr.c300 for (i = 0; i < EI_NIDENT; i++) { in print_ehdr()
372 cnt = EI_NIDENT; in print_ehdr()
699 MSG_ORIG(MSG_STR_INDEX), 0, EI_NIDENT - 1, in cmd_body()
1391 if (elfedit_atoconst_range2(argv[0], 0, EI_NIDENT - 1, in cpl_e_ident()
/illumos-gate/usr/src/cmd/file/
H A Dfile.c1261 if (pread64(fd, ident, EI_NIDENT, 0) != EI_NIDENT) in check_ident()
1278 unsigned char ident[EI_NIDENT]; in elf_check()
/illumos-gate/usr/src/cmd/sgs/ld/common/
H A Dld.c143 uchar_t e_ident[EI_NIDENT]; /* ident bytes */
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c345 bcopy(src->e_ident, dst->e_ident, EI_NIDENT); in ehdr_to_gelf()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c587 bcopy(ehdr->e_ident, gf->gf_ehdr.e_ident, EI_NIDENT); in gelf32_init()