summaryrefslogtreecommitdiff
path: root/keystore2/src/fuzzers
AgeCommit message (Collapse)Author
2023-07-10keystore2_unsafe_fuzzer: Bug FixDevendra Singhi
Remove get_declared_instances API as it is not a part of the target module - libkeystore2 Bug: 287588482 Test: ./keystore2_unsafe_fuzzer clusterfuzz-testcase-minimized-keystore2_unsafe_fuzzer-5127790852636672 Change-Id: I7513955783f4877496f721f52b92970887bbad41
2023-05-17Use macro explicitly rather than using #[macro_use].Andrew Walbran
This makes it more clear where it comes from. Bug: 261037227 Test: m authorization_service_fuzzer Change-Id: Ifc68ccf8e40fe262f8c823a1d1bd6ebd1700454b
2023-04-27Edit hidl instances to remove vintfShaquille Johnson
This uses the getAllHalInstanceNames method to replace calls to vintf and return the hal names to the code. Other callers to this function will not need to change their inputs. Test: atest keystore2_test && atest CtsKeystoreTestCases Bug: 249096262 Change-Id: If23cf8ca4b9d1c8cb3675964475066728bfe789f
2023-03-08Remove usage of slice_internals featureChris Wailes
This CL replaces the usage of the core::slice::memchr function with calls to std::iter::position. Test: m keystore2_unsafe_fuzzer Test: TH Bug: 267698452 Change-Id: I33cab09176d0ff02ce092e240e887ece98728915
2023-03-08Remove vintf aidl and replace with binderShaquille Johnson
Aidl Instances can be gotten from the binder with get_declared_instances. Test: m keystore2 && m keystore2_unsafe_fuzzer Change-Id: I36b4bdb8de6dd8abedf50d2026d1d841ce27c55d
2023-02-11Adding AIDL fuzzer for AuthorizationManagerPawan Wagh
Bug: 232439428 Test: m authorization_service_fuzzer && adb sync && adb shell /data/fuzz/arm64/authorization_service_fuzzer/authorization_service_fuzzer Change-Id: I867dcb5da9dac98d6cb324dead3742ddd608506b
2023-01-19Import macro directly rather than using #[macro_use].Andrew Walbran
`extern crate` makes it harder to keep track of dependencies, so we prefer to import macros explicitly instead. Bug: 261037227 Test: m keystore2_unsafe_fuzzer Change-Id: I0ec95e9343a05c8f61c2cdca3ba601bae97c9187
2022-08-04Added keystore2_unsafe_fuzzerDevendra Singhi
Test: ./keystore2_unsafe_fuzzer Bug: 240524901 Change-Id: Ibb6d2c649f982bc1b5fc8d4a259087e53bac79aa
2021-09-03Only fuzz if data is not empty stringhamzeh
Bug: b/196243054 Test: m legacy_blob_fuzzer Change-Id: I02c2686e49df73e1a2aa4fbc95bd055fa35581ed
2021-07-07Adding skeleton for a rust fuzzer for legacy_blobhamzeh
Test: m legacy_blob_fuzzer & adb sync data & adb shell legacy_blob_fuzzer The edge coverage after running for few minutes was about 15 percent. Change-Id: I8a8a535319c6146c67980e6c31e5c85c420e40e7