summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-09-20 15:36:51 -0700
committer Steven Moreland <smoreland@google.com> 2021-09-20 15:40:05 -0700
commit9a5e24e99e080a38a32f3b93c90a7b2a427d820f (patch)
tree9a78ea57665cdc843a41724e363fd0516243be7f
parent963b7bbac0352ce3d058bbd7e582930ff6c89e46 (diff)
binder_rpc_fuzzer: add connection init to dict
The fuzzer right now is getting held up when the server is trying to read connection init information: Bug: 199324691 Test: binder_rpc_fuzzer -dict=binder_rpc_fuzzer.dict Change-Id: I49fd7376b6d01794b0ea1e863daca46e6da5cc42
-rw-r--r--libs/binder/tests/rpc_fuzzer/Android.bp1
-rw-r--r--libs/binder/tests/rpc_fuzzer/binder_rpc_fuzzer.dict2
2 files changed, 3 insertions, 0 deletions
diff --git a/libs/binder/tests/rpc_fuzzer/Android.bp b/libs/binder/tests/rpc_fuzzer/Android.bp
index 9323bd5ff8..be55eba033 100644
--- a/libs/binder/tests/rpc_fuzzer/Android.bp
+++ b/libs/binder/tests/rpc_fuzzer/Android.bp
@@ -14,6 +14,7 @@ cc_fuzz {
fuzz_config: {
cc: ["smoreland@google.com"],
},
+ dictionary: "binder_rpc_fuzzer.dict",
srcs: [
"main.cpp",
diff --git a/libs/binder/tests/rpc_fuzzer/binder_rpc_fuzzer.dict b/libs/binder/tests/rpc_fuzzer/binder_rpc_fuzzer.dict
new file mode 100644
index 0000000000..b110a02381
--- /dev/null
+++ b/libs/binder/tests/rpc_fuzzer/binder_rpc_fuzzer.dict
@@ -0,0 +1,2 @@
+# connection okay header
+"cci"