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