Adding example java binder service fuzzer

using fuzzService API to fuzz an test service.

Test: m java_binder_service_fuzzer &&
./jazzer_helper.sh --fuzz_target java_binder_service_fuzzer --target_class ServiceFuzzer
Bug: 258075558

Change-Id: If1ff082638eaec04e8ba9c4f8f7321c952b22f82
This commit is contained in:
Pawan Wagh
2022-11-23 19:33:13 +00:00
parent 93068135f4
commit e618e29200
6 changed files with 128 additions and 1 deletions

View File

@@ -425,6 +425,16 @@ filegroup {
],
}
// This file group is used by service fuzzer
filegroup {
name: "framework-core-sources-for-fuzzers",
srcs: [
"android/os/IInterface.java",
"android/os/Binder.java",
"android/os/IBinder.java",
],
}
aidl_interface {
name: "android.os.statsbootstrap_aidl",
unstable: true,