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_HalSystemInfo; 30 KMT_TESTFUNC Test_IoCreateFile; 31 KMT_TESTFUNC Test_IoDeviceInterface; 32 KMT_TESTFUNC Test_IoEvent; 33 KMT_TESTFUNC Test_IoFilesystem; 34 KMT_TESTFUNC Test_IoInterrupt; 35 KMT_TESTFUNC Test_IoIrp; 36 KMT_TESTFUNC Test_IoMdl; 37 KMT_TESTFUNC Test_IoVolume; 38 KMT_TESTFUNC Test_KeApc; 39 KMT_TESTFUNC Test_KeDeviceQueue; 40 KMT_TESTFUNC Test_KeDpc; 41 KMT_TESTFUNC Test_KeEvent; 42 KMT_TESTFUNC Test_KeFloatPointState; 43 KMT_TESTFUNC Test_KeGuardedMutex; 44 KMT_TESTFUNC Test_KeIrql; 45 KMT_TESTFUNC Test_KeMutex; 46 KMT_TESTFUNC Test_KeProcessor; 47 KMT_TESTFUNC Test_KeSpinLock; 48 KMT_TESTFUNC Test_KeTimer; 49 KMT_TESTFUNC Test_KernelType; 50 KMT_TESTFUNC Test_MmMdl; 51 KMT_TESTFUNC Test_MmSection; 52 KMT_TESTFUNC Test_MmReservedMapping; 53 KMT_TESTFUNC Test_NpfsConnect; 54 KMT_TESTFUNC Test_NpfsCreate; 55 KMT_TESTFUNC Test_NpfsFileInfo; 56 KMT_TESTFUNC Test_NpfsReadWrite; 57 KMT_TESTFUNC Test_NpfsVolumeInfo; 58 KMT_TESTFUNC Test_ObHandle; 59 KMT_TESTFUNC Test_ObQuery; 60 KMT_TESTFUNC Test_ObReference; 61 KMT_TESTFUNC Test_ObSecurity; 62 KMT_TESTFUNC Test_ObSymbolicLink; 63 KMT_TESTFUNC Test_ObType; 64 KMT_TESTFUNC Test_ObTypeClean; 65 KMT_TESTFUNC Test_ObTypeNoClean; 66 KMT_TESTFUNC Test_ObTypes; 67 KMT_TESTFUNC Test_PsNotify; 68 KMT_TESTFUNC Test_PsQuota; 69 KMT_TESTFUNC Test_SeInheritance; 70 KMT_TESTFUNC Test_SeLogonSession; 71 KMT_TESTFUNC Test_SeQueryInfoToken; 72 KMT_TESTFUNC Test_SeTokenFiltering; 73 KMT_TESTFUNC Test_RtlAvlTree; 74 KMT_TESTFUNC Test_RtlException; 75 KMT_TESTFUNC Test_RtlIntSafe; 76 KMT_TESTFUNC Test_RtlIsValidOemCharacter; 77 KMT_TESTFUNC Test_RtlMemory; 78 KMT_TESTFUNC Test_RtlRangeList; 79 KMT_TESTFUNC Test_RtlRegistry; 80 KMT_TESTFUNC Test_RtlSplayTree; 81 KMT_TESTFUNC Test_RtlStack; 82 KMT_TESTFUNC Test_RtlStrSafe; 83 KMT_TESTFUNC Test_RtlUnicodeString; 84 KMT_TESTFUNC Test_ZwAllocateVirtualMemory; 85 KMT_TESTFUNC Test_ZwCreateSection; 86 KMT_TESTFUNC Test_ZwMapViewOfSection; 87 KMT_TESTFUNC Test_ZwWaitForMultipleObjects; 88 89 const KMT_TEST TestList[] = 90 { 91 { "CmSecurity", Test_CmSecurity }, 92 { "ExCallback", Test_ExCallback }, 93 { "ExDoubleList", Test_ExDoubleList }, 94 { "ExFastMutex", Test_ExFastMutex }, 95 { "ExHardError", Test_ExHardError }, 96 { "-ExHardErrorInteractive", Test_ExHardErrorInteractive }, 97 { "ExInterlocked", Test_ExInterlocked }, 98 { "ExPools", Test_ExPools }, 99 { "ExResource", Test_ExResource }, 100 { "ExSequencedList", Test_ExSequencedList }, 101 { "ExSingleList", Test_ExSingleList }, 102 { "-ExTimer", Test_ExTimer }, 103 { "ExUuid", Test_ExUuid }, 104 { "Example", Test_Example }, 105 { "FsRtlDissect", Test_FsRtlDissect }, 106 { "FsRtlExpression", Test_FsRtlExpression }, 107 { "FsRtlLegal", Test_FsRtlLegal }, 108 { "FsRtlMcb", Test_FsRtlMcb }, 109 { "FsRtlRemoveDotsFromPath", Test_FsRtlRemoveDotsFromPath }, 110 { "FsRtlTunnel", Test_FsRtlTunnel }, 111 { "HalSystemInfo", Test_HalSystemInfo }, 112 { "IoCreateFile", Test_IoCreateFile }, 113 { "IoDeviceInterface", Test_IoDeviceInterface }, 114 { "IoEvent", Test_IoEvent }, 115 { "IoFilesystem", Test_IoFilesystem }, 116 { "IoInterrupt", Test_IoInterrupt }, 117 { "IoIrp", Test_IoIrp }, 118 { "IoMdl", Test_IoMdl }, 119 { "IoVolume", Test_IoVolume }, 120 { "KeApc", Test_KeApc }, 121 { "KeDeviceQueue", Test_KeDeviceQueue }, 122 { "KeDpc", Test_KeDpc }, 123 { "KeEvent", Test_KeEvent }, 124 { "KeFloatPointState", Test_KeFloatPointState }, 125 { "KeGuardedMutex", Test_KeGuardedMutex }, 126 { "KeIrql", Test_KeIrql }, 127 { "KeMutex", Test_KeMutex }, 128 { "-KeProcessor", Test_KeProcessor }, 129 { "KeSpinLock", Test_KeSpinLock }, 130 { "KeTimer", Test_KeTimer }, 131 { "-KernelType", Test_KernelType }, 132 { "MmMdl", Test_MmMdl }, 133 { "MmSection", Test_MmSection }, 134 { "MmReservedMapping", Test_MmReservedMapping }, 135 { "NpfsConnect", Test_NpfsConnect }, 136 { "NpfsCreate", Test_NpfsCreate }, 137 { "NpfsFileInfo", Test_NpfsFileInfo }, 138 { "NpfsReadWrite", Test_NpfsReadWrite }, 139 { "NpfsVolumeInfo", Test_NpfsVolumeInfo }, 140 { "ObHandle", Test_ObHandle }, 141 { "ObQuery", Test_ObQuery }, 142 { "ObReference", Test_ObReference }, 143 { "ObSecurity", Test_ObSecurity }, 144 { "ObSymbolicLink", Test_ObSymbolicLink }, 145 { "ObType", Test_ObType }, 146 { "-ObTypeClean", Test_ObTypeClean }, 147 { "-ObTypeNoClean", Test_ObTypeNoClean }, 148 { "ObTypes", Test_ObTypes }, 149 { "PsNotify", Test_PsNotify }, 150 { "PsQuota", Test_PsQuota }, 151 { "RtlAvlTreeKM", Test_RtlAvlTree }, 152 { "RtlExceptionKM", Test_RtlException }, 153 { "RtlIntSafeKM", Test_RtlIntSafe }, 154 { "RtlIsValidOemCharacter", Test_RtlIsValidOemCharacter }, 155 { "RtlMemoryKM", Test_RtlMemory }, 156 { "RtlRangeList", Test_RtlRangeList }, 157 { "RtlRegistryKM", Test_RtlRegistry }, 158 { "RtlSplayTreeKM", Test_RtlSplayTree }, 159 { "RtlStackKM", Test_RtlStack }, 160 { "RtlStrSafeKM", Test_RtlStrSafe }, 161 { "RtlUnicodeStringKM", Test_RtlUnicodeString }, 162 { "SeInheritance", Test_SeInheritance }, 163 { "SeLogonSession", Test_SeLogonSession }, 164 { "SeQueryInfoToken", Test_SeQueryInfoToken }, 165 { "SeTokenFiltering", Test_SeTokenFiltering }, 166 { "ZwAllocateVirtualMemory", Test_ZwAllocateVirtualMemory }, 167 { "ZwCreateSection", Test_ZwCreateSection }, 168 { "ZwMapViewOfSection", Test_ZwMapViewOfSection }, 169 { "ZwWaitForMultipleObjects", Test_ZwWaitForMultipleObjects}, 170 { NULL, NULL } 171 }; 172