Searched refs:Magic (Results 1 - 25 of 37) sorted by relevance

12

/vbox/include/VBox/HostServices/
H A DVBoxOpenGLSvc.h47 uint32_t Magic; member in struct:__anon66
58 uint32_t Magic; member in struct:__anon67
/vbox/src/bldprogs/
H A DVBoxPeSetVersion.cpp49 if (NtHdrs.OptionalHeader.Magic != IMAGE_NT_OPTIONAL_HDR32_MAGIC)
52 if (NtHdrs.OptionalHeader.Magic != IMAGE_NT_OPTIONAL_HDR32_MAGIC)
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffGetEntryPointLib/
H A DPeCoffGetEntryPoint.c162 UINT16 Magic; local
194 // NOTE: We use Machine field to identify PE32/PE32+, instead of Magic.
196 // generate PE32+ image with PE32 Magic.
203 Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC;
210 Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
214 // For unknow Machine field, use Magic in optional Header
216 Magic = Hdr.Pe32->OptionalHeader.Magic;
219 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
226 } else if (Hdr.Pe32->OptionalHeader.Magic
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/VBoxPeCoffLib/
H A DBasePeCoff.c72 // Magic value in the OptionalHeader is EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC
75 if (Hdr.Pe32->FileHeader.Machine == IMAGE_FILE_MACHINE_IA64 && Hdr.Pe32->OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
81 return Hdr.Pe32->OptionalHeader.Magic;
110 UINT16 Magic; local
171 // data, but that should not hurt anything. Hdr.Pe32->OptionalHeader.Magic
206 Magic = PeCoffLoaderGetPeHeaderMagicValue (Hdr);
208 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
217 } else if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
291 UINT16 Magic; local
312 Magic
623 UINT16 Magic; local
900 UINT16 Magic; local
1386 UINT16 Magic; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffLib/
H A DBasePeCoff.c36 // Magic value in the OptionalHeader is EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC
39 if (Hdr.Pe32->FileHeader.Machine == IMAGE_FILE_MACHINE_IA64 && Hdr.Pe32->OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
45 return Hdr.Pe32->OptionalHeader.Magic;
70 UINT16 Magic; local
103 // data, but that should not hurt anything. Hdr.Pe32->OptionalHeader.Magic
138 Magic = PeCoffLoaderGetPeHeaderMagicValue (Hdr);
140 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
213 } else if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
408 UINT16 Magic; local
424 Magic
738 UINT16 Magic; local
1021 UINT16 Magic; local
1503 UINT16 Magic; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeTpmMeasureBootLib/
H A DDxeTpmMeasureBootLib.c289 UINT16 Magic; local
385 Magic = Hdr.Pe32->OptionalHeader.Magic;
392 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
419 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
443 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
468 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
493 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
575 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c244 UINT16 Magic; local
300 Magic = mNtHeader.Pe32->OptionalHeader.Magic;
306 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
312 } else if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
339 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
363 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
388 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
413 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
496 if (Magic
1205 UINT16 Magic; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/
H A Dpxe_file.c239 * @v s_PXENV_FILE_API_CHECK::Magic Inbound magic number (0x91d447b2)
243 * @ret s_PXENV_FILE_API_CHECK::Magic Outbound magic number (0xe9c17b20)
258 if ( file_api_check->Magic != 0x91d447b2 ) {
278 file_api_check->Magic = 0xe9c17b20;
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DBasePeCoff.c312 if (PeHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
353 if (PeHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
640 if (PeHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
1071 if (PeHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
1230 UINT16 Magic; local
1283 // NOTE: We use Machine field to identify PE32/PE32+, instead of Magic.
1285 // generate PE32+ image with PE32 Magic.
1293 Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC;
1300 Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
1304 // For unknow Machine field, use Magic i
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Include/IndustryStandard/
H A DPeImage.h73 UINT16 e_magic; // Magic number
142 UINT16 Magic; member in struct:__anon10147
177 UINT16 Magic; member in struct:__anon10149
225 UINT16 Magic; member in struct:__anon10150
/vbox/src/VBox/Main/src-all/
H A DQMTranslatorImpl.cpp28 /* QM File Magic Number */
30 static const uint8_t Magic[MagicLength] = { variable
125 if (memcmp(&(*m_iter), Magic, MagicLength)) throw QMException("Wrong magic number");
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/
H A DGenFw.c1020 if ((ImgHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) && (ImgHdr->Pe32.FileHeader.Machine != IMAGE_FILE_MACHINE_IA64)) {
1022 } else if (ImgHdr->Pe32Plus.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
1026 ImgHdr->Pe32.OptionalHeader.Magic,
2110 if (PeHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
2119 if (PeHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
2171 if ((PeHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) && (PeHdr->Pe32.FileHeader.Machine != IMAGE_FILE_MACHINE_IA64)) {
2315 if (PeHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
2407 } else if (PeHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
2515 Error (NULL, 0, 3000, "Invalid", "Magic 0x%x of PeImage %s is unknown.", PeHdr->Pe32.OptionalHeader.Magic, mInImageNam
[all...]
H A DElf64Convert.c409 NtHdr->Pe32Plus.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
413 NtHdr->Pe32Plus.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
418 NtHdr->Pe32Plus.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
H A DElf32Convert.c416 NtHdr->Pe32.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC;
420 NtHdr->Pe32.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC;
425 NtHdr->Pe32.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC;
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/IndustryStandard/
H A DPeImage.h56 UINT16 e_magic; ///< Magic number.
149 UINT16 Magic; member in struct:__anon11723
200 UINT16 Magic; member in struct:__anon11724
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigImpl.c971 UINT16 Magic; local
1019 Magic = mNtHeader.Pe32->OptionalHeader.Magic;
1025 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
1046 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
1068 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
1089 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
1163 if (Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/IndustryStandard/
H A DPeImage.h58 UINT16 e_magic; ///< Magic number.
151 UINT16 Magic; member in struct:__anon15524
202 UINT16 Magic; member in struct:__anon15525
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dsis190.h201 Magic = 0x00200000, enumerator in enum:_DescStatusBit
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/unix/
H A Dos_Linux_x86.s113 / Magic indicating no need for an executable stack
H A Dos_Linux_x86_64.s94 / Magic indicating no need for an executable stack
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Delf2efi.c86 .Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC,
88 .Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC,
/vbox/src/VBox/Debugger/
H A DDBGPlugInWinNt.cpp664 if (WINNT_UNION(pThis, pHdrs, OptionalHeader.Magic) != (pThis->f32Bit ? IMAGE_NT_OPTIONAL_HDR32_MAGIC : IMAGE_NT_OPTIONAL_HDR64_MAGIC))
666 Log(("DigWinNt: %s: Invalid OH.Magic: %#x\n", pszName, WINNT_UNION(pThis, pHdrs, OptionalHeader.Magic)));
984 && pHdrs->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR32_MAGIC
1064 && pHdrs->OptionalHeader.Magic == IMAGE_NT_OPTIONAL_HDR64_MAGIC
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/GenericBdsLib/
H A DBdsMisc.c1376 if (Hdr.Pe32->OptionalHeader.Magic != EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC &&
1377 Hdr.Pe32->OptionalHeader.Magic != EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
H A DBootOption.c1246 if (PeHdr.Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
1248 } else if (PeHdr.Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/EfiRom/
H A DEfiRom.c814 if (PeHdr.Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
816 } else if (PeHdr.Pe32Plus.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {

Completed in 2370 milliseconds

12