frida / frida-rust

Frida Rust bindings
Other
176 stars 46 forks source link

Request for Windows Example for Hooking Functions #114

Open 0xtyls opened 11 months ago

0xtyls commented 11 months ago

I've gone through the example provided for hooking open from libc on macOS and Linux. It's very informative, but I noticed there isn't a corresponding example for Windows.

Would it be possible to provide an example or some guidance on how this could be achieved on Windows? This would be greatly beneficial for those of us working on windows. Thank you!

s1341 commented 11 months ago

I think we'd be happy to accept a PR for such an example, as well as providing guidance for how to get this working.

What function would you like to hook as an example? The basic mechanism is identical.