• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

Android.bpD15-Dec-20241.7 KiB6561

README.mdD15-Dec-2024860 3023

libHidlBase_fuzzer_helper.hD15-Dec-20242.5 KiB6843

libHidlBase_parcel_fuzzer.cppD15-Dec-20247.6 KiB164139

README.md

1# Fuzzer for libhidlbase
2
3## Table of contents
4+ [libHidlBase_parcel_fuzzer](#libHidlBaseParcel)
5
6# <a name="libHidlBaseParcel"></a> Fuzzer for libHidlBaseParcel
7
8libHidlBaseParcel supports the following parameters:
9
101. ParentHandle (parameter name: "parentHandle")
112. ParentOffset (parameter name: "parentOffset")
123. HidlString (parameter name: "hidlString")
13
14| Parameter| Valid Values| Configured Value|
15|------------- |-------------| ----- |
16|`parentHandle`| `Integer` |Value obtained from FuzzedDataProvider|
17|`parentOffset`| `Integer` |Value obtained from FuzzedDataProvider|
18|`hidlString`| `Structure` |Value obtained from FuzzedDataProvider|
19
20#### Steps to run
211. Build the fuzzer
22```
23  $ make libHidlBase_parcel_fuzzer
24```
252. To run on device
26```
27  $ adb sync data
28  $ adb shell /data/fuzz/arm64/libHidlBase_parcel_fuzzer/libHidlBase_parcel_fuzzer
29```
30