mirror of
https://gitee.com/openharmony/request_request
synced 2024-11-23 06:49:58 +00:00
fuzz update
Signed-off-by: Shenyx <shenyuxiang3@h-partners.com> Change-Id: I9077fc2d284a4ac741e54a01ec94a9b725667862
This commit is contained in:
parent
3840b9f616
commit
5639ba46a7
@ -73,7 +73,7 @@ void GrantNativePermission()
|
||||
delete[] perms;
|
||||
}
|
||||
|
||||
void CreateRequestFuzzTest(const uint8_t *data, size_t size)
|
||||
void CreateRequestFuzzTest(size_t size)
|
||||
{
|
||||
Config config;
|
||||
auto tid = std::to_string(size);
|
||||
@ -962,7 +962,7 @@ void RequestSyncLoadFuzzTestOnLoadSystemAbility(const uint8_t *data, size_t size
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
{
|
||||
/* Run your code on data */
|
||||
OHOS::CreateRequestFuzzTest(data, size);
|
||||
OHOS::CreateRequestFuzzTest(size);
|
||||
OHOS::StartRequestFuzzTest(data, size);
|
||||
OHOS::StopRequestFuzzTest(data, size);
|
||||
OHOS::ShowRequestFuzzTest(data, size);
|
||||
|
Loading…
Reference in New Issue
Block a user