From 969eba3a832857c3467b78e403071a6f04586575 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 24 Apr 2024 16:38:52 +0800 Subject: [PATCH] close napi cfi Signed-off-by: unknown --- frameworks/js/napi/update/BUILD.gn | 11 ---------- frameworks/js/napi/update/cfi_blocklist.txt | 23 --------------------- 2 files changed, 34 deletions(-) delete mode 100644 frameworks/js/napi/update/cfi_blocklist.txt diff --git a/frameworks/js/napi/update/BUILD.gn b/frameworks/js/napi/update/BUILD.gn index 7afa4825..b2bc922a 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 c20c6f51..00000000 --- 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 -- Gitee