Added device_files_fuzzer
exec/s: 150 Test: ./device_files_fuzzer Bug: 265234582 Change-Id: I55b65929e3b741df8d5ff114f6d7eb63888e7913
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
+ [buffer_reader_fuzzer](#BufferReader)
|
||||
+ [cdm_engine_fuzzer](#CdmEngine)
|
||||
+ [certificate_provisioning_fuzzer](#CertificateProvisioning)
|
||||
+ [device_files_fuzzer](#DeviceFile)
|
||||
|
||||
# <a name="PolicyEngine"></a> Fuzzer for PolicyEngine
|
||||
|
||||
@@ -283,3 +284,23 @@ CertificateProvisioning supports the following parameters:
|
||||
$ adb sync data
|
||||
$ adb shell /data/fuzz/arm64/certificate_provisioning_fuzzer/vendor/certificate_provisioning_fuzzer
|
||||
```
|
||||
|
||||
# <a name="DeviceFile"></a> Fuzzer for DeviceFile
|
||||
|
||||
DeviceFile supports the following parameters:
|
||||
1. AtscModeEnabled (parameter name: "atsc_mode_enabled")
|
||||
|
||||
| Parameter| Valid Values| Configured Value|
|
||||
|------------- |-------------| ----- |
|
||||
|`AtscModeEnabled`| `Bool` |Value obtained from FuzzedDataProvider|
|
||||
|
||||
#### Steps to run
|
||||
1. Build the fuzzer
|
||||
```
|
||||
$ mm -j$(nproc) device_files_fuzzer
|
||||
```
|
||||
2. Run on device
|
||||
```
|
||||
$ adb sync data
|
||||
$ adb shell /data/fuzz/arm64/device_files_fuzzer/vendor/device_files_fuzzer
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user