#include "mi.h"
Go to the source code of this file.
Classes | |
struct | _NTSYM |
Defines | |
#define | X256MEG (256*1024*1024) |
#define | ROUND_TO_PAGES64(Size) (((UINT64)(Size) + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)) |
Typedefs | |
typedef _NTSYM | NTSYM |
typedef _NTSYM * | PNTSYM |
Functions | |
VOID | MiSetPageModified (IN PVOID Address) |
NTSTATUS | MiMapViewOfImageSection (IN PCONTROL_AREA ControlArea, IN PEPROCESS Process, IN PVOID *CapturedBase, IN PLARGE_INTEGER SectionOffset, IN PSIZE_T CapturedViewSize, IN PSECTION Section, IN SECTION_INHERIT InheritDisposition, IN ULONG_PTR ZeroBits, IN SIZE_T ImageCommitment, OUT PBOOLEAN ReleasedWsMutex) |
NTSTATUS | MiMapViewOfDataSection (IN PCONTROL_AREA ControlArea, IN PEPROCESS Process, IN PVOID *CapturedBase, IN PLARGE_INTEGER SectionOffset, IN PSIZE_T CapturedViewSize, IN PSECTION Section, IN SECTION_INHERIT InheritDisposition, IN ULONG ProtectionMask, IN SIZE_T CommitSize, IN ULONG_PTR ZeroBits, IN ULONG AllocationType, OUT PBOOLEAN ReleasedWsMutex) |
VOID | MiRemoveMappedPtes (IN PVOID BaseAddress, IN ULONG NumberOfPtes, IN PCONTROL_AREA ControlArea, IN PMMSUPPORT WorkingSetInfo) |
NTSTATUS | MiMapViewInSystemSpace (IN PVOID Section, IN PMMSESSION Session, OUT PVOID *MappedBase, IN OUT PSIZE_T ViewSize) |
NTSTATUS | MiUnmapViewInSystemSpace (IN PMMSESSION Session, IN PVOID MappedBase) |
BOOLEAN | MiFillSystemPageDirectory (PVOID Base, SIZE_T NumberOfBytes) |
VOID | VadTreeWalk (PMMVAD Start) |
ULONG | CacheImageSymbols (IN PVOID ImageBase) |
PVOID | MiInsertInSystemSpace (IN PMMSESSION Session, IN ULONG SizeIn64k, IN PCONTROL_AREA ControlArea) |
ULONG | MiRemoveFromSystemSpace (IN PMMSESSION Session, IN PVOID Base, OUT PCONTROL_AREA *ControlArea) |
NTSTATUS | NtMapViewOfSection (IN HANDLE SectionHandle, IN HANDLE ProcessHandle, IN OUT PVOID *BaseAddress, IN ULONG_PTR ZeroBits, IN SIZE_T CommitSize, IN OUT PLARGE_INTEGER SectionOffset OPTIONAL, IN OUT PSIZE_T ViewSize, IN SECTION_INHERIT InheritDisposition, IN ULONG AllocationType, IN ULONG Protect) |
NTSTATUS | MmMapViewOfSection (IN PVOID SectionToMap, IN PEPROCESS Process, IN OUT PVOID *CapturedBase, IN ULONG_PTR ZeroBits, IN SIZE_T CommitSize, IN OUT PLARGE_INTEGER SectionOffset, IN OUT PSIZE_T CapturedViewSize, IN SECTION_INHERIT InheritDisposition, IN ULONG AllocationType, IN ULONG Protect) |
NTSTATUS | MiMapViewOfPhysicalSection (IN PCONTROL_AREA ControlArea, IN PEPROCESS Process, IN PVOID *CapturedBase, IN PLARGE_INTEGER SectionOffset, IN PSIZE_T CapturedViewSize, IN ULONG ProtectionMask, IN ULONG_PTR ZeroBits, IN ULONG AllocationType, IN BOOLEAN WriteCombined, OUT PBOOLEAN ReleasedWsMutex) |
NTSTATUS | MiMapViewOfImageSection (IN PCONTROL_AREA ControlArea, IN PEPROCESS Process, IN PVOID *CapturedBase, IN PLARGE_INTEGER SectionOffset, IN PSIZE_T CapturedViewSize, IN PSECTION Section, IN SECTION_INHERIT InheritDisposition, IN ULONG_PTR ZeroBits, IN SIZE_T ImageCommitment, IN OUT PBOOLEAN ReleasedWsMutex) |
_ALPHA_ | |
NTSTATUS | MiMapViewOfDataSection (IN PCONTROL_AREA ControlArea, IN PEPROCESS Process, IN PVOID *CapturedBase, IN PLARGE_INTEGER SectionOffset, IN PSIZE_T CapturedViewSize, IN PSECTION Section, IN SECTION_INHERIT InheritDisposition, IN ULONG ProtectionMask, IN SIZE_T CommitSize, IN ULONG_PTR ZeroBits, IN ULONG AllocationType, IN PBOOLEAN ReleasedWsMutex) |
LOGICAL | MiCheckPurgeAndUpMapCount (IN PCONTROL_AREA ControlArea) |
NTSYSAPI NTSTATUS NTAPI | NtAreMappedFilesTheSame (IN PVOID File1MappedAsAnImage, IN PVOID File2MappedAsFile) |
NTSTATUS | MmMapViewInSystemSpace (IN PVOID Section, OUT PVOID *MappedBase, IN OUT PSIZE_T ViewSize) |
NTSTATUS | MmMapViewInSessionSpace (IN PVOID Section, OUT PVOID *MappedBase, IN OUT PSIZE_T ViewSize) |
NTSTATUS | MmUnmapViewInSystemSpace (IN PVOID MappedBase) |
NTSTATUS | MmUnmapViewInSessionSpace (IN PVOID MappedBase) |
BOOLEAN | MiInitializeSystemSpaceMap (PVOID InputSession OPTIONAL) |
VOID | MiFreeSessionSpaceMap (VOID) |
HANDLE | MmSecureVirtualMemory (IN PVOID Address, IN SIZE_T Size, IN ULONG ProbeMode) |
VOID | MmUnsecureVirtualMemory (IN HANDLE SecureHandle) |
Variables | |
ULONG | MMPPTE_NAME = 'tPmM' |
ULONG | MMDB = 'bDmM' |
ULONG | MMVADKEY |
LIST_ENTRY | MmLoadedUserImageList |
MMSESSION | MmSession |
|
Definition at line 42 of file mapview.c. Referenced by MiMapViewOfDataSection(). |
|
|
|
|
|
|
|
Definition at line 2930 of file mapview.c. References EXCEPTION_EXECUTE_HANDLER, FALSE, PAGED_CODE, RtlImageDirectoryEntryToData(), and TRUE.
|
|
Definition at line 2809 of file mapview.c. References ASSERT, _EVENT_COUNTER::Event, FALSE, KeEnterCriticalRegion, KeLeaveCriticalRegion, KernelMode, KeWaitForSingleObject(), LOCK_PFN, MiFreeEventCounter(), MiGetEventCounter(), NULL, _EVENT_COUNTER::RefCount, TRUE, UNLOCK_PFN, UNLOCK_PFN_AND_THEN_WAIT, and WrVirtualMemory. Referenced by MiMapViewInSystemSpace(), MiMapViewOfDataSection(), MiMapViewOfImageSection(), and MiShareSessionImage().
|
|
Definition at line 3484 of file mapview.c. References LOCK_PFN, MI_GET_PAGE_COLOR_FROM_PTE, MI_WRITE_VALID_PTE, MiChargeCommitmentCantExpand(), MiEnsureAvailablePageOrWait(), MiFillMemoryPte, MiGetPdeAddress, MiGetVirtualAddressMappedByPte, MiInitializePfn(), MiInitializePfnForOtherProcess(), MiRemoveAnyPage(), MM_DBG_COMMIT_FILL_SYSTEM_DIRECTORY, MM_TRACK_COMMIT, MM_ZERO_KERNEL_PTE, MmSystemPageDirectory, MmSystemPagePtes, NULL, PAGE_SIZE, PAGED_CODE, PDE_PER_PAGE, TRUE, _MMPTE::u, UNLOCK_PFN, and ValidKernelPde. Referenced by MiMapViewInSystemSpace().
|
|
Definition at line 4071 of file mapview.c. References _MMVIEW::ControlArea, DbgPrint, _MMVIEW::Entry, ExFreePool(), Index, KeBugCheckEx(), LOCK_SYSTEM_VIEW_SPACE, MiRemoveBitMap, MiUnmapViewInSystemSpace(), MmSessionSpace, NULL, PAGED_CODE, _MM_SESSION_SPACE::Session, _MM_SESSION_SPACE::SessionId, _MMSESSION::SystemSpaceBitMap, _MMSESSION::SystemSpaceHashEntries, _MMSESSION::SystemSpaceHashSize, _MMSESSION::SystemSpaceViewTable, and UNLOCK_SYSTEM_VIEW_SPACE. Referenced by MiDereferenceSession(), and MiSessionCreateInternal().
|
|
Definition at line 3967 of file mapview.c. References ASSERT, ExAllocatePoolWithTag, ExInitializeFastMutex, FALSE, MI_SESSION_VIEW_SIZE, MI_SESSION_VIEW_START, MiCreateBitMap, MiHydra, MiRemoveBitMap, MiSystemViewStart, MM_BUMP_SESSION_FAILURES, MM_SESSION_FAILURE_NO_NONPAGED_POOL, MM_SESSION_FAILURE_NO_SESSION_PAGED_POOL, MM_SYSTEM_VIEW_SIZE, MM_SYSTEM_VIEW_SIZE_IF_HYDRA, MmSession, NonPagedPool, NULL, PAGE_SIZE, PagedPool, RtlClearAllBits(), Size, _MMSESSION::SystemSpaceBitMap, _MMSESSION::SystemSpaceHashEntries, _MMSESSION::SystemSpaceHashKey, _MMSESSION::SystemSpaceHashSize, _MMSESSION::SystemSpaceViewLock, _MMSESSION::SystemSpaceViewLockPointer, _MMSESSION::SystemSpaceViewStart, _MMSESSION::SystemSpaceViewTable, TRUE, and X64K.
|
|
Definition at line 3757 of file mapview.c. References ASSERT, _MMVIEW::Entry, ExAllocatePoolWithTag, ExFreePool(), LOCK_SYSTEM_VIEW_SPACE, MI_64K_ALIGN, MMVIEW, NULL, PAGE_SIZE, PAGED_CODE, PagedPool, PMMVIEW, RtlFindClearBitsAndSet(), UNLOCK_SYSTEM_VIEW_SPACE, and X64K. Referenced by MiMapViewInSystemSpace().
|
|
Definition at line 3268 of file mapview.c. References ASSERT, BYTES_TO_PAGES, _SEGMENT::ControlArea, ExPageLockHandle, FALSE, LOCK_PFN, LOCK_SESSION_SPACE_WS, LOCK_SYSTEM_VIEW_SPACE, MiAddMappedPtes(), MiCheckControlArea(), MiCheckPurgeAndUpMapCount(), MiFillSystemPageDirectory(), MiGetPteAddress, MiInsertInSystemSpace(), MiRemoveFromSystemSpace(), MiSessionCommitPageTables(), MmLockPagableSectionByHandle(), MmSession, MmUnlockPagableImageSection(), NT_SUCCESS, NULL, _CONTROL_AREA::NumberOfMappedViews, _CONTROL_AREA::NumberOfUserReferences, PAGED_CODE, PSECTION, RtlClearBits(), _CONTROL_AREA::Segment, TRUE, _CONTROL_AREA::u, UNLOCK_PFN, UNLOCK_SESSION_SPACE_WS, UNLOCK_SYSTEM_VIEW_SPACE, and X64K. Referenced by MmMapViewInSessionSpace(), and MmMapViewInSystemSpace().
|
|
Definition at line 2256 of file mapview.c. References ASSERT, BYTES_TO_PAGES, _MMEXTEND_INFO::CommittedSize, _MMVAD::ControlArea, _MMVAD::EndingVpn, ExAcquireFastMutexUnsafe(), ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), ExRaiseStatus(), ExReleaseFastMutexUnsafe(), FALSE, _MMVAD::FirstPrototypePte, L, _MMVAD::LastContiguousPte, LOCK_PFN, LOCK_WS_UNSAFE, MI_ALIGN_TO_SIZE, MI_IS_PTE_PROTECTION_COPY_WRITE, MI_VA_TO_VPN, MI_WRITE_INVALID_PTE, MiChargeCommitment(), MiCheckControlArea(), MiCheckForConflictingVad, MiCheckPurgeAndUpMapCount(), MiFindEmptyAddressRange(), MiFindEmptyAddressRangeDown, MiInsertVad(), MiProtectMapFileFor4kPage(), MiReturnCommitment(), MM_DBG_COMMIT_MAPVIEW_DATA, MM_DBG_COMMIT_RETURN_MAPVIEW_DATA, MM_HIGHEST_VAD_ADDRESS, MM_TRACK_COMMIT, MM_USER_ADDRESS_RANGE_LIMIT, MMEXTEND_INFO, MmSectionBasedMutex, MmSectionCommitMutex, MmSharedCommit, MMVAD, MMVADKEY, _SUBSECTION::NextSubsection, NonPagedPool, NULL, PAGE_4K, PAGE_SHIFT, PAGE_SIZE, _SUBSECTION::PtesInSubsection, _MMEXTEND_INFO::ReferenceCount, ROUND_TO_PAGES64, _MMVAD::StartingVpn, _SUBSECTION::SubsectionBase, TRUE, _MMVAD::u, _MMPTE::u, _MMVAD::u2, _MMVAD::u4, UNLOCK_WS_UNSAFE, _SUBSECTION::UnusedPtes, and X64K. Referenced by MmMapViewOfSection().
|
|
|
|
_ALPHA_ _WIN64 Definition at line 1567 of file mapview.c. References ASSERT, CacheImageSymbols(), _MMVAD::ControlArea, DbgPrint, _MMVAD::EndingVpn, ExAcquireResourceExclusive, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), ExRaiseStatus(), ExReleaseResource, FALSE, FileName, _MMVAD::FirstPrototypePte, IMAGE_ADDRESSING_MODE_32BIT, _IMAGE_INFO::ImageAddressingMode, _IMAGE_INFO::ImageBase, _IMAGE_INFO::ImageSectionNumber, _IMAGE_INFO::ImageSelector, _IMAGE_INFO::ImageSize, KeEnterCriticalRegion, KeLeaveCriticalRegion, KernelMode, L, _MMVAD::LastContiguousPte, LOCK_PFN, LOCK_WS_UNSAFE, MI_64K_ALIGN, MI_VA_TO_VPN, MI_VPN_TO_VA, MiCheckControlArea(), MiCheckForConflictingVad, MiCheckPurgeAndUpMapCount(), MiFindEmptyAddressRange(), MiInsertVad(), MiProtectImageFileFor4kPage(), MiSetPageModified(), MM_ALLOCATION_FILLS_VAD, MM_DBG_WALK_VAD_TREE, MM_EXECUTE_WRITECOPY, MM_HIGHEST_VAD_ADDRESS, MMDB, MmHighestUserAddress, MmLoadedUserImageList, MMVAD, MMVADKEY, MmVirtualBias, NonPagedPool, NT_SUCCESS, NtGlobalFlag, NTSTATUS(), NULL, PAGE_SHIFT, PAGE_SIZE, _IMAGE_INFO::Properties, PsCallImageNotifyRoutines(), PsImageNotifyEnabled, PsInitialSystemProcess, PsLoadedModuleResource, RtlFreeAnsiString(), RtlImageNtHeader(), RtlUnicodeStringToAnsiString(), _MMVAD::StartingVpn, Status, _SUBSECTION::SubsectionBase, TRUE, _MMPTE::u, _MMVAD::u, _MMVAD::u2, UNLOCK_PFN, UNLOCK_WS_UNSAFE, USHORT, VadTreeWalk(), and X64K. Referenced by MmMapViewOfSection().
|
|
|
|
Definition at line 1028 of file mapview.c. References AggregatePages(), ASSERT, CONSISTENCY_LOCK_PFN, CONSISTENCY_UNLOCK_PFN, _MMVAD::ControlArea, DbgPrint, _MMVAD::EndingVpn, _MI_PHYSICAL_VIEW::EndVa, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), ExRaiseStatus(), FALSE, _MMVAD::FirstPrototypePte, KeFlushEntireTb(), KeInvalidateAllCaches(), L, _MMVAD::LastContiguousPte, _MI_PHYSICAL_VIEW::ListEntry, LOCK_AWE, LOCK_PFN, LOCK_PFN2, LOCK_WS_UNSAFE, MaximumAlignment(), MI_64K_ALIGN, MI_CONVERT_PHYSICAL_BUS_TO_PFN, MI_GET_USED_PTES_FROM_HANDLE, MI_GET_USED_PTES_HANDLE, MI_INCREMENT_USED_PTES_BY_HANDLE, MI_IS_CACHING_DISABLED, MI_MAKE_VALID_PTE, MI_PFN_ELEMENT, MI_PHYSICAL_VIEW_KEY, MI_SET_PTE_DIRTY, MI_SET_PTE_WRITE_COMBINE, MI_VA_TO_VPN, MI_WRITE_VALID_PTE, MiCheckForConflictingVad, MiFindEmptyAddressRange(), MiGetPdeAddress, MiGetPpeAddress, MiGetPteAddress, MiGetSubsectionAddressForPte, MiGetVirtualAddressMappedByPte, MiInsertVad(), MiIsPteOnPdeBoundary, MiIsPteOnPpeBoundary, MiMakePdeExistAndMakeValid(), MiMakePpeExistAndMakeValid, MiProtoAddressForPte, MiSweepCacheMachineDependent(), MiWriteCombiningPtes, MM_USER_ADDRESS_RANGE_LIMIT, MM_VA_MAPPED_BY_PDE, MM_VIEW_UNMAP, MmPageSizeInfo, MMPPTE_NAME, MMVAD, MMVADKEY, MmWriteCombined, NonPagedPool, NULL, PAGE_SHIFT, PAGE_SIZE, _SUBSECTION::StartingSector, _MMVAD::StartingVpn, _MI_PHYSICAL_VIEW::StartVa, TRUE, _SUBSECTION::u, _MMPTE::u, _MMVAD::u, _MMPFN::u2, _MMVAD::u2, _MMVAD::u4, UNLOCK_AWE, UNLOCK_PFN, UNLOCK_PFN2, UNLOCK_WS_UNSAFE, _MI_PHYSICAL_VIEW::Vad, X64K, and ZeroPte. Referenced by MmMapViewOfSection().
|
|
Definition at line 3893 of file mapview.c. References KeBugCheckEx(), MiHydra, PAGED_CODE, and Size. Referenced by MiMapViewInSystemSpace(), and MiUnmapViewInSystemSpace().
|
|
Referenced by MiUnmapViewInSystemSpace(). |
|
Definition at line 3060 of file mapview.c. References FALSE, KeFlushSingleTb(), LOCK_PFN, MI_IS_PTE_DIRTY, MI_PFN_ELEMENT, MI_SET_PTE_CLEAN, MiGetPdeAddress, MiGetPpeAddress, MiGetPteAddress, MiReleasePageFileSpace(), _MMPFN::OriginalPte, TRUE, _MMPTE::u, _MMPFN::u3, UNLOCK_PFN, and VOID(). Referenced by MiMapViewOfImageSection().
|
|
Definition at line 3683 of file mapview.c. References ExPageLockHandle, LOCK_SESSION_SPACE_WS, LOCK_SYSTEM_VIEW_SPACE, MiRemoveFromSystemSpace(), MiRemoveMappedPtes(), MmLockPagableSectionByHandle(), MmSession, MmSessionSpace, MmSystemCacheWs, MmUnlockPagableImageSection(), PAGE_SHIFT, PAGED_CODE, RtlClearBits(), Size, UNLOCK_SESSION_SPACE_WS, UNLOCK_SYSTEM_VIEW_SPACE, _MM_SESSION_SPACE::Vm, and X64K. Referenced by MiFreeSessionSpaceMap(), MmUnmapViewInSessionSpace(), and MmUnmapViewInSystemSpace().
|
|
Definition at line 3211 of file mapview.c. References ASSERT, MiHydra, MiMapViewInSystemSpace(), MmIsAddressValid(), MmSession, MmSessionSpace, PAGED_CODE, PsGetCurrentProcess, _MM_SESSION_SPACE::Session, and TRUE.
|
|
Definition at line 3164 of file mapview.c. References MiMapViewInSystemSpace(), MmSession, and PAGED_CODE. Referenced by MiLoadSystemImage(), and NtMapViewOfSection().
|
|
Definition at line 753 of file mapview.c. References _SEGMENT::ControlArea, EXCEPTION_EXECUTE_HANDLER, ExPageLockHandle, FALSE, _SEGMENT::ImageCommitment, KeAttachProcess(), KeDetachProcess(), LOCK_ADDRESS_SPACE, MiMakeProtectionMask(), MiMapViewOfDataSection(), MiMapViewOfImageSection(), MiMapViewOfPhysicalSection(), MmLockPagableSectionByHandle(), MmUnlockPagableImageSection(), NTSTATUS(), PAGED_CODE, PSECTION, PsGetCurrentProcess, _CONTROL_AREA::Segment, TRUE, _CONTROL_AREA::u, UNLOCK_ADDRESS_SPACE, and UNLOCK_WS_AND_ADDRESS_SPACE. Referenced by CommitReadOnlyMemory(), InitMapSharedSection(), MapDesktop(), MiGetWritablePagesInSection(), MiLoadImageSection(), MmCreatePeb(), MmInitializeProcessAddressSpace(), NtAcceptConnectPort(), NtMapViewOfSection(), NtMapViewOfSuperSection(), NtSecureConnectPort(), PspMapSystemDll(), and UserCreateHeap().
|
|
Definition at line 4177 of file mapview.c. References ASSERT, CHAR, _MMVAD::EndingVpn, _MMSECURE_ENTRY::EndVpn, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, Handle, _MMVAD::LeftChild, _MMSECURE_ENTRY::List, LOCK_ADDRESS_SPACE, LOCK_WS_UNSAFE, MI_VA_TO_VPN, MiDoesPdeExistAndMakeValid(), MiDoesPpeExistAndMakeValid, MiGetPdeAddress, MiGetPteAddress, MiGetVirtualAddressMappedByPte, MiInsertConflictInList(), MiIsPteOnPdeBoundary, MiLocateAddress(), MiPhysicalViewAdjuster(), MiRemoveConflictFromList(), MM_EXECUTE_READWRITE, MM_EXECUTE_WRITECOPY, MM_NOACCESS, MM_READWRITE, MMSECURE_ENTRY, MMVAD, MMVADKEY, NonPagedPool, NULL, PAGE_SIZE, PAGED_CODE, _MMVAD::Parent, PMMSECURE_ENTRY, ProbeForWrite(), PsGetCurrentProcess, _MMVAD::RightChild, Size, _MMVAD::StartingVpn, _MMSECURE_ENTRY::StartVpn, _MMPTE::u, _MMVAD::u, _MMSECURE_ENTRY::u2, _MMVAD::u2, _MMVAD::u3, UNLOCK_ADDRESS_SPACE, UNLOCK_WS_UNSAFE, _EPROCESS::VadFreeHint, _EPROCESS::VadHint, and _EPROCESS::VadRoot.
|
|
Definition at line 3639 of file mapview.c. References ASSERT, MiHydra, MiUnmapViewInSystemSpace(), MmIsAddressValid(), MmSession, MmSessionSpace, PAGED_CODE, PsGetCurrentProcess, _MM_SESSION_SPACE::Session, and TRUE.
|
|
Definition at line 3608 of file mapview.c. References MiUnmapViewInSystemSpace(), MmSession, and PAGED_CODE. Referenced by NtMapViewOfSection().
|
|
Definition at line 4614 of file mapview.c. References ASSERT, ExFreePool(), _MMSECURE_ENTRY::List, List, LOCK_ADDRESS_SPACE, _MMSECURE_ENTRY::LongFlags2, MiLocateAddress(), PAGED_CODE, PsGetCurrentProcess, _MMSECURE_ENTRY::StartVpn, _MMVAD::u, _MMVAD::u2, _MMSECURE_ENTRY::u2, _MMVAD::u3, and UNLOCK_ADDRESS_SPACE.
|
|
Definition at line 2965 of file mapview.c. References _MMVAD::ControlArea, _CONTROL_AREA::FilePointer, _SECTION_OBJECT_POINTERS::ImageSectionObject, LOCK_ADDRESS_SPACE, MiLocateAddress(), NTSTATUS(), NULL, PsGetCurrentProcess, _FILE_OBJECT::SectionObjectPointer, Status, _MMVAD::u, and UNLOCK_ADDRESS_SPACE. Referenced by LdrpCheckForLoadedDll().
|
|
Definition at line 199 of file mapview.c. References DbgkMapViewOfSection(), DbgPrint, EXCEPTION_EXECUTE_HANDLER, ExSystemExceptionFilter(), FALSE, KernelMode, KPROCESSOR_MODE, MiIsProtectionCompatible(), MiMakeProtectionMask(), MM_DBG_SHOW_NT_CALLS, MM_HIGHEST_VAD_ADDRESS, MM_MAXIMUM_ZERO_BITS, MM_USER_ADDRESS_RANGE_LIMIT, MmHighestPhysicalPage, MmMakeSectionAccess, MmMapViewInSystemSpace(), MmMapViewOfSection(), MmSectionObjectType, MmUnmapViewInSystemSpace(), NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGE_SHIFT, PAGE_SIZE, PAGED_CODE, ProbeForWrite(), ProbeForWritePointer, ProbeForWriteUlong_ptr, PSECTION, PsGetCurrentProcess, PsProcessType, RtlFindMostSignificantBit(), Size, Status, TRUE, X64K, and ZERO_LARGE. Referenced by CreateConsoleBitmap(), LdrLoadAlternateResourceModule(), LdrpCheckForLoadedDll(), LdrpMapDll(), LdrVerifyImageMatchesChecksum(), MapViewOfSection(), NapCreateDataSection(), PropertiesDlgShow(), PropertiesUpdate(), RtlCreateQueryDebugBuffer(), and RtlpChangeQueryDebugBufferTarget().
|
|
|
|
Definition at line 26 of file mapview.c. Referenced by MiMapViewOfImageSection(). |
|
|
|
Definition at line 25 of file mapview.c. Referenced by MiMapViewOfPhysicalSection(). |
|
Definition at line 44 of file mapview.c. Referenced by MiInitializeSystemSpaceMap(), MiLoadSystemImage(), MiMapViewInSystemSpace(), MiUnmapViewInSystemSpace(), MmMapViewInSessionSpace(), MmMapViewInSystemSpace(), MmUnmapViewInSessionSpace(), and MmUnmapViewInSystemSpace(). |
|
|