2011-06-10 05:34:00 +00:00
|
|
|
/*
|
2018-02-18 10:14:13 +00:00
|
|
|
* PROJECT: ReactOS kernel-mode tests
|
|
|
|
* LICENSE: LGPL-2.1+ (https://spdx.org/licenses/LGPL-2.1+)
|
|
|
|
* PURPOSE: Kernel-Mode Test Suite kernel-mode test list
|
2011-06-10 05:34:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <kmt_test.h>
|
|
|
|
|
2015-09-18 11:06:11 +00:00
|
|
|
KMT_TESTFUNC Test_CmSecurity;
|
2011-06-13 17:29:02 +00:00
|
|
|
KMT_TESTFUNC Test_Example;
|
2012-06-14 18:43:32 +00:00
|
|
|
KMT_TESTFUNC Test_ExCallback;
|
2011-07-25 20:12:44 +00:00
|
|
|
KMT_TESTFUNC Test_ExDoubleList;
|
2011-08-05 21:07:52 +00:00
|
|
|
KMT_TESTFUNC Test_ExFastMutex;
|
2011-07-13 20:08:05 +00:00
|
|
|
KMT_TESTFUNC Test_ExHardError;
|
|
|
|
KMT_TESTFUNC Test_ExHardErrorInteractive;
|
|
|
|
KMT_TESTFUNC Test_ExInterlocked;
|
2011-06-27 08:49:23 +00:00
|
|
|
KMT_TESTFUNC Test_ExPools;
|
2011-07-09 22:02:54 +00:00
|
|
|
KMT_TESTFUNC Test_ExResource;
|
2011-08-21 16:08:27 +00:00
|
|
|
KMT_TESTFUNC Test_ExSequencedList;
|
2011-07-25 20:12:44 +00:00
|
|
|
KMT_TESTFUNC Test_ExSingleList;
|
2011-06-27 08:49:23 +00:00
|
|
|
KMT_TESTFUNC Test_ExTimer;
|
2019-03-02 09:29:26 +00:00
|
|
|
KMT_TESTFUNC Test_ExUuid;
|
2015-12-01 14:22:17 +00:00
|
|
|
KMT_TESTFUNC Test_FsRtlDissect;
|
2011-06-27 08:49:23 +00:00
|
|
|
KMT_TESTFUNC Test_FsRtlExpression;
|
2015-12-01 14:22:17 +00:00
|
|
|
KMT_TESTFUNC Test_FsRtlLegal;
|
2013-04-23 21:34:59 +00:00
|
|
|
KMT_TESTFUNC Test_FsRtlMcb;
|
2016-03-25 18:53:43 +00:00
|
|
|
KMT_TESTFUNC Test_FsRtlRemoveDotsFromPath;
|
2013-06-05 22:50:57 +00:00
|
|
|
KMT_TESTFUNC Test_FsRtlTunnel;
|
2020-10-31 11:26:27 +00:00
|
|
|
KMT_TESTFUNC Test_HalSystemInfo;
|
2014-04-23 19:44:03 +00:00
|
|
|
KMT_TESTFUNC Test_IoCreateFile;
|
2011-06-27 08:49:23 +00:00
|
|
|
KMT_TESTFUNC Test_IoDeviceInterface;
|
2012-09-21 22:12:47 +00:00
|
|
|
KMT_TESTFUNC Test_IoEvent;
|
2015-11-12 12:55:26 +00:00
|
|
|
KMT_TESTFUNC Test_IoFilesystem;
|
2011-08-24 14:09:53 +00:00
|
|
|
KMT_TESTFUNC Test_IoInterrupt;
|
2011-06-27 08:49:23 +00:00
|
|
|
KMT_TESTFUNC Test_IoIrp;
|
|
|
|
KMT_TESTFUNC Test_IoMdl;
|
2019-03-29 08:08:36 +00:00
|
|
|
KMT_TESTFUNC Test_IoVolume;
|
2011-07-09 22:02:54 +00:00
|
|
|
KMT_TESTFUNC Test_KeApc;
|
2013-06-08 10:19:26 +00:00
|
|
|
KMT_TESTFUNC Test_KeDeviceQueue;
|
2011-07-08 06:38:01 +00:00
|
|
|
KMT_TESTFUNC Test_KeDpc;
|
2011-08-05 21:07:52 +00:00
|
|
|
KMT_TESTFUNC Test_KeEvent;
|
2011-08-22 10:01:02 +00:00
|
|
|
KMT_TESTFUNC Test_KeGuardedMutex;
|
2011-07-08 06:38:01 +00:00
|
|
|
KMT_TESTFUNC Test_KeIrql;
|
2012-09-28 07:09:08 +00:00
|
|
|
KMT_TESTFUNC Test_KeMutex;
|
2011-06-27 08:49:23 +00:00
|
|
|
KMT_TESTFUNC Test_KeProcessor;
|
2015-02-15 09:29:32 +00:00
|
|
|
KMT_TESTFUNC Test_KeSpinLock;
|
2011-10-07 16:13:03 +00:00
|
|
|
KMT_TESTFUNC Test_KeTimer;
|
2011-07-22 11:51:18 +00:00
|
|
|
KMT_TESTFUNC Test_KernelType;
|
2015-06-26 07:31:01 +00:00
|
|
|
KMT_TESTFUNC Test_MmMdl;
|
2011-09-11 11:22:00 +00:00
|
|
|
KMT_TESTFUNC Test_MmSection;
|
2015-09-10 09:58:02 +00:00
|
|
|
KMT_TESTFUNC Test_MmReservedMapping;
|
2014-04-09 18:00:33 +00:00
|
|
|
KMT_TESTFUNC Test_NpfsConnect;
|
|
|
|
KMT_TESTFUNC Test_NpfsCreate;
|
2014-04-13 16:16:30 +00:00
|
|
|
KMT_TESTFUNC Test_NpfsFileInfo;
|
2014-04-09 18:00:33 +00:00
|
|
|
KMT_TESTFUNC Test_NpfsReadWrite;
|
2014-04-12 12:06:47 +00:00
|
|
|
KMT_TESTFUNC Test_NpfsVolumeInfo;
|
2015-10-17 15:50:25 +00:00
|
|
|
KMT_TESTFUNC Test_ObHandle;
|
2011-09-03 19:42:02 +00:00
|
|
|
KMT_TESTFUNC Test_ObReference;
|
2016-10-17 09:28:15 +00:00
|
|
|
KMT_TESTFUNC Test_ObSecurity;
|
2016-07-03 09:23:37 +00:00
|
|
|
KMT_TESTFUNC Test_ObSymbolicLink;
|
2011-08-06 17:09:39 +00:00
|
|
|
KMT_TESTFUNC Test_ObType;
|
|
|
|
KMT_TESTFUNC Test_ObTypeClean;
|
|
|
|
KMT_TESTFUNC Test_ObTypeNoClean;
|
2012-04-21 09:06:54 +00:00
|
|
|
KMT_TESTFUNC Test_ObTypes;
|
2012-06-14 18:43:32 +00:00
|
|
|
KMT_TESTFUNC Test_PsNotify;
|
2014-11-04 22:42:15 +00:00
|
|
|
KMT_TESTFUNC Test_SeInheritance;
|
2021-06-17 16:12:12 +00:00
|
|
|
KMT_TESTFUNC Test_SeLogonSession;
|
2013-06-05 23:16:14 +00:00
|
|
|
KMT_TESTFUNC Test_SeQueryInfoToken;
|
2011-08-03 11:21:35 +00:00
|
|
|
KMT_TESTFUNC Test_RtlAvlTree;
|
2012-04-27 08:36:58 +00:00
|
|
|
KMT_TESTFUNC Test_RtlException;
|
2013-11-14 09:19:16 +00:00
|
|
|
KMT_TESTFUNC Test_RtlIntSafe;
|
2016-09-04 22:15:53 +00:00
|
|
|
KMT_TESTFUNC Test_RtlIsValidOemCharacter;
|
2011-07-26 07:40:19 +00:00
|
|
|
KMT_TESTFUNC Test_RtlMemory;
|
2020-06-13 10:24:35 +00:00
|
|
|
KMT_TESTFUNC Test_RtlRangeList;
|
2013-07-20 19:33:13 +00:00
|
|
|
KMT_TESTFUNC Test_RtlRegistry;
|
2011-08-03 11:21:35 +00:00
|
|
|
KMT_TESTFUNC Test_RtlSplayTree;
|
2017-05-06 15:29:56 +00:00
|
|
|
KMT_TESTFUNC Test_RtlStack;
|
2018-04-21 06:56:12 +00:00
|
|
|
KMT_TESTFUNC Test_RtlStrSafe;
|
2015-02-27 22:42:35 +00:00
|
|
|
KMT_TESTFUNC Test_RtlUnicodeString;
|
2013-04-27 18:33:50 +00:00
|
|
|
KMT_TESTFUNC Test_ZwAllocateVirtualMemory;
|
|
|
|
KMT_TESTFUNC Test_ZwCreateSection;
|
|
|
|
KMT_TESTFUNC Test_ZwMapViewOfSection;
|
2015-09-28 12:25:38 +00:00
|
|
|
KMT_TESTFUNC Test_ZwWaitForMultipleObjects;
|
2011-06-13 17:29:02 +00:00
|
|
|
|
2011-06-10 05:34:00 +00:00
|
|
|
const KMT_TEST TestList[] =
|
|
|
|
{
|
2015-09-18 11:06:11 +00:00
|
|
|
{ "CmSecurity", Test_CmSecurity },
|
2012-06-14 18:43:32 +00:00
|
|
|
{ "ExCallback", Test_ExCallback },
|
2011-07-25 20:12:44 +00:00
|
|
|
{ "ExDoubleList", Test_ExDoubleList },
|
2011-08-05 21:07:52 +00:00
|
|
|
{ "ExFastMutex", Test_ExFastMutex },
|
2011-07-13 20:08:05 +00:00
|
|
|
{ "ExHardError", Test_ExHardError },
|
|
|
|
{ "-ExHardErrorInteractive", Test_ExHardErrorInteractive },
|
|
|
|
{ "ExInterlocked", Test_ExInterlocked },
|
2011-07-11 18:03:19 +00:00
|
|
|
{ "ExPools", Test_ExPools },
|
|
|
|
{ "ExResource", Test_ExResource },
|
2011-08-21 16:08:27 +00:00
|
|
|
{ "ExSequencedList", Test_ExSequencedList },
|
2011-07-25 20:12:44 +00:00
|
|
|
{ "ExSingleList", Test_ExSingleList },
|
2011-08-22 09:56:36 +00:00
|
|
|
{ "-ExTimer", Test_ExTimer },
|
2019-03-02 09:29:26 +00:00
|
|
|
{ "ExUuid", Test_ExUuid },
|
2011-07-22 11:33:17 +00:00
|
|
|
{ "Example", Test_Example },
|
2015-12-01 14:22:17 +00:00
|
|
|
{ "FsRtlDissect", Test_FsRtlDissect },
|
2011-07-11 18:03:19 +00:00
|
|
|
{ "FsRtlExpression", Test_FsRtlExpression },
|
2015-12-01 14:22:17 +00:00
|
|
|
{ "FsRtlLegal", Test_FsRtlLegal },
|
2014-11-14 19:43:39 +00:00
|
|
|
{ "FsRtlMcb", Test_FsRtlMcb },
|
2016-03-25 18:53:43 +00:00
|
|
|
{ "FsRtlRemoveDotsFromPath", Test_FsRtlRemoveDotsFromPath },
|
2015-05-24 17:42:52 +00:00
|
|
|
{ "FsRtlTunnel", Test_FsRtlTunnel },
|
2020-10-31 11:26:27 +00:00
|
|
|
{ "HalSystemInfo", Test_HalSystemInfo },
|
2014-04-23 19:44:03 +00:00
|
|
|
{ "IoCreateFile", Test_IoCreateFile },
|
2011-07-11 18:03:19 +00:00
|
|
|
{ "IoDeviceInterface", Test_IoDeviceInterface },
|
2012-09-21 22:12:47 +00:00
|
|
|
{ "IoEvent", Test_IoEvent },
|
2015-11-12 12:55:26 +00:00
|
|
|
{ "IoFilesystem", Test_IoFilesystem },
|
2011-08-24 14:09:53 +00:00
|
|
|
{ "IoInterrupt", Test_IoInterrupt },
|
2011-07-11 18:03:19 +00:00
|
|
|
{ "IoIrp", Test_IoIrp },
|
|
|
|
{ "IoMdl", Test_IoMdl },
|
2019-03-29 08:08:36 +00:00
|
|
|
{ "IoVolume", Test_IoVolume },
|
2011-07-11 18:03:19 +00:00
|
|
|
{ "KeApc", Test_KeApc },
|
2013-06-08 10:19:26 +00:00
|
|
|
{ "KeDeviceQueue", Test_KeDeviceQueue },
|
2011-07-11 18:03:19 +00:00
|
|
|
{ "KeDpc", Test_KeDpc },
|
2011-08-05 21:07:52 +00:00
|
|
|
{ "KeEvent", Test_KeEvent },
|
2011-08-22 10:01:02 +00:00
|
|
|
{ "KeGuardedMutex", Test_KeGuardedMutex },
|
2011-07-11 18:03:19 +00:00
|
|
|
{ "KeIrql", Test_KeIrql },
|
2012-09-28 07:09:08 +00:00
|
|
|
{ "KeMutex", Test_KeMutex },
|
2011-09-10 10:48:07 +00:00
|
|
|
{ "-KeProcessor", Test_KeProcessor },
|
2015-02-15 10:23:21 +00:00
|
|
|
{ "KeSpinLock", Test_KeSpinLock },
|
2011-10-07 16:13:03 +00:00
|
|
|
{ "KeTimer", Test_KeTimer },
|
2011-07-22 12:01:48 +00:00
|
|
|
{ "-KernelType", Test_KernelType },
|
2015-06-26 07:31:01 +00:00
|
|
|
{ "MmMdl", Test_MmMdl },
|
2011-09-11 11:22:00 +00:00
|
|
|
{ "MmSection", Test_MmSection },
|
2015-09-10 09:58:02 +00:00
|
|
|
{ "MmReservedMapping", Test_MmReservedMapping },
|
2014-04-09 18:00:33 +00:00
|
|
|
{ "NpfsConnect", Test_NpfsConnect },
|
|
|
|
{ "NpfsCreate", Test_NpfsCreate },
|
2014-04-13 16:16:30 +00:00
|
|
|
{ "NpfsFileInfo", Test_NpfsFileInfo },
|
2014-04-09 18:00:33 +00:00
|
|
|
{ "NpfsReadWrite", Test_NpfsReadWrite },
|
2014-04-12 12:06:47 +00:00
|
|
|
{ "NpfsVolumeInfo", Test_NpfsVolumeInfo },
|
2015-10-17 15:50:25 +00:00
|
|
|
{ "ObHandle", Test_ObHandle },
|
2011-09-03 19:42:02 +00:00
|
|
|
{ "ObReference", Test_ObReference },
|
2016-10-17 09:28:15 +00:00
|
|
|
{ "ObSecurity", Test_ObSecurity },
|
2016-07-03 09:23:37 +00:00
|
|
|
{ "ObSymbolicLink", Test_ObSymbolicLink },
|
2011-08-06 17:09:39 +00:00
|
|
|
{ "ObType", Test_ObType },
|
|
|
|
{ "-ObTypeClean", Test_ObTypeClean },
|
|
|
|
{ "-ObTypeNoClean", Test_ObTypeNoClean },
|
2012-04-21 09:06:54 +00:00
|
|
|
{ "ObTypes", Test_ObTypes },
|
2012-06-14 18:43:32 +00:00
|
|
|
{ "PsNotify", Test_PsNotify },
|
2011-08-03 11:21:35 +00:00
|
|
|
{ "RtlAvlTreeKM", Test_RtlAvlTree },
|
2012-04-27 08:36:58 +00:00
|
|
|
{ "RtlExceptionKM", Test_RtlException },
|
2013-11-14 09:19:16 +00:00
|
|
|
{ "RtlIntSafeKM", Test_RtlIntSafe },
|
2016-09-04 22:15:53 +00:00
|
|
|
{ "RtlIsValidOemCharacter", Test_RtlIsValidOemCharacter },
|
2011-07-26 07:40:19 +00:00
|
|
|
{ "RtlMemoryKM", Test_RtlMemory },
|
2020-06-13 10:24:35 +00:00
|
|
|
{ "RtlRangeList", Test_RtlRangeList },
|
2013-07-20 19:33:13 +00:00
|
|
|
{ "RtlRegistryKM", Test_RtlRegistry },
|
2011-08-03 11:21:35 +00:00
|
|
|
{ "RtlSplayTreeKM", Test_RtlSplayTree },
|
2017-05-06 15:29:56 +00:00
|
|
|
{ "RtlStackKM", Test_RtlStack },
|
2018-04-21 06:56:12 +00:00
|
|
|
{ "RtlStrSafeKM", Test_RtlStrSafe },
|
2015-02-27 22:42:35 +00:00
|
|
|
{ "RtlUnicodeStringKM", Test_RtlUnicodeString },
|
2016-11-04 17:52:32 +00:00
|
|
|
{ "SeInheritance", Test_SeInheritance },
|
2021-06-17 16:12:12 +00:00
|
|
|
{ "SeLogonSession", Test_SeLogonSession },
|
2016-11-04 17:52:32 +00:00
|
|
|
{ "SeQueryInfoToken", Test_SeQueryInfoToken },
|
2013-04-27 18:33:50 +00:00
|
|
|
{ "ZwAllocateVirtualMemory", Test_ZwAllocateVirtualMemory },
|
|
|
|
{ "ZwCreateSection", Test_ZwCreateSection },
|
|
|
|
{ "ZwMapViewOfSection", Test_ZwMapViewOfSection },
|
2015-09-28 12:25:38 +00:00
|
|
|
{ "ZwWaitForMultipleObjects", Test_ZwWaitForMultipleObjects},
|
2011-07-11 18:03:19 +00:00
|
|
|
{ NULL, NULL }
|
2011-06-10 05:34:00 +00:00
|
|
|
};
|