cipher_napi、cipher_shared俩个so增加前向CFI

Signed-off-by: lcc <lichaochen@huawei.com>
This commit is contained in:
lcc 2024-06-13 11:04:06 +08:00
parent 306326dcc1
commit f367138b09
2 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,12 @@ ohos_shared_library("cipher_shared") {
if (os_level == "standard") {
subsystem_name = "security"
part_name = "huks"
sanitize = {
cfi = true
cfi_cross_dso = true
debug = false
}
}
innerapi_tags = [ "platformsdk" ]

View File

@ -41,6 +41,12 @@ ohos_shared_library("cipher_napi") {
"-Werror",
]
sanitize = {
cfi = true
cfi_cross_dso = true
debug = false
}
relative_install_dir = "module"
subsystem_name = "security"
part_name = "huks"