mirror of
https://gitee.com/openharmony/filemanagement_storage_service
synced 2024-11-23 15:09:48 +00:00
CFI功能代码适配1
Signed-off-by: liuxiaowei <liuxiaowei45@huawei.com>
This commit is contained in:
parent
221e575485
commit
f2f4280edd
@ -28,7 +28,7 @@ config("private_config") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("storage_manager_acl") {
|
ohos_shared_library("storage_manager_acl") {
|
||||||
stack_protector_ret = true
|
branch_protector_ret = "pac_ret"
|
||||||
sanitize = {
|
sanitize = {
|
||||||
integer_overflow = true
|
integer_overflow = true
|
||||||
ubsan = true
|
ubsan = true
|
||||||
|
@ -27,7 +27,7 @@ config("private_config") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("storage_manager_sa_proxy") {
|
ohos_shared_library("storage_manager_sa_proxy") {
|
||||||
stack_protector_ret = true
|
branch_protector_ret = "pac_ret"
|
||||||
sanitize = {
|
sanitize = {
|
||||||
integer_overflow = true
|
integer_overflow = true
|
||||||
ubsan = true
|
ubsan = true
|
||||||
|
@ -15,7 +15,7 @@ import("//build/ohos.gni")
|
|||||||
import("//foundation/filemanagement/storage_service/storage_service_aafwk.gni")
|
import("//foundation/filemanagement/storage_service/storage_service_aafwk.gni")
|
||||||
|
|
||||||
ohos_shared_library("storagestatistics") {
|
ohos_shared_library("storagestatistics") {
|
||||||
stack_protector_ret = true
|
branch_protector_ret = "pac_ret"
|
||||||
sanitize = {
|
sanitize = {
|
||||||
integer_overflow = true
|
integer_overflow = true
|
||||||
ubsan = true
|
ubsan = true
|
||||||
@ -63,7 +63,7 @@ ohos_shared_library("storagestatistics") {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ohos_shared_library("volumemanager") {
|
ohos_shared_library("volumemanager") {
|
||||||
stack_protector_ret = true
|
branch_protector_ret = "pac_ret"
|
||||||
sanitize = {
|
sanitize = {
|
||||||
integer_overflow = true
|
integer_overflow = true
|
||||||
ubsan = true
|
ubsan = true
|
||||||
|
Loading…
Reference in New Issue
Block a user