blob: 5f95ce7f00d83ed7d099d960859029e49673d336 [file] [log] [blame]
Atharva_Deshpande2c5270e2023-06-07 18:12:06 +05301/*
2 * Copyright (C) 2023 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17cc_defaults {
18 name: "libHidlBase_fuzzer_defaults",
19 host_supported: true,
20 static_libs: [
21 "libhidlbase",
22 "libbase",
23 "liblog",
24 "libcutils",
25 "libutils",
26 "libprocessgroup",
27 "libjsoncpp",
28 "libcgrouprc",
29 "libcgrouprc_format",
30 "libfmq",
31 ],
32 target: {
33 android: {
34 shared_libs: [
35 "libvndksupport",
36 ],
37 },
38 },
39 fuzz_config: {
40 cc: [
41 "android-media-fuzzing-reports@google.com",
42 ],
43 componentid: 155276,
44 hotlists: [
45 "4593311",
46 ],
47 description: "The fuzzers target the APIs of libhidlbase library",
48 vector: "local_no_privileges_required",
49 service_privilege: "privileged",
50 users: "multi_user",
51 fuzzed_code_usage: "shipped",
52 },
53}
54
55cc_fuzz {
56 name: "libHidlBase_parcel_fuzzer",
57 srcs: ["libHidlBase_parcel_fuzzer.cpp",],
58 defaults: ["libHidlBase_fuzzer_defaults"],
59}