blob: 9a2d98d10176f58d0ee55d7740dde26a51ac4470 [file] [log] [blame]
hamzeh266abdb2021-06-09 11:04:14 -07001// Copyright 2021, The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19rust_fuzz {
Devendra Singhi31863b12022-08-04 14:33:29 +053020 name: "keystore2_unsafe_fuzzer",
21 srcs: ["keystore2_unsafe_fuzzer.rs"],
hamzeh266abdb2021-06-09 11:04:14 -070022 rustlibs: [
23 "libkeystore2",
Devendra Singhi31863b12022-08-04 14:33:29 +053024 "libkeystore2_crypto_rust",
25 "libkeystore2_vintf_rust",
26 "libkeystore2_aaid-rust",
27 "libkeystore2_apc_compat-rust",
28 "libkeystore2_selinux",
29 "libarbitrary",
hamzeh266abdb2021-06-09 11:04:14 -070030 ],
31 fuzz_config: {
32 fuzz_on_haiku_device: true,
33 fuzz_on_haiku_host: false,
Devendra Singhi31863b12022-08-04 14:33:29 +053034 cc: [
35 "android-media-fuzzing-reports@google.com",
36 ],
37 componentid: 155276,
hamzeh266abdb2021-06-09 11:04:14 -070038 },
39}
Pawan Wagh238f8352023-02-11 01:01:12 +000040
41
42rust_fuzz {
43 name: "authorization_service_fuzzer",
44 srcs: ["aidl-fuzzers/authorization_service_fuzzer.rs"],
45 rustlibs: [
46 "libkeystore2",
47 "libkeystore2_crypto_rust",
48 "libkeystore2_vintf_rust",
49 "libkeystore2_aaid-rust",
50 "libkeystore2_apc_compat-rust",
51 "libkeystore2_selinux",
52 "libbinder_rs",
53 "libbinder_random_parcel_rs",
54 ],
55 fuzz_config: {
56 fuzz_on_haiku_device: true,
57 fuzz_on_haiku_host: false,
58 cc: [
59 "android-media-fuzzing-reports@google.com",
60 "smoreland@google.com",
61 "waghpawan@google.com"
62 ],
63 // Adds bugs to hotlist "AIDL fuzzers bugs" on buganizer
64 hotlists: ["4637097"],
65 },
66}