read-process-memory icon indicating copy to clipboard operation
read-process-memory copied to clipboard

Explore using `OwnedHandle`

Open acj opened this issue 1 year ago • 0 comments

Rust shipped with a stable std::os::windows::io::OwnedHandle (RFC) in 1.63. Let's consider using it as an improved ProcessHandle.

References:

  • https://doc.rust-lang.org/std/os/windows/io/struct.OwnedHandle.html
  • https://internals.rust-lang.org/t/pre-rfc-i-o-safety/14585
  • https://github.com/rbspy/read-process-memory/pull/16
  • https://github.com/rbspy/read-process-memory/pull/17
  • https://github.com/rbspy/read-process-memory/pull/21

acj avatar Dec 31 '23 13:12 acj