mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-07-05 18:51:53 +00:00
Some cleanup
This commit is contained in:
@ -75,6 +75,15 @@ void unsafe_main(const int /*argc*/, char* /*argv*/[])
|
||||
hook_request.source_data = buffer;
|
||||
hook_request.source_data_size = sizeof(buffer);
|
||||
|
||||
input.assign(reinterpret_cast<uint8_t*>(&hook_request),
|
||||
reinterpret_cast<uint8_t*>(&hook_request) + sizeof(hook_request));
|
||||
|
||||
(void)driver_device.send(HOOK_DRV_IOCTL, input);
|
||||
|
||||
hook_request.target_address = (void*)0x47F6C7;
|
||||
hook_request.source_data = buffer;
|
||||
hook_request.source_data_size = sizeof(buffer);
|
||||
|
||||
input.assign(reinterpret_cast<uint8_t*>(&hook_request),
|
||||
reinterpret_cast<uint8_t*>(&hook_request) + sizeof(hook_request));
|
||||
|
||||
|
Reference in New Issue
Block a user