/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/posix/ |
H A D | cm_mem.c | 23 void *CmMalloc(size_t size) in CmMalloc() argument 25 return OhosMalloc(MEM_TYPE_HICHAIN, size); in CmMalloc() 33 void *CmMalloc(size_t size) in CmMalloc() argument 35 return malloc(size); in CmMalloc()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceabort_fuzzer/ |
H A D | cmipcserviceabort_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_ABORT, false, CmIpcServiceAbort)) { in DoSomethingInterestingWithMyAPI() 36 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 39 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicegetappcert_fuzzer/ |
H A D | cmipcservicegetappcert_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_GET_APP_CERTIFICATE, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicefinish_fuzzer/ |
H A D | cmipcservicefinish_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_FINISH, false, CmIpcServiceFinish)) { in DoSomethingInterestingWithMyAPI() 36 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 39 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicegetauthorizedapplist_fuzzer/ |
H A D | cmipcservicegetauthorizedapplist_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_GET_AUTHED_LIST, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicegetappcertlist_fuzzer/ |
H A D | cmipcservicegetappcertlist_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_GET_APP_CERTIFICATE_LIST, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicegetcertificateinfo_fuzzer/ |
H A D | cmipcservicegetcertificateinfo_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_GET_CERTIFICATE_INFO, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicegetcertificatelist_fuzzer/ |
H A D | cmipcservicegetcertificatelist_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_GET_CERTIFICATE_LIST, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicegetusercertinfo_fuzzer/ |
H A D | cmipcservicegetusercertinfo_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_GET_USER_CERTIFICATE_INFO, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicegrantappcertificate_fuzzer/ |
H A D | cmipcservicegrantappcertificate_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_GRANT_APP_CERT, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicegetusercertlist_fuzzer/ |
H A D | cmipcservicegetusercertlist_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_GET_USER_CERTIFICATE_LIST, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceinstallappcert_fuzzer/ |
H A D | cmipcserviceinstallappcert_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_INSTALL_APP_CERTIFICATE, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceinit_fuzzer/ |
H A D | cmipcserviceinit_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_INIT, false, CmIpcServiceInit)) { in DoSomethingInterestingWithMyAPI() 36 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 39 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceinstallusercert_fuzzer/ |
H A D | cmipcserviceinstallusercert_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_INSTALL_USER_CERTIFICATE, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceisauthorizedapp_fuzzer/ |
H A D | cmipcserviceisauthorizedapp_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_CHECK_IS_AUTHED_APP, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceremovegrantedapp_fuzzer/ |
H A D | cmipcserviceremovegrantedapp_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_REMOVE_GRANT_APP, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicesetusercertstatus_fuzzer/ |
H A D | cmipcservicesetusercertstatus_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_SET_USER_CERTIFICATE_STATUS, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcservicesetcertstatus_fuzzer/ |
H A D | cmipcservicesetcertstatus_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_SET_CERTIFICATE_STATUS, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceuninstallallusercert_fuzzer/ |
H A D | cmipcserviceuninstallallusercert_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_UNINSTALL_ALL_USER_CERTIFICATE, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceuninstallallappcert_fuzzer/ |
H A D | cmipcserviceuninstallallappcert_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_UNINSTALL_APP_CERTIFICATE, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceuninstallusercert_fuzzer/ |
H A D | cmipcserviceuninstallusercert_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_UNINSTALL_USER_CERTIFICATE, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceuninstallappcert_fuzzer/ |
H A D | cmipcserviceuninstallappcert_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_UNINSTALL_APP_CERTIFICATE, in DoSomethingInterestingWithMyAPI() 37 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 40 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/security/certificate_manager/test/fuzz_test/cmipcserviceupdate_fuzzer/ |
H A D | cmipcserviceupdate_fuzzer.cpp | 24 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument 27 if (!IpcServiceApiFuzzerTest(data, size, CM_MSG_UPDATE, false, CmIpcServiceUpdate)) { in DoSomethingInterestingWithMyAPI() 36 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 39 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
|
/base/startup/init/test/fuzztest/findparameter_fuzzer/ |
H A D | findparameter_fuzzer.cpp | 21 bool FuzzFindParameter(const uint8_t* data, size_t size) in FuzzFindParameter() argument 24 std::string str(reinterpret_cast<const char*>(data), size); in FuzzFindParameter() local 33 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 36 OHOS::FuzzFindParameter(data, size); in LLVMFuzzerTestOneInput()
|
/base/startup/init/test/fuzztest/decodegid_fuzzer/ |
H A D | decodegid_fuzzer.cpp | 21 bool FuzzDecodeGid(const uint8_t* data, size_t size) in FuzzDecodeGid() argument 23 std::string str(reinterpret_cast<const char*>(data), size); in FuzzDecodeGid() local 34 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 37 OHOS::FuzzDecodeGid(data, size); in LLVMFuzzerTestOneInput()
|