1// 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 { 20 name: "keystore2_unsafe_fuzzer", 21 srcs: ["keystore2_unsafe_fuzzer.rs"], 22 rustlibs: [ 23 "libbinder_rs", 24 "libkeystore2", 25 "libkeystore2_crypto_rust", 26 "libkeystore2_vintf_rust", 27 "libkeystore2_aaid-rust", 28 "libkeystore2_apc_compat-rust", 29 "libkeystore2_selinux", 30 "libarbitrary", 31 ], 32 fuzz_config: { 33 fuzz_on_haiku_device: true, 34 fuzz_on_haiku_host: false, 35 cc: [ 36 "android-media-fuzzing-reports@google.com", 37 ], 38 componentid: 155276, 39 }, 40} 41 42 43rust_fuzz { 44 name: "authorization_service_fuzzer", 45 srcs: ["aidl-fuzzers/authorization_service_fuzzer.rs"], 46 rustlibs: [ 47 "libkeystore2", 48 "libkeystore2_crypto_rust", 49 "libkeystore2_vintf_rust", 50 "libkeystore2_aaid-rust", 51 "libkeystore2_apc_compat-rust", 52 "libkeystore2_selinux", 53 "libbinder_rs", 54 "libbinder_random_parcel_rs", 55 ], 56 fuzz_config: { 57 fuzz_on_haiku_device: true, 58 fuzz_on_haiku_host: false, 59 cc: [ 60 "android-media-fuzzing-reports@google.com", 61 "smoreland@google.com", 62 "waghpawan@google.com" 63 ], 64 // Adds bugs to hotlist "AIDL fuzzers bugs" on buganizer 65 hotlists: ["4637097"], 66 }, 67} 68