all repos — gemini-redirect @ 61be4bd4f9099c8fd4faccde0bd5b3a8db4c1ce1

Avoid misleading terminology
Lonami Exo totufals@hotmail.com
Sat, 20 Feb 2021 00:08:04 +0100
commit

61be4bd4f9099c8fd4faccde0bd5b3a8db4c1ce1

parent

a426696024418031df1f0b35f4a364f9fe47881a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M content/blog/woce-2.mdcontent/blog/woce-2.md

@@ -436,7 +436,7 @@ ```

## Modifying memory -Now that we have very likely locations pointing to our current health in memory, all that's left is writing our new desired value to gain infinite health[^9]. Much like there's a call to `ReadProcessMemory`, there's a different one to [`WriteProcessMemory`][writemem]. Its usage is straightforward: +Now that we have very likely locations pointing to our current health in memory, all that's left is writing our new desired value to gain infinite health[^9]. Much like how we're able to read memory with `ReadProcessMemory`, we can write to it with [`WriteProcessMemory`][writemem]. Its usage is straightforward: ```rust pub fn write_memory(&self, addr: usize, value: &[u8]) -> io::Result<usize> {