From 03aa8c0fbf9c5c0bf357112bcbd54209ba56c2b2 Mon Sep 17 00:00:00 2001 From: zhaohui91 Date: Fri, 6 Sep 2024 14:19:04 +0800 Subject: [PATCH] elfio add pac cfi Signed-off-by: zhaohui91 --- BUILD.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 9949346..53143a4 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (c) 2022 Huawei Device Co., Ltd. +# 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 @@ -18,6 +18,7 @@ config("elfio_public_config") { } ohos_shared_library("elfio") { + branch_protector_ret = "pac_ret" sources = [ "./c_wrapper/elfio_c_wrapper.cpp", "//third_party/elfio/elfio/elfio_demo.cpp", -- Gitee