mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-04-19 05:32:55 +00:00
Small fixes
This commit is contained in:
parent
30daca5444
commit
3d4145b6a4
@ -74,7 +74,6 @@ namespace
|
||||
|
||||
debug_log("Level: %d\n", static_cast<int>(KeGetCurrentIrql()));
|
||||
|
||||
|
||||
process::scoped_process_attacher attacher{process_handle};
|
||||
translation_hints = vmx::ept::generate_translation_hints(r.target_address, r.source_data_size);
|
||||
});
|
||||
@ -112,7 +111,6 @@ namespace
|
||||
debug_log("Hello from the Driver!\n");
|
||||
break;
|
||||
case HOOK_DRV_IOCTL:
|
||||
|
||||
apply_hook(static_cast<hook_request*>(irp_sp->Parameters.DeviceIoControl.Type3InputBuffer));
|
||||
break;
|
||||
default:
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <iostream>
|
||||
#include <conio.h>
|
||||
|
||||
#include "std_include.hpp"
|
||||
#include "finally.hpp"
|
||||
@ -79,7 +80,9 @@ void unsafe_main(const int /*argc*/, char* /*argv*/[])
|
||||
|
||||
(void)driver_device.send(HOOK_DRV_IOCTL, input);
|
||||
|
||||
MessageBoxA(0, "Press ok to exit!", 0, 0);
|
||||
//MessageBoxA(0, "Press ok to exit!", 0, 0);
|
||||
printf("Press any key to exit!\n");
|
||||
_getch();
|
||||
}
|
||||
|
||||
int main(const int argc, char* argv[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user