/vbox/src/VBox/Runtime/common/ldr/ |
H A D | ldrELF.cpp | 129 uint8_t e_ident[EI_NIDENT]; local 130 int rc = pReader->pfnRead(pReader, &e_ident, sizeof(e_ident), 0); 133 if ( e_ident[EI_MAG0] != ELFMAG0 134 || e_ident[EI_MAG1] != ELFMAG1 135 || e_ident[EI_MAG2] != ELFMAG2 136 || e_ident[EI_MAG3] != ELFMAG3 137 || ( e_ident[EI_CLASS] != ELFCLASS32 138 && e_ident[EI_CLASS] != ELFCLASS64) 141 Log(("RTLdrELF: %s: Unsupported/invalid ident %.*Rhxs\n", pszLogName, sizeof(e_ident), e_iden [all...] |
H A D | ldrELFRelocatable.cpp.h | 1444 Log3(("RTLdrELF: e_ident: %.*Rhxs\n" 1457 RT_ELEMENTS(pEhdr->e_ident), &pEhdr->e_ident[0], pEhdr->e_type, pEhdr->e_version, 1461 if ( pEhdr->e_ident[EI_MAG0] != ELFMAG0 1462 || pEhdr->e_ident[EI_MAG1] != ELFMAG1 1463 || pEhdr->e_ident[EI_MAG2] != ELFMAG2 1464 || pEhdr->e_ident[EI_MAG3] != ELFMAG3 1467 Log(("RTLdrELF: %s: Invalid ELF magic (%.*Rhxs)\n", pszLogName, sizeof(pEhdr->e_ident), pEhdr->e_ident)); NOREF(pszLogName); 1470 if (pEhdr->e_ident[EI_CLAS [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/ |
H A D | elfboot.c | 84 static const uint8_t e_ident[] = { local 96 if ( memcmp ( ehdr.e_ident, e_ident, sizeof ( e_ident ) ) != 0 ) {
|
/vbox/src/VBox/Devices/PC/ipxe/src/image/ |
H A D | elf.c | 134 static const uint8_t e_ident[] = { local 149 if ( memcmp ( &ehdr.e_ident[EI_MAG0], e_ident, 150 sizeof ( e_ident ) ) != 0 ) {
|
/vbox/src/VBox/Runtime/include/internal/ |
H A D | ldrELFCommon.h | 51 /* Indexes into the e_ident array. Keep synced with 64 #define EI_NIDENT 16 /* Size of e_ident array. */ 74 /* Values for e_ident[EI_VERSION] and e_version. */ 78 /* Values for e_ident[EI_CLASS]. */ 83 /* Values for e_ident[EI_DATA]. */ 88 /* Values for e_ident[EI_OSABI]. */ 106 /* e_ident */ 107 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ 108 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \ 109 (ehdr).e_ident[EI_MAG [all...] |
H A D | ldrELF32.h | 64 unsigned char e_ident[16]; /* ELF identification. */ member in struct:__anon16605
|
H A D | ldrELF64.h | 67 unsigned char e_ident[16]; /* ELF identification. */ member in struct:__anon16614
|
/vbox/src/VBox/Debugger/ |
H A D | DBGPlugInCommonELFTmpl.cpp.h | 90 if ( pEhdr->e_ident[EI_MAG0] != ELFMAG0 91 || pEhdr->e_ident[EI_MAG1] != ELFMAG1 92 || pEhdr->e_ident[EI_MAG2] != ELFMAG2 93 || pEhdr->e_ident[EI_MAG3] != ELFMAG3) 95 if (pEhdr->e_ident[EI_CLASS] != MY_ELFCLASS) 98 if (pEhdr->e_ident[EI_DATA] != ELFDATA2LSB) 100 if (pEhdr->e_ident[EI_VERSION] != EV_CURRENT) 127 if (ASMMemIsAll8(&pEhdr->e_ident[EI_PAD], EI_NIDENT - EI_PAD, 0) != NULL) //??
|
H A D | DBGPlugInSolaris.cpp | 470 if ( Module.hdr.e_ident[EI_MAG0] != ELFMAG0 471 || Module.hdr.e_ident[EI_MAG1] != ELFMAG1 472 || Module.hdr.e_ident[EI_MAG2] != ELFMAG2 473 || Module.hdr.e_ident[EI_MAG3] != ELFMAG3 474 || Module.hdr.e_ident[EI_CLASS] != ELFCLASS32 475 || Module.hdr.e_ident[EI_DATA] != ELFDATA2LSB 476 || Module.hdr.e_ident[EI_VERSION] != EV_CURRENT 477 || ASMMemIsAll8(&Module.hdr.e_ident[EI_PAD], EI_NIDENT - EI_PAD, 0) != NULL 617 if ( Module.hdr.e_ident[EI_MAG0] != ELFMAG0 618 || Module.hdr.e_ident[EI_MAG [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFCoreWrite.cpp | 121 ElfHdr.e_ident[EI_MAG0] = ELFMAG0; 122 ElfHdr.e_ident[EI_MAG1] = ELFMAG1; 123 ElfHdr.e_ident[EI_MAG2] = ELFMAG2; 124 ElfHdr.e_ident[EI_MAG3] = ELFMAG3; 125 ElfHdr.e_ident[EI_DATA] = ELFDATA2LSB; 128 ElfHdr.e_ident[EI_CLASS] = ELFCLASS64;
|
/vbox/src/VBox/Devices/PC/ipxe/src/include/ |
H A D | elf.h | 6 #define EI_NIDENT 16 /* Size of e_ident array. */ 172 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon15475 189 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon15476
|
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/ |
H A D | dt_link.c | 477 elf_file.ehdr.e_ident[EI_MAG0] = ELFMAG0; 478 elf_file.ehdr.e_ident[EI_MAG1] = ELFMAG1; 479 elf_file.ehdr.e_ident[EI_MAG2] = ELFMAG2; 480 elf_file.ehdr.e_ident[EI_MAG3] = ELFMAG3; 481 elf_file.ehdr.e_ident[EI_VERSION] = EV_CURRENT; 482 elf_file.ehdr.e_ident[EI_CLASS] = ELFCLASS32; 484 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2MSB; 486 elf_file.ehdr.e_ident[EI_DATA] = ELFDATA2LSB; 614 elf_file.ehdr.e_ident[EI_MAG0] = ELFMAG0; 615 elf_file.ehdr.e_ident[EI_MAG [all...] |
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libctf/common/ |
H A D | ctf_lib.c | 238 bcopy(src->e_ident, dst->e_ident, EI_NIDENT); 370 bcmp(&hdr.e32.e_ident[EI_MAG0], ELFMAG, SELFMAG) == 0) { 383 if (hdr.e32.e_ident[EI_DATA] != order) 388 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS64) { 409 if (hdr.e32.e_ident[EI_CLASS] == ELFCLASS32) {
|
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/ |
H A D | elf32.h | 69 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon9985
|
H A D | elf64.h | 77 unsigned char e_ident[EI_NIDENT]; /* File identification. */ member in struct:__anon10001
|
H A D | elf_common.h | 65 /* Indexes into the e_ident array. Keep synced with 78 #define EI_NIDENT 16 /* Size of e_ident array. */ 88 /* Values for e_ident[EI_VERSION] and e_version. */ 92 /* Values for e_ident[EI_CLASS]. */ 97 /* Values for e_ident[EI_DATA]. */ 102 /* Values for e_ident[EI_OSABI]. */ 124 /* e_ident */ 125 #define IS_ELF(ehdr) ((ehdr).e_ident[EI_MAG0] == ELFMAG0 && \ 126 (ehdr).e_ident[EI_MAG1] == ELFMAG1 && \ 127 (ehdr).e_ident[EI_MAG [all...] |
H A D | Elf64Convert.c | 137 if (mEhdr->e_ident[EI_CLASS] != ELFCLASS64) { 141 if (mEhdr->e_ident[EI_DATA] != ELFDATA2LSB) {
|
H A D | Elf32Convert.c | 134 if (mEhdr->e_ident[EI_CLASS] != ELFCLASS32) { 138 if (mEhdr->e_ident[EI_DATA] != ELFDATA2LSB) {
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/ |
H A D | elf.h | 544 unsigned char e_ident[EI_NIDENT]; member in struct:elf32hdr 561 unsigned char e_ident[EI_NIDENT]; member in struct:elf64hdr 667 #define EI_MAG0 0 /* e_ident[] indexes */ 691 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/ |
H A D | elf.h | 544 unsigned char e_ident[EI_NIDENT]; member in struct:elf32hdr 561 unsigned char e_ident[EI_NIDENT]; member in struct:elf64hdr 667 #define EI_MAG0 0 /* e_ident[] indexes */ 691 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
|
/vbox/src/VBox/Runtime/r3/solaris/ |
H A D | coredumper-solaris.cpp | 1733 ElfHdr.e_ident[EI_MAG0] = ELFMAG0; 1734 ElfHdr.e_ident[EI_MAG1] = ELFMAG1; 1735 ElfHdr.e_ident[EI_MAG2] = ELFMAG2; 1736 ElfHdr.e_ident[EI_MAG3] = ELFMAG3; 1737 ElfHdr.e_ident[EI_DATA] = IsBigEndian() ? ELFDATA2MSB : ELFDATA2LSB; 1742 ElfHdr.e_ident[EI_CLASS] = ELFCLASS64; 1745 ElfHdr.e_ident[EI_CLASS] = ELFCLASS32;
|
/vbox/src/recompiler/ |
H A D | elf.h | 955 unsigned char e_ident[EI_NIDENT]; member in struct:elf32_hdr 972 unsigned char e_ident[16]; /* ELF "magic number" */ member in struct:elf64_hdr 1082 #define EI_MAG0 0 /* e_ident[] indexes */ 1119 #define ELFDATANONE 0 /* e_ident[EI_DATA] */
|
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/ |
H A D | dtrace.c | 1452 if (ehdr.e_ident[EI_CLASS] == ELFCLASS64) { 1458 } else if (ehdr.e_ident[EI_CLASS] == ELFCLASS32) {
|