mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-09-04 16:07:25 +00:00
Fix formatting
This commit is contained in:
@@ -34,7 +34,7 @@ bool driver_device::send(const DWORD ioctl_code, const data& input, data& output
|
||||
static_cast<DWORD>(output.size()),
|
||||
&size_returned,
|
||||
nullptr
|
||||
) != FALSE;
|
||||
) != FALSE;
|
||||
|
||||
if (success && size_returned < output.size())
|
||||
{
|
||||
|
@@ -52,7 +52,7 @@ std::vector<uint8_t> load_resource(const int id)
|
||||
auto* const handle = LoadResource(nullptr, res);
|
||||
if (!handle) return {};
|
||||
|
||||
const auto* data_ptr =static_cast<uint8_t*>(LockResource(handle));
|
||||
const auto* data_ptr = static_cast<uint8_t*>(LockResource(handle));
|
||||
const auto data_size = SizeofResource(nullptr, res);
|
||||
|
||||
std::vector<uint8_t> data{};
|
||||
@@ -78,7 +78,7 @@ void unsafe_main(const int /*argc*/, char* /*argv*/[])
|
||||
{
|
||||
const auto driver_file = extract_driver();
|
||||
|
||||
driver driver{ driver_file, "MomoLul"};
|
||||
driver driver{driver_file, "MomoLul"};
|
||||
const driver_device driver_device{R"(\\.\HelloDev)"};
|
||||
|
||||
std::string pid_str{};
|
||||
|
Reference in New Issue
Block a user