Added buffer_reader_fuzzer
exec/s: 13311 Test: ./buffer_reader_fuzzer Bug: 265234582 Change-Id: I25865fa5619a0a488ebef3926ea060956e955685
This commit is contained in:
committed by
Akshata Kadam
parent
5bed1044eb
commit
5c51a93c21
@@ -9,6 +9,7 @@
|
||||
+ [privacy_crypto_fuzzer](#PrivacyCrypto)
|
||||
+ [cdm_license_fuzzer](#CdmLicense)
|
||||
+ [crypto_session_fuzzer](#CryptoSession)
|
||||
+ [buffer_reader_fuzzer](#BufferReader)
|
||||
|
||||
# <a name="PolicyEngine"></a> Fuzzer for PolicyEngine
|
||||
|
||||
@@ -207,3 +208,27 @@ CryptoSession supports the following parameters:
|
||||
$ adb sync data
|
||||
$ adb shell LD_LIBRARY_PATH=/vendor/lib64 /data/fuzz/arm64/crypto_session_fuzzer/vendor/crypto_session_fuzzer
|
||||
```
|
||||
|
||||
# <a name="BufferReader"></a> Fuzzer for BufferReader
|
||||
|
||||
BufferReader supports the following parameters:
|
||||
1. Buffer reader data (parameter name: "rawData")
|
||||
2. Init data types (parameter name: "initDataType")
|
||||
3. HLS methods (parameter name:"hlsMethod")
|
||||
|
||||
| Parameter| Valid Values| Configured Value|
|
||||
|------------- |-------------| ----- |
|
||||
|`rawData`| `Vector` |Value obtained from FuzzedDataProvider|
|
||||
|`initDataType`| 1.`HLS_INIT_DATA_FORMAT` 2.`ISO_BMFF_VIDEO_MIME_TYPE` 3.`ISO_BMFF_AUDIO_MIME_TYPE` 4.`CENC_INIT_DATA_FORMAT` 5.`WEBM_VIDEO_MIME_TYPE` 6.`WEBM_AUDIO_MIME_TYPE` 7.`WEBM_INIT_DATA_FORMAT` |Value obtained from FuzzedDataProvider|
|
||||
|`hlsMethod`| 1.`HLS_METHOD_AES_128` 2.`HLS_METHOD_NONE` 3.`HLS_METHOD_SAMPLE_AES` |Value obtained from FuzzedDataProvider|
|
||||
|
||||
#### Steps to run
|
||||
1. Build the fuzzer
|
||||
```
|
||||
$ mm -j$(nproc) buffer_reader_fuzzer
|
||||
```
|
||||
2. Run on device
|
||||
```
|
||||
$ adb sync data
|
||||
$ adb shell /data/fuzz/arm64/buffer_reader_fuzzer/vendor/buffer_reader_fuzzer
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user