Conversation
|
Fuzzing documentation mostly follows pest's fuzzing documentation structure. |
|
Looks good! I didn't forget about this. I'll arrange some time to read it more carefully and to test it either tomorrow or next weekend. Thank you! |
|
I had to run Out of curiosity @estr3llas , why does this need the nightly toolchain? |
|
Hey @merces, I am sorry for the (huge) delay. Cargo fuzz relies on |
The
load_filetarget fuzzes:In which the
readonlyparameter is randomly chosen.The
parse_commandtarget fuzzes:Additionally- A dictionary of valid dz6 commands can be found in
fuzz/dict/commands.dictThe
dz6crate is not reachable from outside the crate itself, so I had to make a shim infuzz/src/lib.rs, future work would be to add alib.rsunder thedz6crate so it can be accessed from other consumer crates.Both targets builds cleanly:
parse_command:load_file:Cargo.lockis just cp'ed fromdz6/Cargo.lock. Once (or if)dz6becomes a library, it can be deleted.