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