aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-11-18 23:25:07 +0000
committerJesse Luehrs <doy@tozt.net>2021-11-18 23:45:31 +0000
commit16261f8e02b36a6518ed5c418daf9be6d7abb37e (patch)
treeff38c04cc56fe3bda01b5df1a4967d449932f9b8
parentcfc06a2b40329a0f06880309617abb6fb49ea190 (diff)
downloadvt100-rust-16261f8e02b36a6518ed5c418daf9be6d7abb37e.tar.gz
vt100-rust-16261f8e02b36a6518ed5c418daf9be6d7abb37e.zip
fuzz wrapper script
-rwxr-xr-xbin/fuzz7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/fuzz b/bin/fuzz
new file mode 100755
index 0000000..81f45ce
--- /dev/null
+++ b/bin/fuzz
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -eu
+
+cd fuzz
+cargo afl build --release
+mkdir -p out
+cargo afl fuzz -i in -o out -t 10000 target/release/fuzz