Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Fuzzing

This directory contains fuzzing targets for ssh-agent-lib.

Setup

Install cargo-fuzz:

cargo install --locked cargo-fuzz

Running

Select a target from the list printed by cargo fuzz list e.g. message_decode:

cargo +nightly fuzz run message_decode

Options that can be added to the fuzz run command:

  • --jobs N - increase parallelism,
  • --sanitizer none - disable sanitizer since ssh-agent-lib does not use any unsafe blocks,

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.