retrowin32 icon indicating copy to clipboard operation
retrowin32 copied to clipboard

Many unsafe memory operations

Open evmar opened this issue 11 months ago • 1 comments

This project does a lot of pointer-fiddling casts and dereferences that may violate memory safety. In many cases I am still figuring out the right interface to model memory etc., see issues like #23 and #26, and worrying about safety additionally isn't useful yet.

I would like to fix them someday. Per Rust they are all in "unsafe" blocks and easy to grep for. I created this bug just to fold others into it.

evmar avatar Jan 31 '25 17:01 evmar

$ git grep 'unsafe {'  | wc -l
     126

evmar avatar Jan 31 '25 17:01 evmar