zardus / preeny

Some helpful preload libraries for pwning stuff.
BSD 2-Clause "Simplified" License
1.57k stars 170 forks source link

Add nowrite #81

Closed maride closed 3 years ago

maride commented 3 years ago

Forces open to open files in readonly mode. This prevents chaos when fuzzing binaries that unpack archives. Binaries may still modify the FS with unlink/mkdir/... but open is a good start I guess :stuck_out_tongue_winking_eye:

zardus commented 3 years ago

Very cool, thanks!