diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-09 23:04:49 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-23 11:27:25 +0000 |
commit | 95aa0bf79b968d7ea04a51561a176ae1f5a460bd (patch) | |
tree | e5b5057a9b4733e4985f3946bc8c9de429f1c033 /contrib | |
parent | Merge pull request #2961 (diff) | |
download | monero-95aa0bf79b968d7ea04a51561a176ae1f5a460bd.tar.xz |
add load_from_binary/load_from_json fuzzers
Diffstat (limited to '')
-rwxr-xr-x | contrib/fuzz_testing/fuzz.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/fuzz_testing/fuzz.sh b/contrib/fuzz_testing/fuzz.sh index 35b74f7e4..ad321210a 100755 --- a/contrib/fuzz_testing/fuzz.sh +++ b/contrib/fuzz_testing/fuzz.sh @@ -10,12 +10,12 @@ fi type="$1" if test -z "$type" then - echo "usage: $0 block|transaction|signature|cold-outputs|cold-transaction" + echo "usage: $0 block|transaction|signature|cold-outputs|cold-transaction|load-from-binary|load-from-json" exit 1 fi case "$type" in - block|transaction|signature|cold-outputs|cold-transaction) ;; - *) echo "usage: $0 block|transaction|signature|cold-outputs|cold-transaction"; exit 1 ;; + block|transaction|signature|cold-outputs|cold-transaction|load-from-binary|load-from-json) ;; + *) echo "usage: $0 block|transaction|signature|cold-outputs|cold-transaction|load-from-binary|load-from-json"; exit 1 ;; esac afl-fuzz -i tests/data/fuzz/$type -m 150 -t 250 -o fuzz-out/$type build/fuzz/tests/fuzz/${type}_fuzz_tests |