Module libafl_bolts::fs
source · Expand description
LibAFL
functionality for filesystem interaction
Structs
- An
InputFile
to write fuzzer input to. The target/forkserver will read from this file.
Constants
- The default filename to use to deliver testcases to the target
Functions
- Derives a filename from
INPUTFILE_STD
that may be used to deliver testcases to the target. It ensures the filename is unique to the fuzzer process. - Creates a
.{file_name}.tmp
file, and writes all bytes to it. After all bytes have been written, the tmp-file is moved to it’s originalpath
. This way, on the majority of operating systems, the final file will never be incomplete or racey. It will overwrite existing files with the same filename.