blob: 59533fad50ac1b050ded0a4144f3dd1b3a368ad7 [file] [log] [blame]
Ayushi Khopkarce5c0332021-09-20 12:00:21 +05301/*
2 * Copyright (C) 2021 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 */
17
Bob Badourc9605e62022-02-10 11:10:18 -080018package {
19 // See: http://go/android-license-faq
20 default_applicable_licenses: ["Android-Apache-2.0"],
21}
22
Ayushi Khopkarce5c0332021-09-20 12:00:21 +053023cc_fuzz {
24 name: "fastboot_fuzzer",
25 host_supported: true,
26 device_supported: false,
27 srcs: [
28 "fastboot_fuzzer.cpp",
29 "socket_mock_fuzz.cpp",
30 ],
31 header_libs: [
32 "bootimg_headers",
33 "fastboot_headers",
34 ],
35 static_libs: [
36 "libext4_utils",
37 "libcrypto",
38 "libfastboot",
39 "libbuildversion",
40 "libbase",
41 "libziparchive",
42 "libsparse",
43 "libutils",
44 "liblog",
45 "libz",
46 "libdiagnose_usb",
47 "libbase",
48 "libcutils",
49 "libgtest",
50 "libgtest_main",
51 "libbase",
52 "libadb_host",
53 "liblp",
54 "liblog",
55 ],
56 fuzz_config: {
57 cc: [
Akshata Kadamfb6957c2024-04-10 11:28:10 +053058 "dvander@google.com",
59 "elsk@google.com",
60 "enh@google.com",
61 "zhangkelvin@google.com",
Ayushi Khopkarce5c0332021-09-20 12:00:21 +053062 ],
63 componentid: 533764,
Ayushi Khopkar33ff88f2023-03-17 17:14:03 +053064 hotlists: [
65 "4593311",
66 ],
67 description: "The fuzzer targets the APIs of libfastboot library",
68 vector: "local_no_privileges_required",
69 service_privilege: "host_only",
70 users: "single_user",
71 fuzzed_code_usage: "shipped",
Ayushi Khopkarce5c0332021-09-20 12:00:21 +053072 },
73}