Hello there.
I'm trying to write some sort of dll hooking Library
Currently i have a problem and i don't know how to do it in Rust.
Simply i want to dereference a raw memory address, i know that it is existing, and the dll is injected and running in the same space of memory so i think we can simply access it.
To explain it more look at this example
let addr = 0x00401530; // it's an address to a function.
I need somehow to get a reference to that function so i can inspect/patch or make a detour to it.
If there's a simple way to do that in unsafe
rust, then how ? If not can we make it in C and link to it ?
Thanks