fuzz update

Signed-off-by: Shenyx <shenyuxiang3@h-partners.com>
Change-Id: I9077fc2d284a4ac741e54a01ec94a9b725667862
This commit is contained in:
Shenyx 2024-11-12 16:27:53 +08:00
parent 3840b9f616
commit 5639ba46a7

View File

@ -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);