1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-07-03 17:51:52 +00:00
This commit is contained in:
momo5502
2022-03-26 13:50:56 +01:00
parent b56b9e5afa
commit eef4a9a5a2
18 changed files with 225 additions and 63 deletions

View File

@ -258,11 +258,19 @@ void throw_test()
}
}
extern "C" void __cdecl __std_terminate()
{
KeBugCheckEx(DRIVER_VIOLATION, 14, 0, 0, 0);
}
extern "C" NTSTATUS DriverEntry(const PDRIVER_OBJECT DriverObject, PUNICODE_STRING /*RegistryPath*/)
{
DriverObject->DriverUnload = unload;
debug_log("Hello World\n");
delete(new int);
volatile long i = 0;
thread::dispatch_on_all_cores([&i]()