blob: b53da9162a221422365b85f42167bcad560d9d2b [file] [log] [blame]
Max Spector50c3d672019-10-21 11:40:43 -07001/*
2 * Copyright 2019 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 */
Tom Cherry3c065b72020-06-19 14:01:16 -070016
Bob Badour7ca20c12021-02-03 18:29:06 -080017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Elliott Hughes225e5c62022-09-16 23:01:59 +000021cc_fuzz {
22 name: "serialized_log_buffer_fuzzer",
Max Spectora8b435d2019-10-21 11:40:43 -070023 static_libs: [
24 "libbase",
25 "libcutils",
26 "libselinux",
27 "liblog",
28 "liblogd",
29 "libcutils",
Tom Cherryfb150dd2020-05-13 09:28:37 -070030 "libz",
31 "libzstd",
Max Spectora8b435d2019-10-21 11:40:43 -070032 ],
Wenhao Wangb1f6c6c2021-11-19 16:42:43 -080033 shared_libs: [
34 "libbinder",
35 "libutils",
36 ],
Tom Cherry3c065b72020-06-19 14:01:16 -070037 cflags: ["-Wextra"],
38 host_supported: true,
Tom Cherry3c065b72020-06-19 14:01:16 -070039 srcs: [
40 "serialized_log_buffer_fuzzer.cpp",
41 ],
Tom Cherry682fb3e2020-06-24 11:47:49 -070042 corpus: [
43 "corpus/logentry_use_after_compress",
Elliott Hughes225e5c62022-09-16 23:01:59 +000044 ],
Max Spectora8b435d2019-10-21 11:40:43 -070045}