Update README.md

master
_xeroxz 3 years ago
parent a91a882ab9
commit 8326911cb5

@ -13,7 +13,19 @@ paging table manipulation from user-mode. operations such as getting and setting
# example
```cpp
vdm::vdm_ctx vdm;
vdm::read_phys_t _read_phys =
[&](void* addr, void* buffer, std::size_t size) -> bool
{
return vdm::read_phys(addr, buffer, size);
};
vdm::write_phys_t _write_phys =
[&](void* addr, void* buffer, std::size_t size) -> bool
{
return vdm::write_phys(addr, buffer, size);
};
vdm::vdm_ctx vdm(_read_phys, _write_phys);
nasa::mem_ctx my_proc(vdm);
const auto ntoskrnl_base =

Loading…
Cancel
Save