Added cdm_session_fuzzer
Test: ./cdm_session_fuzzer exec/s:10 Bug: 265234582 Change-Id: I9ffb9f1de99a3e37fa456b357946292f16af5d69
This commit is contained in:
committed by
Akshata Kadam
parent
4528a2899d
commit
c656ebe741
@@ -13,6 +13,7 @@
|
||||
+ [cdm_engine_fuzzer](#CdmEngine)
|
||||
+ [certificate_provisioning_fuzzer](#CertificateProvisioning)
|
||||
+ [device_files_fuzzer](#DeviceFile)
|
||||
+ [cdm_session_fuzzer](#CdmSession)
|
||||
|
||||
# <a name="PolicyEngine"></a> Fuzzer for PolicyEngine
|
||||
|
||||
@@ -304,3 +305,27 @@ DeviceFile supports the following parameters:
|
||||
$ adb sync data
|
||||
$ adb shell /data/fuzz/arm64/device_files_fuzzer/vendor/device_files_fuzzer
|
||||
```
|
||||
|
||||
# <a name="CdmSession"></a> Fuzzer for CdmSession
|
||||
|
||||
CdmSession supports the following parameters:
|
||||
1. CdmKeyResponse (parameter name: "key_response")
|
||||
2. CdmSessionId (parameter name: "forced_session_id")
|
||||
3. KeyId (parameter name:"key_id")
|
||||
|
||||
| Parameter| Valid Values| Configured Value|
|
||||
|------------- |-------------| ----- |
|
||||
|`key_response`| `String` |Value obtained from FuzzedDataProvider|
|
||||
|`forced_session_id`| `String` |Value obtained from FuzzedDataProvider|
|
||||
|`key_id`| `String` |Value obtained from FuzzedDataProvider|
|
||||
|
||||
#### Steps to run
|
||||
1. Build the fuzzer
|
||||
```
|
||||
$ mm -j$(nproc) cdm_session_fuzzer
|
||||
```
|
||||
2. Run on device
|
||||
```
|
||||
$ adb sync data
|
||||
$ adb shell /data/fuzz/arm64/cdm_session_fuzzer/vendor/cdm_session_fuzzer
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user