后向PAC问题整改

Signed-off-by: yanghang <yanghang86@huawei.com>
This commit is contained in:
yanghang 2024-08-29 15:03:56 +08:00
parent 6ff59a6ed1
commit 71f9ad923f
8 changed files with 8 additions and 0 deletions

View File

@ -26,6 +26,7 @@ config("libipc_capi_public_config") {
}
ohos_shared_library("ipc_capi") {
branch_protector_ret = "pac_ret"
include_dirs = [
"$SUBSYSTEM_DIR/interfaces/innerkits/ipc_core/include",
"$SUBSYSTEM_DIR/interfaces/innerkits/c_api/include",

View File

@ -30,6 +30,7 @@ ohos_shared_library("ipc_core") {
integer_overflow = true
}
version_script = "libipc_core_map"
branch_protector_ret = "pac_ret"
include_dirs = [
"$IPC_CORE_ROOT/c/adapter/access_token/include",
"$IPC_CORE_ROOT/c/rpc/include",

View File

@ -25,6 +25,7 @@ if (support_jsapi) {
sanitize = {
integer_overflow = true
}
branch_protector_ret = "pac_ret"
include_dirs = [
"include",
"../../../utils/include",

View File

@ -28,6 +28,7 @@ ohos_shared_library("ipc_single") {
integer_overflow = true
}
version_script = "libipc_single_map"
branch_protector_ret = "pac_ret"
include_dirs = [
"$IPC_CORE_ROOT/c/adapter/access_token/include",
"$SUBSYSTEM_DIR/utils/include",

View File

@ -42,6 +42,7 @@ ohos_shared_library("libdbinder") {
sanitize = {
integer_overflow = true
}
branch_protector_ret = "pac_ret"
include_dirs = [
"$SUBSYSTEM_DIR/ipc/native/c/rpc/include",
"$SUBSYSTEM_DIR/utils/include",

View File

@ -31,6 +31,7 @@ config("libipc_c_private_config") {
}
ohos_static_library("ipc_rust_cxx") {
branch_protector_ret = "pac_ret"
sources = [
"src/cxx/parcel_wrapper.cpp",
"src/cxx/remote_object_wrapper.cpp",

View File

@ -25,6 +25,7 @@ if (support_jsapi) {
integer_overflow = true
}
version_script = "librpc_map"
branch_protector_ret = "pac_ret"
include_dirs = [
"$SUBSYSTEM_DIR/utils/include",
"$SUBSYSTEM_DIR/ipc/native/c/adapter/include",

View File

@ -25,6 +25,7 @@ ohos_shared_library("ipc_common") {
sanitize = {
integer_overflow = true
}
branch_protector_ret = "pac_ret"
include_dirs = [
"$IPC_CORE_ROOT/src/mock/include",
"$SUBSYSTEM_DIR/utils/include",