You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xerox
e0e0619949
|
4 years ago | |
---|---|---|
LICENSE | 5 years ago | |
README.md | 5 years ago | |
loadup.hpp | 4 years ago |
README.md
loadup
Header only library for NtLoadDriver annd NtUnloadDriver. Registry entries and temp files that may be created are deleted when driver::unload(...)
is called.
examples
loading driver from buffer.
std::vector<std::uint8_t> drv_buffer(...);
const auto[result, reg_key] = driver::load(drv_buffer.data(), drv_buffer.size());
load driver from path on disk.
const bool result = driver::load("image.sys", "image_key");
unloading driver.
const bool result = driver::unload("image_key");