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