mirror of
https://gitee.com/openharmony/msdp_device_status
synced 2024-11-23 15:40:16 +00:00
add msdp cfi Signed-off-by:li-bo-boblove<boblove.libo@huawei.com>
Signed-off-by: li-bo-boblove <boblove.libo@huawei.com>
This commit is contained in:
parent
6ef40bfbe1
commit
47ed585ac8
@ -28,6 +28,14 @@ config("devicestatus_callback_config") {
|
||||
|
||||
ohos_shared_library("stationary") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
integer_overflow = true
|
||||
ubsan = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
sources = [
|
||||
"${device_status_frameworks_path}/js/napi/src/devicestatus_event.cpp",
|
||||
"${device_status_frameworks_path}/js/napi/src/devicestatus_napi.cpp",
|
||||
|
@ -24,7 +24,14 @@ config("devicestatusnapi_private_config") {
|
||||
|
||||
ohos_shared_library("deviceagent") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
|
||||
sanitize = {
|
||||
integer_overflow = true
|
||||
ubsan = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
sources = [ "./devicestatus_agent.cpp" ]
|
||||
|
||||
configs = [
|
||||
|
@ -55,6 +55,14 @@ ohos_shared_library("devicestatus_mock") {
|
||||
|
||||
ohos_shared_library("devicestatus_algo") {
|
||||
branch_protector_ret = "pac_ret"
|
||||
sanitize = {
|
||||
integer_overflow = true
|
||||
ubsan = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
}
|
||||
sources = [
|
||||
"src/algorithm/algo_absolute_still.cpp",
|
||||
"src/algorithm/algo_base.cpp",
|
||||
|
Loading…
Reference in New Issue
Block a user