!1392 fix: 屏蔽高风险fuzz接口

Merge pull request !1392 from weimengxue/master
This commit is contained in:
openharmony_ci 2024-09-24 10:09:56 +00:00 committed by Gitee
commit d16042fcd2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
17 changed files with 16 additions and 31 deletions

View File

@ -49,7 +49,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":GetFeatureSizeFuzzTest", #":GetFeatureSizeFuzzTest",
] ]
} }

View File

@ -50,7 +50,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":GetRpcFeatureAckFuzzTest", #":GetRpcFeatureAckFuzzTest",
] ]
} }

View File

@ -49,7 +49,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":GetTokenFromDataFuzzTest", #":GetTokenFromDataFuzzTest",
] ]
} }

View File

@ -50,7 +50,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":GetTokenIdSizeFuzzTest", #":GetTokenIdSizeFuzzTest",
] ]
} }

View File

@ -49,7 +49,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":IsATEnableFuzzTest", #":IsATEnableFuzzTest",
] ]
} }

View File

@ -50,7 +50,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":IsFeatureAckFuzzTest", #":IsFeatureAckFuzzTest",
] ]
} }

View File

@ -50,7 +50,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":SetFeatureTransDataFuzzTest", #":SetFeatureTransDataFuzzTest",
] ]
} }

View File

@ -52,7 +52,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":BufferObjectFuzzTest", #":BufferObjectFuzzTest",
] ]
} }

View File

@ -269,21 +269,6 @@ namespace OHOS {
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
{ {
/* Run your code on data */ /* Run your code on data */
OHOS::AcquireHandleTest(data, size);
OHOS::ReleaseHandleTest(data, size);
OHOS::QueryClientSessionObjectTest(data, size);
OHOS::QueryServerSessionObjectTest(data, size);
OHOS::OnMessageAvailableTest(data, size);
OHOS::JoinThreadTest(data, size);
OHOS::StopWorkThreadTest(data, size);
OHOS::GetCallerPidTest(data, size);
OHOS::GetStatusTest(data, size);
OHOS::GetCallerUidTest(data, size);
OHOS::GetCallerTokenIDTest(data, size);
OHOS::GetFirstTokenIDTest(data, size);
OHOS::IsLocalCallingTest(data, size);
OHOS::FlushCommandsTest(data, size);
OHOS::ResetCallingIdentityTest(data, size);
OHOS::MakeThreadProcessInfoTest(data, size); OHOS::MakeThreadProcessInfoTest(data, size);
OHOS::ProcessTransactionTest(data, size); OHOS::ProcessTransactionTest(data, size);
OHOS::CheckTransactionDataTest(data, size); OHOS::CheckTransactionDataTest(data, size);

View File

@ -49,7 +49,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":CloseDatabusSessionFuzzTest", #":CloseDatabusSessionFuzzTest",
] ]
} }
############################################################################### ###############################################################################

View File

@ -43,7 +43,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":DBinderServiceFuzzTest", #":DBinderServiceFuzzTest",
] ]
} }
############################################################################### ###############################################################################

View File

@ -46,7 +46,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":DetachProxyObjectFuzzTest", #":DetachProxyObjectFuzzTest",
] ]
} }
############################################################################### ###############################################################################

View File

@ -45,7 +45,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":LoadSystemAbilityCompleteFuzzTest", #":LoadSystemAbilityCompleteFuzzTest",
] ]
} }
############################################################################### ###############################################################################

View File

@ -43,7 +43,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":NoticeDeviceDieFuzzTest", #":NoticeDeviceDieFuzzTest",
] ]
} }
############################################################################### ###############################################################################

View File

@ -43,7 +43,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":NoticeServiceDieFuzzTest", #":NoticeServiceDieFuzzTest",
] ]
} }
############################################################################### ###############################################################################

View File

@ -46,7 +46,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":OnBytesReceivedFuzzTest", #":OnBytesReceivedFuzzTest",
] ]
} }
############################################################################### ###############################################################################

View File

@ -46,7 +46,7 @@ group("fuzztest") {
deps = [] deps = []
deps += [ deps += [
# deps file # deps file
":SendDataToRemoteFuzzTest", #":SendDataToRemoteFuzzTest",
] ]
} }
############################################################################### ###############################################################################