mirror of
https://github.com/openharmony/drivers_peripheral.git
synced 2026-08-24 07:45:51 -04:00
update: add cfi config
Signed-off-by: HNTheHui <chenjinghui3@huawei-partners.com>
This commit is contained in:
@@ -15,6 +15,13 @@ import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
|
||||
import("../secure_element.gni")
|
||||
|
||||
ohos_shared_library("se_vendor_adaptor") {
|
||||
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
|
||||
sources = [ "se_vendor_adaptions.cpp" ]
|
||||
branch_protector_ret = "pac_ret"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user