diff --git a/frameworks/js/napi/update/BUILD.gn b/frameworks/js/napi/update/BUILD.gn index 7afa4825575dfa0c22725168266a76b34c81017d..b2bc922aa690b1043ce79c3c5773d7a8b5c10f86 100644 --- a/frameworks/js/napi/update/BUILD.gn +++ b/frameworks/js/napi/update/BUILD.gn @@ -16,17 +16,6 @@ import("../../../../updateengine.gni") import("../session/update_session.gni") ohos_shared_library("$updateengine_client_library_name") { - sanitize = { - integer_overflow = true - ubsan = true - boundary_sanitize = true - cfi = true - cfi_cross_dso = true - debug = false - blocklist = "./cfi_blocklist.txt" - } - branch_protector_ret = "pac_ret" - sources = [] if (ability_ability_runtime_enable) { sources += [ diff --git a/frameworks/js/napi/update/cfi_blocklist.txt b/frameworks/js/napi/update/cfi_blocklist.txt deleted file mode 100644 index c20c6f510c20ca0d49f594cf4363eb9c179ba7c8..0000000000000000000000000000000000000000 --- a/frameworks/js/napi/update/cfi_blocklist.txt +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (C) 2022-2024 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -[cfi] -type:*OHOS::UpdateEngine::IUpdater* -type:*OHOS::UpdateEngine::BaseSession* -type:*OHOS::UpdateEngine::BaseUpdateSession* -type:*OHOS::UpdateEngine::BaseMigratePromiseSession* -type:*OHOS::UpdateEngine::UpdateAsyncession* -type:*OHOS::UpdateEngine::BaseAsyncSession* -type:*OHOS::UpdateEngine::NapiSession* -type:*OHOS::UpdateEngine::BasePromiseSession* -type:*OHOS::UpdateEngine::UpdateListener* \ No newline at end of file