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