This directory contains fuzzing targets for ssh-agent-lib.
Install cargo-fuzz:
cargo install --locked cargo-fuzzSelect a target from the list printed by cargo fuzz list e.g. message_decode:
cargo +nightly fuzz run message_decodeOptions that can be added to the fuzz run command:
--jobs N- increase parallelism,--sanitizer none- disable sanitizer since ssh-agent-lib does not use anyunsafeblocks,
Note that due to a limitation of cargo-fuzz nightly version of the toolchain is required.
For more details see Fuzzing with cargo-fuzz or the more detailed explanation of fuzzing output in a cargo-fuzz comment.