diff --git a/cfi_blocklist.txt b/cfi_blocklist.txt index 89d302fdc73f6ae208a1956ed722e5016e548e3e..569178d8cf2cd84e5e2e1548d02d4efd1d2a734a 100644 --- a/cfi_blocklist.txt +++ b/cfi_blocklist.txt @@ -13,4 +13,5 @@ [cfi] src:*third_party/googletest/googlemock/include/gmock/* -src:*third_party/googletest/googletest/include/gtest/* \ No newline at end of file +src:*third_party/googletest/googletest/include/gtest/* +src:*foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/test/* \ No newline at end of file diff --git a/services/distributeddataservice/app/test/BUILD.gn b/services/distributeddataservice/app/test/BUILD.gn index d5b6eaa360c4478dbf862d277c86b2850175789d..8c5e8f0faa705257f64544d14b98ab50d7fac17c 100644 --- a/services/distributeddataservice/app/test/BUILD.gn +++ b/services/distributeddataservice/app/test/BUILD.gn @@ -94,6 +94,7 @@ ohos_unittest("KvStoreDataServiceTest") { cfi = true cfi_cross_dso = true debug = false + blocklist = "${datamgr_service_path}/cfi_blocklist.txt" } configs = [ ":module_private_config" ]