PAC_CFI开启

Signed-off-by: linguanhong1 <linguanhong1@h-partners.com>
This commit is contained in:
linguanhong1 2023-10-25 17:42:15 +08:00
parent 3dbc404514
commit 034465b779
9 changed files with 10 additions and 10 deletions

View File

@ -20,7 +20,7 @@ config("cert_manager_config") {
ohos_static_library("libcert_manager_common_standard_static") { ohos_static_library("libcert_manager_common_standard_static") {
subsystem_name = "security" subsystem_name = "security"
part_name = "certificate_manager" part_name = "certificate_manager"
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true

View File

@ -21,7 +21,7 @@ ohos_static_library("libcert_manager_log_mem_static") {
subsystem_name = "security" subsystem_name = "security"
part_name = "certificate_manager" part_name = "certificate_manager"
public_configs = [ ":cert_manager_log_mem_config" ] public_configs = [ ":cert_manager_log_mem_config" ]
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true
@ -61,7 +61,7 @@ ohos_static_library("libcert_manager_ipc_client_static") {
subsystem_name = "security" subsystem_name = "security"
part_name = "certificate_manager" part_name = "certificate_manager"
public_configs = [ ":cert_manager_ipc_client_config" ] public_configs = [ ":cert_manager_ipc_client_config" ]
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true

View File

@ -19,7 +19,7 @@ config("cert_manager_config") {
if (os_level == "standard") { if (os_level == "standard") {
ohos_shared_library("cert_manager_sdk") { ohos_shared_library("cert_manager_sdk") {
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true

View File

@ -14,7 +14,7 @@
import("//build/ohos.gni") import("//build/ohos.gni")
ohos_shared_library("certmanager") { ohos_shared_library("certmanager") {
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true

View File

@ -21,7 +21,7 @@ ohos_prebuilt_etc("cert_manager_service.rc") {
} }
ohos_shared_library("cert_manager_service") { ohos_shared_library("cert_manager_service") {
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true

View File

@ -20,7 +20,7 @@ ohos_static_library("cert_manager_engine_core_standard") {
subsystem_name = "security" subsystem_name = "security"
part_name = "certificate_manager" part_name = "certificate_manager"
public_configs = [ ":cert_manager_engine_core_config" ] public_configs = [ ":cert_manager_engine_core_config" ]
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true

View File

@ -21,7 +21,7 @@ ohos_static_library("libcert_manager_hisysevent_wrapper_static") {
subsystem_name = "security" subsystem_name = "security"
part_name = "certificate_manager" part_name = "certificate_manager"
public_configs = [ ":cert_manager_config" ] public_configs = [ ":cert_manager_config" ]
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true

View File

@ -16,7 +16,7 @@ import("//build/ohos.gni")
ohos_static_library("libcert_manager_service_os_dependency_standard_static") { ohos_static_library("libcert_manager_service_os_dependency_standard_static") {
subsystem_name = "security" subsystem_name = "security"
part_name = "certificate_manager" part_name = "certificate_manager"
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true

View File

@ -21,7 +21,7 @@ ohos_static_library("libcm_service_idl_standard_static") {
subsystem_name = "security" subsystem_name = "security"
part_name = "certificate_manager" part_name = "certificate_manager"
public_configs = [ ":cert_manager_config" ] public_configs = [ ":cert_manager_config" ]
stack_protector_ret = true branch_protector_ret = "pac_ret"
sanitize = { sanitize = {
cfi = true cfi = true
cfi_cross_dso = true cfi_cross_dso = true