Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d1c9464a authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_random_parcel: rand binder returns data

We now have a 'RandomBinder' which can return random
data. For now, this doesn't integrate with random_parcel.h
RandomParcelOptions. This is to reduce complexity and
validate this approach.

Two ideas with this:
- when we're fuzzing AIDL services, complicated random
  parcel objects will get passed in (this RandomBinder)
- when we build AIDL fuzzers, we can use 'getRandomBinder'
  in order to dependency inject random binders into a
  service. This way, we can fuzz them assuming the
  dependencies are malicious.

Bug: 241923341
Test: android.hardware.vibrator-service.example_fuzzer (check that
   this code actually contributes to coverage)

Change-Id: I118d5c8d7b643fbd77f3771816600f74894e7bab
parent 22acd027
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment