hamzeh | 266abdb | 2021-06-09 11:04:14 -0700 | [diff] [blame] | 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 | |
| 15 | package { |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
| 19 | rust_fuzz { |
Devendra Singhi | 31863b1 | 2022-08-04 14:33:29 +0530 | [diff] [blame] | 20 | name: "keystore2_unsafe_fuzzer", |
| 21 | srcs: ["keystore2_unsafe_fuzzer.rs"], |
hamzeh | 266abdb | 2021-06-09 11:04:14 -0700 | [diff] [blame] | 22 | rustlibs: [ |
Luca Stefani | 481b5d6 | 2024-01-17 11:42:06 +0100 | [diff] [blame^] | 23 | "libarbitrary", |
hamzeh | 266abdb | 2021-06-09 11:04:14 -0700 | [diff] [blame] | 24 | "libkeystore2", |
Devendra Singhi | 31863b1 | 2022-08-04 14:33:29 +0530 | [diff] [blame] | 25 | "libkeystore2_aaid-rust", |
| 26 | "libkeystore2_apc_compat-rust", |
Luca Stefani | 481b5d6 | 2024-01-17 11:42:06 +0100 | [diff] [blame^] | 27 | "libkeystore2_crypto_rust", |
| 28 | "libkeystore2_hal_names_rust", |
Devendra Singhi | 31863b1 | 2022-08-04 14:33:29 +0530 | [diff] [blame] | 29 | "libkeystore2_selinux", |
hamzeh | 266abdb | 2021-06-09 11:04:14 -0700 | [diff] [blame] | 30 | ], |
| 31 | fuzz_config: { |
| 32 | fuzz_on_haiku_device: true, |
| 33 | fuzz_on_haiku_host: false, |
Devendra Singhi | 31863b1 | 2022-08-04 14:33:29 +0530 | [diff] [blame] | 34 | cc: [ |
| 35 | "android-media-fuzzing-reports@google.com", |
| 36 | ], |
| 37 | componentid: 155276, |
hamzeh | 266abdb | 2021-06-09 11:04:14 -0700 | [diff] [blame] | 38 | }, |
| 39 | } |
Pawan Wagh | 238f835 | 2023-02-11 01:01:12 +0000 | [diff] [blame] | 40 | |
Pawan Wagh | 238f835 | 2023-02-11 01:01:12 +0000 | [diff] [blame] | 41 | rust_fuzz { |
| 42 | name: "authorization_service_fuzzer", |
| 43 | srcs: ["aidl-fuzzers/authorization_service_fuzzer.rs"], |
| 44 | rustlibs: [ |
Luca Stefani | 481b5d6 | 2024-01-17 11:42:06 +0100 | [diff] [blame^] | 45 | "libbinder_random_parcel_rs", |
| 46 | "libbinder_rs", |
Pawan Wagh | 238f835 | 2023-02-11 01:01:12 +0000 | [diff] [blame] | 47 | "libkeystore2", |
Pawan Wagh | 238f835 | 2023-02-11 01:01:12 +0000 | [diff] [blame] | 48 | "libkeystore2_aaid-rust", |
| 49 | "libkeystore2_apc_compat-rust", |
Luca Stefani | 481b5d6 | 2024-01-17 11:42:06 +0100 | [diff] [blame^] | 50 | "libkeystore2_crypto_rust", |
| 51 | "libkeystore2_hal_names_rust", |
Pawan Wagh | 238f835 | 2023-02-11 01:01:12 +0000 | [diff] [blame] | 52 | "libkeystore2_selinux", |
Pawan Wagh | 238f835 | 2023-02-11 01:01:12 +0000 | [diff] [blame] | 53 | ], |
| 54 | fuzz_config: { |
| 55 | fuzz_on_haiku_device: true, |
| 56 | fuzz_on_haiku_host: false, |
| 57 | cc: [ |
| 58 | "android-media-fuzzing-reports@google.com", |
| 59 | "smoreland@google.com", |
Luca Stefani | 481b5d6 | 2024-01-17 11:42:06 +0100 | [diff] [blame^] | 60 | "waghpawan@google.com", |
Pawan Wagh | 238f835 | 2023-02-11 01:01:12 +0000 | [diff] [blame] | 61 | ], |
| 62 | // Adds bugs to hotlist "AIDL fuzzers bugs" on buganizer |
| 63 | hotlists: ["4637097"], |
| 64 | }, |
| 65 | } |