ReactOS 0.4.16-dev-424-ge4748fe
|
#include <kmt_test.h>
Go to the source code of this file.
Macros | |
#define | IGNORE -99 |
#define | NEW_CONTENT "NewContent" |
#define | NEW_CONTENT_LEN sizeof(NEW_CONTENT) |
#define | TestMapView(SectionHandle, ProcessHandle, BaseAddress2, ZeroBits, CommitSize, SectionOffset, ViewSize2, InheritDisposition, AllocationType, Win32Protect, MapStatus, UnmapStatus) |
#define | MmTestMapView(Object, ProcessHandle, BaseAddress2, ZeroBits, CommitSize, SectionOffset, ViewSize2, InheritDisposition, AllocationType, Win32Protect, MapStatus, UnmapStatus) |
#define | CheckObject(Handle, Pointers, Handles) |
Functions | |
static VOID | KmtInitTestFiles (PHANDLE ReadOnlyFile, PHANDLE WriteOnlyFile, PHANDLE ExecutableFile) |
static VOID | SimpleErrorChecks (HANDLE FileHandleReadOnly, HANDLE FileHandleWriteOnly, HANDLE ExecutableImg) |
static VOID | AdvancedErrorChecks (HANDLE FileHandleReadOnly, HANDLE FileHandleWriteOnly) |
static SIZE_T | CompareFileContents (HANDLE FileHandle, ULONG BufferLength, PVOID Buffer) |
static VOID NTAPI | SystemProcessWorker (PVOID StartContext) |
static VOID | BehaviorChecks (HANDLE FileHandleReadOnly, HANDLE FileHandleWriteOnly) |
static VOID | PageFileBehaviorChecks () |
START_TEST (ZwMapViewOfSection) | |
Variables | |
static UNICODE_STRING | FileReadOnlyPath = RTL_CONSTANT_STRING(L"\\SystemRoot\\system32\\ntdll.dll") |
static UNICODE_STRING | NtosImgPath = RTL_CONSTANT_STRING(L"\\SystemRoot\\system32\\ntoskrnl.exe") |
static UNICODE_STRING | WritableFilePath = RTL_CONSTANT_STRING(L"\\SystemRoot\\kmtest-MmSection.txt") |
static UNICODE_STRING | SharedSectionName = RTL_CONSTANT_STRING(L"\\BaseNamedObjects\\kmtest-SharedSection") |
const char | TestString [] |
const ULONG | TestStringSize |
static OBJECT_ATTRIBUTES | NtdllObject |
static OBJECT_ATTRIBUTES | KmtestFileObject |
static OBJECT_ATTRIBUTES | NtoskrnlFileObject |
Definition at line 50 of file ZwMapViewOfSection.c.
#define IGNORE -99 |
Definition at line 10 of file ZwMapViewOfSection.c.
#define MmTestMapView | ( | Object, | |
ProcessHandle, | |||
BaseAddress2, | |||
ZeroBits, | |||
CommitSize, | |||
SectionOffset, | |||
ViewSize2, | |||
InheritDisposition, | |||
AllocationType, | |||
Win32Protect, | |||
MapStatus, | |||
UnmapStatus | |||
) |
Definition at line 37 of file ZwMapViewOfSection.c.
#define NEW_CONTENT "NewContent" |
Definition at line 11 of file ZwMapViewOfSection.c.
#define NEW_CONTENT_LEN sizeof(NEW_CONTENT) |
Definition at line 12 of file ZwMapViewOfSection.c.
#define TestMapView | ( | SectionHandle, | |
ProcessHandle, | |||
BaseAddress2, | |||
ZeroBits, | |||
CommitSize, | |||
SectionOffset, | |||
ViewSize2, | |||
InheritDisposition, | |||
AllocationType, | |||
Win32Protect, | |||
MapStatus, | |||
UnmapStatus | |||
) |
Definition at line 24 of file ZwMapViewOfSection.c.
Definition at line 233 of file ZwMapViewOfSection.c.
Referenced by START_TEST().
Definition at line 351 of file ZwMapViewOfSection.c.
Referenced by START_TEST().
Definition at line 274 of file ZwMapViewOfSection.c.
Referenced by BehaviorChecks().
|
static |
Definition at line 62 of file ZwMapViewOfSection.c.
Referenced by START_TEST().
|
static |
Definition at line 497 of file ZwMapViewOfSection.c.
Referenced by START_TEST().
|
static |
Definition at line 97 of file ZwMapViewOfSection.c.
Referenced by START_TEST().
START_TEST | ( | ZwMapViewOfSection | ) |
Definition at line 559 of file ZwMapViewOfSection.c.
Definition at line 304 of file ZwMapViewOfSection.c.
Referenced by BehaviorChecks(), and PageFileBehaviorChecks().
|
static |
Definition at line 14 of file ZwMapViewOfSection.c.
Referenced by START_TEST().
|
static |
Definition at line 21 of file ZwMapViewOfSection.c.
Referenced by KmtInitTestFiles(), and START_TEST().
|
static |
Definition at line 20 of file ZwMapViewOfSection.c.
Referenced by KmtInitTestFiles(), and START_TEST().
|
static |
Definition at line 15 of file ZwMapViewOfSection.c.
Referenced by START_TEST().
|
static |
Definition at line 22 of file ZwMapViewOfSection.c.
Referenced by START_TEST().
|
static |
Definition at line 17 of file ZwMapViewOfSection.c.
Referenced by BehaviorChecks(), PageFileBehaviorChecks(), and SystemProcessWorker().
|
extern |
Definition at line 16 of file ZwAllocateVirtualMemory.c.
Definition at line 17 of file ZwAllocateVirtualMemory.c.
Referenced by AdvancedErrorChecks(), BehaviorChecks(), KmtInitTestFiles(), PageFileBehaviorChecks(), SimpleAllocation(), SimpleErrorChecks(), StressTesting(), SystemProcessTestWorker(), and SystemProcessWorker().
|
static |
Definition at line 16 of file ZwMapViewOfSection.c.
Referenced by START_TEST().