Mercurial > dropbear
comparison fuzzer-preauth.c @ 1358:6b89eb92f872 fuzz
glaring wrapfd problems fixed
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 20 May 2017 22:47:19 +0800 |
parents | 08f4fa4dc6a0 |
children | f9f930e1a516 |
comparison
equal
deleted
inserted
replaced
1357:08f4fa4dc6a0 | 1358:6b89eb92f872 |
---|---|
1 #include "fuzz.h" | 1 #include "fuzz.h" |
2 #include "dbrandom.h" | 2 #include "dbrandom.h" |
3 #include "session.h" | 3 #include "session.h" |
4 #include "fuzz-wrapfd.h" | 4 #include "fuzz-wrapfd.h" |
5 #include "debug.h" | |
5 | 6 |
6 static void setup_fuzzer(void) { | 7 static void setup_fuzzer(void) { |
7 svr_setup_fuzzer(); | 8 svr_setup_fuzzer(); |
9 //debug_trace = 1; | |
8 } | 10 } |
9 | 11 |
10 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { | 12 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { |
11 static int once = 0; | 13 static int once = 0; |
12 if (!once) { | 14 if (!once) { |