Changeset 52534 in vbox
- Timestamp:
- Aug 31, 2014 2:42:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrPE.cpp
r52405 r52534 3449 3449 if (u.Cfg64.Size != Dir.Size) 3450 3450 { 3451 /* Kludge , seen ati shipping 32-bit DLLs and EXEs with Dir.Size=0x403451 /* Kludge #1, seen ati shipping 32-bit DLLs and EXEs with Dir.Size=0x40 3452 3452 and Cfg64.Size=0x5c or 0x48. Windows seems to deal with it, so 3453 3453 lets do so as well. */ … … 3465 3465 rtldrPEConvert32BitLoadConfigTo64Bit(&u.Cfg64); 3466 3466 } 3467 3468 /* Kludge #2, ntdll.dll from XP seen with Dir.Size=0x40 and Cfg64.Size=0x00. */ 3469 if (Dir.Size == 0x40 && u.Cfg64.Size == 0x00 && !pModPe->f64Bit) 3470 { 3471 u.Cfg64.Size = 0x40; 3472 rtldrPEConvert32BitLoadConfigTo64Bit(&u.Cfg64); 3473 } 3474 3467 3475 if (u.Cfg64.Size != Dir.Size) 3468 3476 {
Note:
See TracChangeset
for help on using the changeset viewer.