darfink / detour-rs

A cross-platform detour library written in Rust
Other
389 stars 71 forks source link

Support starting of process with detours "pre-enabled" #34

Open minecrawler opened 1 year ago

minecrawler commented 1 year ago

I have a use-case where I want to start an arbitrary program and detour file IO in order to create a virtual fs (similar to usvfs). I think, DetourCreateProcessWithDlls from MS Detours is the correct function to use for that case. Does this library support such a use-case? If not, would it be possible to implement it? Or am I on an entirely wrong track?