Searched refs:e_ident (Results 1 - 25 of 45) sorted by relevance

12

/macosx-10.10.1/cxxfilt-11/cxxfilt/include/elf/
H A Dexternal.h41 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon7556
58 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:__anon7557
H A Dinternal.h42 #define EI_NIDENT 16 /* Size of e_ident[] */
45 unsigned char e_ident[EI_NIDENT]; /* ELF "magic number" */ member in struct:elf_internal_ehdr
/macosx-10.10.1/dtrace-147/libelf/
H A Dbegin.c396 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_MAG0] = 'M';
397 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_MAG1] = 'a';
398 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_MAG2] = 'c';
399 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_MAG3] = 'h';
400 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_CLASS] = ELFCLASS32;
402 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_DATA] = (needSwap ? ELFDATA2LSB : ELFDATA2MSB);
404 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_DATA] = (needSwap ? ELFDATA2MSB : ELFDATA2LSB);
406 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_VERSION] = EV_CURRENT;
407 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_OSABI] = ELFOSABI_NONE;
408 ((Elf32_Ehdr *)(elf->ed_ident))->e_ident[EI_ABIVERSIO
[all...]
H A Dupdate.c169 register char *p = (char *)eh->e_ident;
353 register char *p = (char *)eh->e_ident;
476 eh->e_ident[EI_DATA];
794 if ((u = eh->e_ident[EI_DATA]) == ELFDATANONE) {
804 eh->e_ident[EI_DATA] = (Byte)encode;
853 encode = eh->e_ident[EI_DATA];
H A Dgelf.c104 (void) memcpy(dst->e_ident, e->e_ident, EI_NIDENT);
152 class = src->e_ident[EI_CLASS];
162 (void) memcpy(d->e_ident, src->e_ident, EI_NIDENT);
H A Dxlate.m4989 if (&dst[E1_ident] != src->e_ident)
990 (void) memcpy(&dst[E1_ident], src->e_ident, E1_Nident);
1522 if (dst->e_ident != &src[E1_ident])
1523 (void) memcpy(dst->e_ident, &src[E1_ident], E1_Nident);
H A Dxlate64.m4980 if (&dst[E1_ident] != src->e_ident)
981 (void) memcpy(&dst[E1_ident], src->e_ident, E1_Nident);
1560 if (dst->e_ident != &src[E1_ident])
1561 (void) memcpy(dst->e_ident, &src[E1_ident], E1_Nident);
H A Dxlate.c1130 if (&dst[E1_ident] != src->e_ident)
1131 (void) memcpy(&dst[E1_ident], src->e_ident, E1_Nident);
1191 if (&dst[E1_ident] != src->e_ident)
1192 (void) memcpy(&dst[E1_ident], src->e_ident, E1_Nident);
2666 if (dst->e_ident != &src[E1_ident])
2667 (void) memcpy(dst->e_ident, &src[E1_ident], E1_Nident);
2708 if (dst->e_ident != &src[E1_ident])
2709 (void) memcpy(dst->e_ident, &src[E1_ident], E1_Nident);
H A Dclscook.c389 if (((Ehdr*)elf->ed_ehdr)->e_ident[EI_CLASS] != ELFCLASS) {
/macosx-10.10.1/dtrace-147/tools/ctfconvert/
H A Dutil.c106 if (ehdr.e_ident[EI_CLASS] == ELFCLASS32)
108 else if (ehdr.e_ident[EI_CLASS] == ELFCLASS64)
111 terminate("unknown ELF class %d\n", ehdr.e_ident[EI_CLASS]);
/macosx-10.10.1/file-46/file/src/
H A Delfclass.h32 swap = (u.c[sizeof(int32_t) - 1] + 1) != elfhdr.e_ident[EI_DATA];
H A Dreadelf.h65 Elf32_Char e_ident[EI_NIDENT]; member in struct:__anon8628
82 Elf64_Char e_ident[EI_NIDENT]; member in struct:__anon8629
119 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
129 #define EI_MAG0 0 /* e_ident[] indexes */
/macosx-10.10.1/dtrace-147/libctf/
H A Dctf_lib.c103 bcopy(src->e_ident, dst->e_ident, EI_NIDENT);
235 bcmp(&hdr.e32.e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) {
248 if (hdr.e32.e_ident[EI_DATA] != order)
253 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS64) {
274 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) {
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Delfcore.h101 if (x_ehdr.e_ident[EI_CLASS] != ELFCLASS)
105 switch (x_ehdr.e_ident[EI_DATA])
H A Delfcode.h234 memcpy (dst->e_ident, src->e_ident, EI_NIDENT);
263 memcpy (dst->e_ident, src->e_ident, EI_NIDENT);
459 return ((x_ehdrp->e_ident[EI_MAG0] == ELFMAG0)
460 && (x_ehdrp->e_ident[EI_MAG1] == ELFMAG1)
461 && (x_ehdrp->e_ident[EI_MAG2] == ELFMAG2)
462 && (x_ehdrp->e_ident[EI_MAG3] == ELFMAG3));
525 || x_ehdr.e_ident[EI_VERSION] != EV_CURRENT
526 || x_ehdr.e_ident[EI_CLAS
[all...]
H A Delf64-hppa.c378 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_LINUX
379 && i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
386 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_HPUX
387 && i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
399 if (i_ehdrp->e_ident[EI_CLASS] == ELFCLASS64)
1205 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_LINUX;
1209 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_HPUX;
1210 i_ehdrp->e_ident[EI_ABIVERSION] = 1;
H A Delf32-hppa.c948 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_LINUX &&
949 i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
956 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NETBSD &&
957 i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_NONE) /* aka SYSV */
962 if (i_ehdrp->e_ident[EI_OSABI] != ELFOSABI_HPUX)
4613 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_LINUX;
4617 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_NETBSD;
4621 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_HPUX;
H A Delf64-sparc.c931 i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_FREEBSD;
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/data/
H A Dmsg.c95 const char e_ident[] = "%s: is not an identifier"; variable
/macosx-10.10.1/ICU-531.30/icuSources/tools/toolutil/
H A Dpkg_genc.c708 buffer.header32.e_ident[0]!=ELFMAG0 ||
709 buffer.header32.e_ident[1]!=ELFMAG1 ||
710 buffer.header32.e_ident[2]!=ELFMAG2 ||
711 buffer.header32.e_ident[3]!=ELFMAG3 ||
712 buffer.header32.e_ident[EI_CLASS]<ELFCLASS32 || buffer.header32.e_ident[EI_CLASS]>ELFCLASS64
718 *pBits= buffer.header32.e_ident[EI_CLASS]==ELFCLASS32 ? 32 : 64; /* only 32 or 64: see check above */
731 *pIsBigEndian=(UBool)(buffer.header32.e_ident[EI_DATA]==ELFDATA2MSB);
777 /* e_ident[] */
894 /* e_ident[] */
[all...]
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DELF.h47 // e_ident size and indices.
59 EI_NIDENT = 16 // Number of bytes in e_ident.
63 unsigned char e_ident[EI_NIDENT]; // ELF Identification bytes member in struct:llvm::ELF::Elf32_Ehdr
78 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0;
80 unsigned char getFileClass() const { return e_ident[EI_CLASS]; }
81 unsigned char getDataEncoding() const { return e_ident[EI_DATA]; }
87 unsigned char e_ident[EI_NIDENT]; member in struct:llvm::ELF::Elf64_Ehdr
102 return (memcmp(e_ident, ElfMagic, strlen(ElfMagic))) == 0;
104 unsigned char getFileClass() const { return e_ident[EI_CLASS]; }
105 unsigned char getDataEncoding() const { return e_ident[EI_DAT
[all...]
/macosx-10.10.1/dtrace-147/sys/
H A Delf.h74 unsigned char e_ident[EI_NIDENT]; /* ident bytes */ member in struct:__anon8238
92 unsigned char e_ident[EI_NIDENT]; /* ident bytes */ member in struct:__anon8239
110 #define EI_MAG0 0 /* e_ident[] indexes */
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/include/
H A Dname.h241 extern const char e_ident[];
/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Dreadelf.c933 if (elf_header.e_ident[EI_DATA] != ELFDATA2MSB)
1278 && elf_header.e_ident[EI_OSABI] == ELFOSABI_HPUX
3172 if ( elf_header.e_ident[EI_MAG0] != ELFMAG0
3173 || elf_header.e_ident[EI_MAG1] != ELFMAG1
3174 || elf_header.e_ident[EI_MAG2] != ELFMAG2
3175 || elf_header.e_ident[EI_MAG3] != ELFMAG3)
3189 printf ("%2.2x ", elf_header.e_ident[i]);
3192 get_elf_class (elf_header.e_ident[EI_CLASS]));
3194 get_data_encoding (elf_header.e_ident[EI_DATA]));
3196 elf_header.e_ident[EI_VERSIO
[all...]
/macosx-10.10.1/dtrace-147/libdwarf/
H A Ddwarf_init_finish.c185 ehdr_ident = ehdr.e_ident;

Completed in 312 milliseconds

12