Updated widevine fuzzers
Test: ./cdm_engine_fuzzer Test: ./crypto_session_fuzzer Bug: 309924911 Change-Id: I6fdf1b11173bc428b36749d7184ae6dc38cedc32
This commit is contained in:
@@ -427,7 +427,6 @@ void CdmEngineFuzzer::process() {
|
|||||||
cdmEngine->SetDebugIgnoreKeyboxCount(
|
cdmEngine->SetDebugIgnoreKeyboxCount(
|
||||||
mFdp.ConsumeIntegral<uint32_t>());
|
mFdp.ConsumeIntegral<uint32_t>());
|
||||||
},
|
},
|
||||||
[&]() { cdmEngine->SetAllowTestKeybox(mFdp.ConsumeBool()); },
|
|
||||||
[&]() {
|
[&]() {
|
||||||
std::string sessId = mFdp.ConsumeRandomLengthString(kMaxByte);
|
std::string sessId = mFdp.ConsumeRandomLengthString(kMaxByte);
|
||||||
std::string hash;
|
std::string hash;
|
||||||
|
|||||||
@@ -368,9 +368,6 @@ void CryptoSessionFuzzer::process() {
|
|||||||
cryptoSession->SetDebugIgnoreKeyboxCount(
|
cryptoSession->SetDebugIgnoreKeyboxCount(
|
||||||
mFdp.ConsumeIntegral<uint32_t>() /*count*/);
|
mFdp.ConsumeIntegral<uint32_t>() /*count*/);
|
||||||
},
|
},
|
||||||
[&]() {
|
|
||||||
cryptoSession->SetAllowTestKeybox(mFdp.ConsumeBool() /*allow*/);
|
|
||||||
},
|
|
||||||
[&]() { cryptoSession->GetOkpFallbackPolicy(); },
|
[&]() { cryptoSession->GetOkpFallbackPolicy(); },
|
||||||
[&]() {
|
[&]() {
|
||||||
std::string request = mFdp.ConsumeRandomLengthString(kStringLength);
|
std::string request = mFdp.ConsumeRandomLengthString(kStringLength);
|
||||||
|
|||||||
Reference in New Issue
Block a user