1 /* 2 * PROJECT: ReactOS kernel-mode tests 3 * LICENSE: LGPL-2.1+ (https://spdx.org/licenses/LGPL-2.1+) 4 * PURPOSE: Kernel-Mode Test Suite kernel-mode test list 5 */ 6 7 #include <kmt_test.h> 8 9 KMT_TESTFUNC Test_CmSecurity; 10 KMT_TESTFUNC Test_Example; 11 KMT_TESTFUNC Test_ExCallback; 12 KMT_TESTFUNC Test_ExDoubleList; 13 KMT_TESTFUNC Test_ExFastMutex; 14 KMT_TESTFUNC Test_ExHardError; 15 KMT_TESTFUNC Test_ExHardErrorInteractive; 16 KMT_TESTFUNC Test_ExInterlocked; 17 KMT_TESTFUNC Test_ExPools; 18 KMT_TESTFUNC Test_ExResource; 19 KMT_TESTFUNC Test_ExSequencedList; 20 KMT_TESTFUNC Test_ExSingleList; 21 KMT_TESTFUNC Test_ExTimer; 22 KMT_TESTFUNC Test_ExUuid; 23 KMT_TESTFUNC Test_FsRtlDissect; 24 KMT_TESTFUNC Test_FsRtlExpression; 25 KMT_TESTFUNC Test_FsRtlLegal; 26 KMT_TESTFUNC Test_FsRtlMcb; 27 KMT_TESTFUNC Test_FsRtlRemoveDotsFromPath; 28 KMT_TESTFUNC Test_FsRtlTunnel; 29 KMT_TESTFUNC Test_IoCreateFile; 30 KMT_TESTFUNC Test_IoDeviceInterface; 31 KMT_TESTFUNC Test_IoEvent; 32 KMT_TESTFUNC Test_IoFilesystem; 33 KMT_TESTFUNC Test_IoInterrupt; 34 KMT_TESTFUNC Test_IoIrp; 35 KMT_TESTFUNC Test_IoMdl; 36 KMT_TESTFUNC Test_IoVolume; 37 KMT_TESTFUNC Test_KeApc; 38 KMT_TESTFUNC Test_KeDeviceQueue; 39 KMT_TESTFUNC Test_KeDpc; 40 KMT_TESTFUNC Test_KeEvent; 41 KMT_TESTFUNC Test_KeGuardedMutex; 42 KMT_TESTFUNC Test_KeIrql; 43 KMT_TESTFUNC Test_KeMutex; 44 KMT_TESTFUNC Test_KeProcessor; 45 KMT_TESTFUNC Test_KeSpinLock; 46 KMT_TESTFUNC Test_KeTimer; 47 KMT_TESTFUNC Test_KernelType; 48 KMT_TESTFUNC Test_MmMdl; 49 KMT_TESTFUNC Test_MmSection; 50 KMT_TESTFUNC Test_MmReservedMapping; 51 KMT_TESTFUNC Test_NpfsConnect; 52 KMT_TESTFUNC Test_NpfsCreate; 53 KMT_TESTFUNC Test_NpfsFileInfo; 54 KMT_TESTFUNC Test_NpfsReadWrite; 55 KMT_TESTFUNC Test_NpfsVolumeInfo; 56 KMT_TESTFUNC Test_ObHandle; 57 KMT_TESTFUNC Test_ObReference; 58 KMT_TESTFUNC Test_ObSecurity; 59 KMT_TESTFUNC Test_ObSymbolicLink; 60 KMT_TESTFUNC Test_ObType; 61 KMT_TESTFUNC Test_ObTypeClean; 62 KMT_TESTFUNC Test_ObTypeNoClean; 63 KMT_TESTFUNC Test_ObTypes; 64 KMT_TESTFUNC Test_PsNotify; 65 KMT_TESTFUNC Test_SeInheritance; 66 KMT_TESTFUNC Test_SeQueryInfoToken; 67 KMT_TESTFUNC Test_RtlAvlTree; 68 KMT_TESTFUNC Test_RtlException; 69 KMT_TESTFUNC Test_RtlIntSafe; 70 KMT_TESTFUNC Test_RtlIsValidOemCharacter; 71 KMT_TESTFUNC Test_RtlMemory; 72 KMT_TESTFUNC Test_RtlRegistry; 73 KMT_TESTFUNC Test_RtlSplayTree; 74 KMT_TESTFUNC Test_RtlStack; 75 KMT_TESTFUNC Test_RtlUnicodeString; 76 KMT_TESTFUNC Test_ZwAllocateVirtualMemory; 77 KMT_TESTFUNC Test_ZwCreateSection; 78 KMT_TESTFUNC Test_ZwMapViewOfSection; 79 KMT_TESTFUNC Test_ZwWaitForMultipleObjects; 80 81 const KMT_TEST TestList[] = 82 { 83 { "CmSecurity", Test_CmSecurity }, 84 { "ExCallback", Test_ExCallback }, 85 { "ExDoubleList", Test_ExDoubleList }, 86 { "ExFastMutex", Test_ExFastMutex }, 87 { "ExHardError", Test_ExHardError }, 88 { "-ExHardErrorInteractive", Test_ExHardErrorInteractive }, 89 { "ExInterlocked", Test_ExInterlocked }, 90 { "ExPools", Test_ExPools }, 91 { "ExResource", Test_ExResource }, 92 { "ExSequencedList", Test_ExSequencedList }, 93 { "ExSingleList", Test_ExSingleList }, 94 { "-ExTimer", Test_ExTimer }, 95 { "ExUuid", Test_ExUuid }, 96 { "Example", Test_Example }, 97 { "FsRtlDissect", Test_FsRtlDissect }, 98 { "FsRtlExpression", Test_FsRtlExpression }, 99 { "FsRtlLegal", Test_FsRtlLegal }, 100 { "FsRtlMcb", Test_FsRtlMcb }, 101 { "FsRtlRemoveDotsFromPath", Test_FsRtlRemoveDotsFromPath }, 102 { "FsRtlTunnel", Test_FsRtlTunnel }, 103 { "IoCreateFile", Test_IoCreateFile }, 104 { "IoDeviceInterface", Test_IoDeviceInterface }, 105 { "IoEvent", Test_IoEvent }, 106 { "IoFilesystem", Test_IoFilesystem }, 107 { "IoInterrupt", Test_IoInterrupt }, 108 { "IoIrp", Test_IoIrp }, 109 { "IoMdl", Test_IoMdl }, 110 { "IoVolume", Test_IoVolume }, 111 { "KeApc", Test_KeApc }, 112 { "KeDeviceQueue", Test_KeDeviceQueue }, 113 { "KeDpc", Test_KeDpc }, 114 { "KeEvent", Test_KeEvent }, 115 { "KeGuardedMutex", Test_KeGuardedMutex }, 116 { "KeIrql", Test_KeIrql }, 117 { "KeMutex", Test_KeMutex }, 118 { "-KeProcessor", Test_KeProcessor }, 119 { "KeSpinLock", Test_KeSpinLock }, 120 { "KeTimer", Test_KeTimer }, 121 { "-KernelType", Test_KernelType }, 122 { "MmMdl", Test_MmMdl }, 123 { "MmSection", Test_MmSection }, 124 { "MmReservedMapping", Test_MmReservedMapping }, 125 { "NpfsConnect", Test_NpfsConnect }, 126 { "NpfsCreate", Test_NpfsCreate }, 127 { "NpfsFileInfo", Test_NpfsFileInfo }, 128 { "NpfsReadWrite", Test_NpfsReadWrite }, 129 { "NpfsVolumeInfo", Test_NpfsVolumeInfo }, 130 { "ObHandle", Test_ObHandle }, 131 { "ObReference", Test_ObReference }, 132 { "ObSecurity", Test_ObSecurity }, 133 { "ObSymbolicLink", Test_ObSymbolicLink }, 134 { "ObType", Test_ObType }, 135 { "-ObTypeClean", Test_ObTypeClean }, 136 { "-ObTypeNoClean", Test_ObTypeNoClean }, 137 { "ObTypes", Test_ObTypes }, 138 { "PsNotify", Test_PsNotify }, 139 { "RtlAvlTreeKM", Test_RtlAvlTree }, 140 { "RtlExceptionKM", Test_RtlException }, 141 { "RtlIntSafeKM", Test_RtlIntSafe }, 142 { "RtlIsValidOemCharacter", Test_RtlIsValidOemCharacter }, 143 { "RtlMemoryKM", Test_RtlMemory }, 144 { "RtlRegistryKM", Test_RtlRegistry }, 145 { "RtlSplayTreeKM", Test_RtlSplayTree }, 146 { "RtlStackKM", Test_RtlStack }, 147 { "RtlUnicodeStringKM", Test_RtlUnicodeString }, 148 { "SeInheritance", Test_SeInheritance }, 149 { "SeQueryInfoToken", Test_SeQueryInfoToken }, 150 { "ZwAllocateVirtualMemory", Test_ZwAllocateVirtualMemory }, 151 { "ZwCreateSection", Test_ZwCreateSection }, 152 { "ZwMapViewOfSection", Test_ZwMapViewOfSection }, 153 { "ZwWaitForMultipleObjects", Test_ZwWaitForMultipleObjects}, 154 { NULL, NULL } 155 }; 156