Lines Matching defs:Cfg64

3428         IMAGE_LOAD_CONFIG_DIRECTORY64   Cfg64;
3465 RT_ZERO(u.Cfg64);
3466 int rc = rtldrPEReadRVA(pModPe, &u.Cfg64, Dir.Size, Dir.VirtualAddress);
3469 rtldrPEConvert32BitLoadConfigTo64Bit(&u.Cfg64);
3471 if (u.Cfg64.Size != Dir.Size)
3474 and Cfg64.Size=0x5c or 0x48. Windows seems to deal with it, so
3476 if ( Dir.Size < u.Cfg64.Size
3477 && ( u.Cfg64.Size == cbExpectV3
3478 || u.Cfg64.Size == cbExpectV2) )
3481 pszLogName, u.Cfg64.Size, Dir.Size));
3482 Dir.Size = u.Cfg64.Size;
3483 memset(&u.Cfg64, 0, sizeof(u.Cfg64));
3484 rc = rtldrPEReadRVA(pModPe, &u.Cfg64, Dir.Size, Dir.VirtualAddress);
3487 rtldrPEConvert32BitLoadConfigTo64Bit(&u.Cfg64);
3490 /* Kludge #2, ntdll.dll from XP seen with Dir.Size=0x40 and Cfg64.Size=0x00. */
3491 if (Dir.Size == 0x40 && u.Cfg64.Size == 0x00 && !pModPe->f64Bit)
3493 u.Cfg64.Size = 0x40;
3494 rtldrPEConvert32BitLoadConfigTo64Bit(&u.Cfg64);
3497 if (u.Cfg64.Size != Dir.Size)
3500 pszLogName, u.Cfg64.Size, Dir.Size));
3504 if (u.Cfg64.LockPrefixTable && !(fFlags & (RTLDR_O_FOR_DEBUG | RTLDR_O_FOR_VALIDATION)))
3507 pszLogName, u.Cfg64.LockPrefixTable));
3511 if ( u.Cfg64.SEHandlerTable
3512 || u.Cfg64.SEHandlerCount)
3515 pszLogName, u.Cfg64.SEHandlerTable, u.Cfg64.SEHandlerCount));
3519 if (u.Cfg64.EditList && !(fFlags & (RTLDR_O_FOR_DEBUG | RTLDR_O_FOR_VALIDATION)))
3522 pszLogName, u.Cfg64.EditList));
3529 if ( ( u.Cfg64.GuardCFCCheckFunctionPointer
3530 || u.Cfg64.Reserved2
3531 || u.Cfg64.GuardCFFunctionTable
3532 || u.Cfg64.GuardCFFunctionCount
3533 || u.Cfg64.GuardFlags)
3537 pszLogName, u.Cfg64.GuardCFCCheckFunctionPointer, u.Cfg64.Reserved2,
3538 u.Cfg64.GuardCFFunctionTable, u.Cfg64.GuardCFFunctionCount, u.Cfg64.GuardFlags));