summaryrefslogtreecommitdiffhomepage
path: root/fuzz/fuzzer-client_mutator.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-10-25 22:52:36 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-10-25 22:52:36 +0800
commit4e8a1da551db44e5865f6a1cc28e24fc2c2bdd0f (patch)
tree409aebeb7bd0f03248dc0716d01a408cc09ed878 /fuzz/fuzzer-client_mutator.c
parent754dc50b933c76ca39660fe2d9e65e35f9aef428 (diff)
Add first try at fuzzing custom mutator
Diffstat (limited to 'fuzz/fuzzer-client_mutator.c')
-rw-r--r--fuzz/fuzzer-client_mutator.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fuzz/fuzzer-client_mutator.c b/fuzz/fuzzer-client_mutator.c
new file mode 100644
index 0000000..df57314
--- /dev/null
+++ b/fuzz/fuzzer-client_mutator.c
@@ -0,0 +1,8 @@
+#include "fuzz.h"
+
+#include "fuzz-sshpacketmutator.c"
+
+int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
+ return fuzz_run_client(Data, Size, 0);
+}
+