Changeset 1889 for trunk/src/kernel32/winimagepeldr.cpp
- Timestamp:
- Nov 30, 1999, 4:06:55 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagepeldr.cpp
r1872 r1889 1 /* $Id: winimagepeldr.cpp,v 1. 19 1999-11-29 00:04:06 birdExp $ */1 /* $Id: winimagepeldr.cpp,v 1.20 1999-11-30 15:06:55 sandervl Exp $ */ 2 2 3 3 /* … … 548 548 offset = virtAddress - section->realvirtaddr; 549 549 sectionsize = section->virtualsize - offset; 550 if(offset > section->rawsize ) {550 if(offset > section->rawsize || section->type == SECTION_UNINITDATA) { 551 551 //unintialized data (set to 0) 552 552 size = 0; … … 983 983 fixup = (ULONG *)(fixupaddr + realBaseAddress); 984 984 orgaddr = *fixup; 985 // dprintf(("AddOff32Fixup 0x%x org 0x%x -> new 0x%x", fixup, orgaddr, realBaseAddress + (*fixup - oh.ImageBase))); 985 986 *fixup = realBaseAddress + (*fixup - oh.ImageBase); 986 987 } … … 996 997 if(fHighFixup) { 997 998 *fixup += (USHORT)((realBaseAddress - oh.ImageBase) >> 16); 999 // dprintf(("AddOff16FixupH 0x%x org 0x%x -> new 0x%x", fixup, orgaddr, *fixup)); 998 1000 } 999 1001 else { 1000 1002 *fixup += (USHORT)((realBaseAddress - oh.ImageBase) & 0xFFFF); 1003 // dprintf(("AddOff16FixupL 0x%x org 0x%x -> new 0x%x", fixup, orgaddr, *fixup)); 1001 1004 } 1002 1005 }
Note:
See TracChangeset
for help on using the changeset viewer.