blob: 3de7b74b28477d100c7f3d29733ec28b34936d10 [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
Aditya Choudhary63f40502024-02-02 13:58:06 +000017package {
18 default_team: "trendy_team_android_kernel",
19}
20
Atharva_Deshpande2c5270e2023-06-07 18:12:06 +053021cc_defaults {
22 name: "libHidlBase_fuzzer_defaults",
23 host_supported: true,
24 static_libs: [
25 "libhidlbase",
26 "libbase",
27 "liblog",
28 "libcutils",
29 "libutils",
30 "libprocessgroup",
31 "libjsoncpp",
32 "libcgrouprc",
33 "libcgrouprc_format",
34 "libfmq",
35 ],
36 target: {
37 android: {
38 shared_libs: [
39 "libvndksupport",
40 ],
41 },
42 },
43 fuzz_config: {
44 cc: [
Akshata Kadam24269902024-04-29 14:42:57 +053045 "smoreland@google.com",
46 "elsk@google.com",
Atharva_Deshpande2c5270e2023-06-07 18:12:06 +053047 ],
48 componentid: 155276,
49 hotlists: [
50 "4593311",
51 ],
52 description: "The fuzzers target the APIs of libhidlbase library",
53 vector: "local_no_privileges_required",
54 service_privilege: "privileged",
55 users: "multi_user",
56 fuzzed_code_usage: "shipped",
57 },
58}
59
60cc_fuzz {
61 name: "libHidlBase_parcel_fuzzer",
Aditya Choudhary63f40502024-02-02 13:58:06 +000062 srcs: ["libHidlBase_parcel_fuzzer.cpp"],
Atharva_Deshpande2c5270e2023-06-07 18:12:06 +053063 defaults: ["libHidlBase_fuzzer_defaults"],
64}