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.

24 lines
425 B

5 years ago
# loadup
5 years ago
header only library for NtLoadDriver/NtUnloadDriver.
# examples
loading driver from buffer.
```cpp
std::vector<std::uint8_t> drv_buffer(...);
const auto[result, reg_key] = driver::load(drv_buffer.data(), drv_buffer.size());
5 years ago
```
load driver from path on disk.
```cpp
const bool result = driver::load("image.sys", "image_key");
```
unloading driver.
```cpp
const bool result = driver::unload("image_key");
5 years ago
```