Browse Source

Add fuzzer options for oss-fuzz

Matt Kwong 8 years ago
parent
commit
d9b257a154

+ 0 - 5
test/core/security/ssl_server_fuzzer.c

@@ -47,11 +47,6 @@ bool squelch = true;
 // Turning this on will fail the leak check.
 bool leak_check = false;
 
-#define SSL_CERT_PATH "src/core/lib/tsi/test_creds/server1.pem"
-#define SSL_KEY_PATH "src/core/lib/tsi/test_creds/server1.key"
-#define SSL_CA_PATH "src/core/lib/tsi/test_creds/ca.pem"
-
-
 static void discard_write(grpc_slice slice) {}
 
 static void dont_log(gpr_log_func_args *args) {}

+ 3 - 0
tools/fuzzer/options/api_fuzzer.options

@@ -0,0 +1,3 @@
+[libfuzzer]
+max_len = 2048
+dict = api_fuzzer.dictionary

+ 3 - 0
tools/fuzzer/options/client_fuzzer.options

@@ -0,0 +1,3 @@
+[libfuzzer]
+max_len = 2048
+dict = hpack.dictionary

+ 2 - 0
tools/fuzzer/options/fuzzer.options

@@ -0,0 +1,2 @@
+[libfuzzer]
+max_len = 512

+ 2 - 0
tools/fuzzer/options/fuzzer_response.options

@@ -0,0 +1,2 @@
+[libfuzzer]
+max_len = 128

+ 2 - 0
tools/fuzzer/options/fuzzer_serverlist.options

@@ -0,0 +1,2 @@
+[libfuzzer]
+max_len = 128

+ 3 - 0
tools/fuzzer/options/hpack_parser_fuzzer_test.options

@@ -0,0 +1,3 @@
+[libfuzzer]
+max_len = 512
+dict = hpack.dictionary

+ 2 - 0
tools/fuzzer/options/percent_decode_fuzzer.options

@@ -0,0 +1,2 @@
+[libfuzzer]
+max_len = 32

+ 2 - 0
tools/fuzzer/options/percent_encode_fuzzer.options

@@ -0,0 +1,2 @@
+[libfuzzer]
+max_len = 32

+ 3 - 0
tools/fuzzer/options/request_fuzzer.options

@@ -0,0 +1,3 @@
+[libfuzzer]
+max_len = 2048
+

+ 3 - 0
tools/fuzzer/options/response_fuzzer.options

@@ -0,0 +1,3 @@
+[libfuzzer]
+max_len = 2048
+

+ 3 - 0
tools/fuzzer/options/server_fuzzer.options

@@ -0,0 +1,3 @@
+[libfuzzer]
+max_len = 2048
+dict = hpack.dictionary

+ 2 - 0
tools/fuzzer/options/ssl_server_fuzzer.options

@@ -0,0 +1,2 @@
+[libfuzzer]
+max_len = 2048

+ 2 - 0
tools/fuzzer/options/uri_fuzzer_test.options

@@ -0,0 +1,2 @@
+[libfuzzer]
+max_len = 128