Update README.md

merge-requests/1/head
_xeroxz 4 years ago
parent a260b8b970
commit 8104aed8ee

@ -19,7 +19,7 @@ In order to create a `drv::hmdm_ctx`, one must first declare two lambdas. One la
*** ***
###### drv::kalloc_t - VDM Example ##### drv::kalloc_t - VDM Example
```cpp ```cpp
vdm::vdm_ctx vdm(_read_phys, _write_phys); vdm::vdm_ctx vdm(_read_phys, _write_phys);
@ -37,7 +37,7 @@ drv::kalloc_t _kalloc = [&](std::size_t size) -> void*
}; };
``` ```
###### drv::kmemcpy_t - VDM Example ##### drv::kmemcpy_t - VDM Example
***NOTE:*** The memcpy being called in this example is exported from ntoskrnl.exe and not in usermode. ***NOTE:*** The memcpy being called in this example is exported from ntoskrnl.exe and not in usermode.
@ -58,7 +58,7 @@ drv::kmemcpy_t _kmemcpy =
*** ***
###### drv::kalloc_t - MSREXEC Example ##### drv::kalloc_t - MSREXEC Example
***NOTE***: When using MSREXEC be aware that `vdm::msrexec_ctx::exec` returns void. This requires a programmer to make a nested lambda in order to obtain a result. ***NOTE***: When using MSREXEC be aware that `vdm::msrexec_ctx::exec` returns void. This requires a programmer to make a nested lambda in order to obtain a result.
@ -83,7 +83,7 @@ drv::kalloc_t _kalloc = [&](std::size_t size) -> void*
}; };
``` ```
###### drv::kmemcpy_t - MSREXEC Example ##### drv::kmemcpy_t - MSREXEC Example
```cpp ```cpp
drv::kmemcpy_t _kmemcpy = drv::kmemcpy_t _kmemcpy =

Loading…
Cancel
Save