diff --git a/test/fuzztest/abilityautostartupclientfirst_fuzzer/BUILD.gn b/test/fuzztest/abilityautostartupclientfirst_fuzzer/BUILD.gn index 84af386185e7d07748747c92e04e2abda76e157a..0d0406259755aad3008bfd758ef990bb826bdbae 100644 --- a/test/fuzztest/abilityautostartupclientfirst_fuzzer/BUILD.gn +++ b/test/fuzztest/abilityautostartupclientfirst_fuzzer/BUILD.gn @@ -37,7 +37,6 @@ ohos_fuzztest("AbilityAutoStartupClientFirstFuzzTest") { "-fno-omit-frame-pointer", ] sources = [ - "${ability_runtime_services_path}/abilitymgr/src/ability_auto_startup_client.cpp", "${ability_runtime_services_path}/common/src/app_utils.cpp", "${ability_runtime_services_path}/common/src/json_utils.cpp", "abilityautostartupclientfirst_fuzzer.cpp", diff --git a/test/fuzztest/abilityresidentprocessrdb_fuzzer/abilityresidentprocessrdb_fuzzer.cpp b/test/fuzztest/abilityresidentprocessrdb_fuzzer/abilityresidentprocessrdb_fuzzer.cpp index 38e5cf41d32ab70c3692c6a54bc9f086fffa7bbd..eec756a8323f1bec036f6f2592fb906bd33ecf2d 100644 --- a/test/fuzztest/abilityresidentprocessrdb_fuzzer/abilityresidentprocessrdb_fuzzer.cpp +++ b/test/fuzztest/abilityresidentprocessrdb_fuzzer/abilityresidentprocessrdb_fuzzer.cpp @@ -36,6 +36,7 @@ constexpr size_t STRING_MAX_LENGTH = 128; bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) { struct AmsRdbConfig amsRdbConfig; + amsRdbConfig.tableName = "resident_process_list"; AmsResidentProcessRdbCallBack amsCallback(amsRdbConfig); std::unique_ptr rdbMgr = std::make_unique(amsRdbConfig);