mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 01:00:06 +00:00
- MmMapViewOfSection: Segment size must be a multiple of page size, so round ViewSize up to next page size.
OllyDbg now shows loaded dll's in memory and can step into dlls. svn path=/trunk/; revision=40838
This commit is contained in:
parent
71c299cdfa
commit
a63f5f16af
1 changed files with 2 additions and 0 deletions
|
@ -4690,6 +4690,8 @@ MmMapViewOfSection(IN PVOID SectionObject,
|
||||||
(*ViewSize) = Section->MaximumSize.u.LowPart - ViewOffset;
|
(*ViewSize) = Section->MaximumSize.u.LowPart - ViewOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*ViewSize = PAGE_ROUND_UP(*ViewSize);
|
||||||
|
|
||||||
MmLockSectionSegment(Section->Segment);
|
MmLockSectionSegment(Section->Segment);
|
||||||
Status = MmMapViewOfSegment(AddressSpace,
|
Status = MmMapViewOfSegment(AddressSpace,
|
||||||
Section,
|
Section,
|
||||||
|
|
Loading…
Reference in a new issue