Added service_certificate_fuzzer
exec/s: 10 Test: ./service_certificate_fuzzer Bug: 265234582 Change-Id: I7290ec085d44cd7e6c5beeba80d6febd72eda7f7
This commit is contained in:
committed by
Akshata Kadam
parent
41a6f51c13
commit
aebfcbb789
@@ -4,6 +4,7 @@
|
||||
+ [policy_engine_fuzzer](#PolicyEngine)
|
||||
+ [content_decryption_fuzzer](#ContentDecryption)
|
||||
+ [system_id_extractor_fuzzer](#SystemIdExtractor)
|
||||
+ [service_certificate_fuzzer](#ServiceCertificate)
|
||||
|
||||
# <a name="PolicyEngine"></a> Fuzzer for PolicyEngine
|
||||
|
||||
@@ -52,7 +53,6 @@ ContentDecryption supports the following parameters:
|
||||
$ adb sync data
|
||||
$ adb shell /data/fuzz/arm64/content_decryption_fuzzer/vendor/content_decryption_fuzzer
|
||||
```
|
||||
|
||||
# <a name="SystemIdExtractor"></a> Fuzzer for SystemIdExtractor
|
||||
|
||||
SystemIdExtractor supports the following parameters:
|
||||
@@ -76,3 +76,26 @@ SystemIdExtractor supports the following parameters:
|
||||
$ adb sync data
|
||||
$ adb shell /data/fuzz/arm64/system_id_extractor_fuzzer/vendor/system_id_extractor_fuzzer
|
||||
```
|
||||
# <a name="ServiceCertificate"></a> Fuzzer for ServiceCertificate
|
||||
|
||||
ServiceCertificate supports the following parameters:
|
||||
1. Message (parameter name: "message")
|
||||
2. Signature (parameter name: "signature")
|
||||
3. Request (parameter name: "request")
|
||||
|
||||
| Parameter| Valid Values| Configured Value|
|
||||
|------------- |-------------| ----- |
|
||||
|`message`| `String` |Value obtained from FuzzedDataProvider|
|
||||
|`signature`| `String` |Value obtained from FuzzedDataProvider|
|
||||
|`request`| `String` |Value obtained from FuzzedDataProvider|
|
||||
|
||||
#### Steps to run
|
||||
1. Build the fuzzer
|
||||
```
|
||||
$ mm -j$(nproc) service_certificate_fuzzer
|
||||
```
|
||||
2. Run on device
|
||||
```
|
||||
$ adb sync data
|
||||
$ adb shell /data/fuzz/arm64/service_certificate_fuzzer/vendor/service_certificate_fuzzer
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user