Update main.cpp

merge-requests/1/head
xerox 4 years ago
parent 71557ef62d
commit 0c884f5a78

@ -21,11 +21,6 @@ int __cdecl main(int argc, char** argv)
physmeme::drv_image image(drv_buffer);
physmeme::kernel_ctx ctx;
//
// we dont need the driver loaded anymore
//
physmeme::unload_drv();
//
// lambdas used for fixing driver image
//
@ -87,6 +82,7 @@ int __cdecl main(int argc, char** argv)
// zero driver headers
//
ctx.zero_kernel_memory(pool_base, image.header_size());
physmeme::unload_drv();
printf("[=] press enter to close\n");
std::cin.get();
}
Loading…
Cancel
Save