/base/account/os_account/test/fuzztest/osaccount_stub/proccreateosaccountwithshortnamestub_fuzzer/ |
H A D | proccreateosaccountwithshortnamestub_fuzzer.cpp | 31 bool ProcCreateOsAccountWithShortNameStubFuzzTest(const uint8_t *data, size_t size) in ProcCreateOsAccountWithShortNameStubFuzzTest() argument 33 if ((data == nullptr) || (size == 0)) { in ProcCreateOsAccountWithShortNameStubFuzzTest() 36 FuzzData fuzzData(data, size); in ProcCreateOsAccountWithShortNameStubFuzzTest() 64 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 67 OHOS::ProcCreateOsAccountWithShortNameStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/account/os_account/test/fuzztest/osaccount_stub/proccreateosaccountstub_fuzzer/ |
H A D | proccreateosaccountstub_fuzzer.cpp | 31 bool ProcCreateOsAccountStubFuzzTest(const uint8_t *data, size_t size) in ProcCreateOsAccountStubFuzzTest() argument 33 if ((data == nullptr) || (size == 0)) { in ProcCreateOsAccountStubFuzzTest() 39 FuzzData fuzzData(data, size); in ProcCreateOsAccountStubFuzzTest() 61 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 64 OHOS::ProcCreateOsAccountStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/account/os_account/test/fuzztest/osaccount_stub/setosaccountisverifiedstub_fuzzer/ |
H A D | setosaccountisverifiedstub_fuzzer.cpp | 31 bool SetOsAccountIsVerifiedStubFuzzTest(const uint8_t *data, size_t size) in SetOsAccountIsVerifiedStubFuzzTest() argument 34 if ((data == nullptr) || (size == 0) || (!datas.WriteInterfaceToken(IOS_ACCOUNT_DESCRIPTOR))) { in SetOsAccountIsVerifiedStubFuzzTest() 37 FuzzData fuzzData(data, size); in SetOsAccountIsVerifiedStubFuzzTest() 60 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument 63 OHOS::SetOsAccountIsVerifiedStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/accesscontrol/sandbox_manager/test/fuzztest/services/sandbox_manager/startaccessingbytokenidstub_fuzzer/ |
H A D | startaccessingbytokenidstub_fuzzer.cpp | 37 bool StartAccessingByTokenidStubFuzzTest(const uint8_t *data, size_t size) in StartAccessingByTokenidStubFuzzTest() argument 39 if ((data == nullptr) || (size == 0)) { in StartAccessingByTokenidStubFuzzTest() 44 PolicyInfoRandomGenerator gen(data, size); in StartAccessingByTokenidStubFuzzTest() 67 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 70 OHOS::StartAccessingByTokenidStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/account/os_account/test/fuzztest/appaccount_stub/addaccountstub_fuzzer/ |
H A D | addaccountstub_fuzzer.cpp | 29 bool AddAccountStubFuzzTest(const uint8_t* data, size_t size) in AddAccountStubFuzzTest() argument 31 if (size > 0) { in AddAccountStubFuzzTest() 36 FuzzData fuzzData(data, size); in AddAccountStubFuzzTest() 56 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 59 OHOS::AddAccountStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/account/os_account/test/fuzztest/appaccount_stub/setappaccountsyncenablestub_fuzzer/ |
H A D | setappaccountsyncenablestub_fuzzer.cpp | 29 bool SetAppAccountSyncEnableStubFuzzTest(const uint8_t* data, size_t size) in SetAppAccountSyncEnableStubFuzzTest() argument 31 if ((data == nullptr) || (size == 0)) { in SetAppAccountSyncEnableStubFuzzTest() 34 FuzzData fuzzData(data, size); in SetAppAccountSyncEnableStubFuzzTest() 57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 60 OHOS::SetAppAccountSyncEnableStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/account/os_account/test/fuzztest/appaccount_stub/setappaccessstub_fuzzer/ |
H A D | setappaccessstub_fuzzer.cpp | 30 bool SetAppAccessStubFuzzTest(const uint8_t* data, size_t size) in SetAppAccessStubFuzzTest() argument 32 if ((data == nullptr) || (size == 0)) { in SetAppAccessStubFuzzTest() 35 FuzzData fuzzData(data, size); in SetAppAccessStubFuzzTest() 62 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 65 OHOS::SetAppAccessStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/account/os_account/test/fuzztest/appaccount_stub/setassociateddatastub_fuzzer/ |
H A D | setassociateddatastub_fuzzer.cpp | 30 bool SetAssociatedDataStubFuzzTest(const uint8_t* data, size_t size) in SetAssociatedDataStubFuzzTest() argument 32 if ((data == nullptr) || (size == 0)) { in SetAssociatedDataStubFuzzTest() 35 FuzzData fuzzData(data, size); in SetAssociatedDataStubFuzzTest() 62 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 65 OHOS::SetAssociatedDataStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/getbundleimportance_fuzzer/ |
H A D | getbundleimportance_fuzzer.cpp | 23 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 45 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 48 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 49 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 50 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationcontent_fuzzer/ |
H A D | notificationcontent_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 40 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 43 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 44 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 45 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationdonotdisturbdate_fuzzer/ |
H A D | notificationdonotdisturbdate_fuzzer.cpp | 20 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 40 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 43 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 44 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 45 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationsortingmap_fuzzer/ |
H A D | notificationsortingmap_fuzzer.cpp | 25 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 43 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 46 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 47 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 48 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/setnotificationsenabledforallbundles_fuzzer/ |
H A D | setnotificationsenabledforallbundles_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 46 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 49 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 50 if (ch != nullptr && size > GetU32Size()) {
in LLVMFuzzerTestOneInput() 51 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslotsforbundle_fuzzer/ |
H A D | getnotificationslotsforbundle_fuzzer.cpp | 21 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 41 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 44 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 45 if (ch != nullptr && size > GetU32Size()) {
in LLVMFuzzerTestOneInput() 46 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestannexthree_fuzzer/ |
H A D | reminderrequestannexthree_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 40 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 43 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 44 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 45 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/enabledistributed_fuzzer/ |
H A D | enabledistributed_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 46 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 49 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 50 if (ch != nullptr && size > GetU32Size()) {
in LLVMFuzzerTestOneInput() 51 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationdistributedoptions_fuzzer/ |
H A D | notificationdistributedoptions_fuzzer.cpp | 23 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 47 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 50 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 51 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 52 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationsorting_fuzzer/ |
H A D | notificationsorting_fuzzer.cpp | 27 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 49 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 52 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 53 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 54 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderrequesttimer_fuzzer/ |
H A D | reminderrequesttimer_fuzzer.cpp | 27 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 48 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 51 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 52 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 53 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/getactivenotificationnums_fuzzer/ |
H A D | getactivenotificationnums_fuzzer.cpp | 23 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 40 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 43 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 44 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 51 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/notificationsubscribeInfo_fuzzer/ |
H A D | notificationsubscribeInfo_fuzzer.cpp | 20 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 39 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 42 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 43 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 44 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/notification/distributed_notification_service/test/fuzztest/reminderstoreannex_fuzzer/ |
H A D | reminderstoreannex_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size)
in DoSomethingInterestingWithMyAPI() argument 46 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
in LLVMFuzzerTestOneInput() argument 49 char *ch = ParseData(data, size);
in LLVMFuzzerTestOneInput() 50 if (ch != nullptr && size >= GetU32Size()) {
in LLVMFuzzerTestOneInput() 51 OHOS::DoSomethingInterestingWithMyAPI(ch, size);
in LLVMFuzzerTestOneInput()
|
/base/security/access_token/test/fuzztest/innerkits/accesstoken/unregisterpermstatechangecallback_fuzzer/ |
H A D | unregisterpermstatechangecallback_fuzzer.cpp | 46 bool UnRegisterPermStateChangeCallbackFuzzTest(const uint8_t* data, size_t size) in UnRegisterPermStateChangeCallbackFuzzTest() argument 48 if ((data == nullptr) || (size == 0)) { in UnRegisterPermStateChangeCallbackFuzzTest() 52 AccessTokenFuzzData fuzzData(data, size); in UnRegisterPermStateChangeCallbackFuzzTest() 64 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 67 OHOS::UnRegisterPermStateChangeCallbackFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/access_token/test/fuzztest/innerkits/privacy/registerseccompenhance_fuzzer/ |
H A D | registerseccompenhance_fuzzer.cpp | 31 bool RegisterSecCompEnhanceFuzzTest(const uint8_t* data, size_t size) in RegisterSecCompEnhanceFuzzTest() argument 33 if ((data == nullptr) || (size == 0)) { in RegisterSecCompEnhanceFuzzTest() 37 AccessTokenFuzzData fuzzData(data, size); in RegisterSecCompEnhanceFuzzTest() 52 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 55 OHOS::RegisterSecCompEnhanceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/access_token/test/fuzztest/services/accesstoken/getremotehaptokeninfostub_fuzzer/ |
H A D | getremotehaptokeninfostub_fuzzer.cpp | 30 bool GetRemoteHapTokenInfoStubFuzzTest(const uint8_t* data, size_t size) in GetRemoteHapTokenInfoStubFuzzTest() argument 32 if ((data == nullptr) || (size == 0)) { in GetRemoteHapTokenInfoStubFuzzTest() 36 AccessTokenFuzzData fuzzData(data, size); in GetRemoteHapTokenInfoStubFuzzTest() 62 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 65 OHOS::GetRemoteHapTokenInfoStubFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|