未验证 提交 d6d9113f 编写于 作者: O openharmony_ci 提交者: Gitee

!664 添加IntSan安全编译检查

Merge pull request !664 from dengliang/master
......@@ -25,6 +25,9 @@ config("ipc_all_deps_config") {
}
ohos_shared_library("ipc_core") {
sanitize = {
integer_overflow = true
}
version_script = "libipc_core_map"
include_dirs = [
"$IPC_CORE_ROOT/c/adapter/access_token/include",
......
......@@ -19,6 +19,9 @@ if (support_jsapi) {
}
ohos_shared_library("ipc_napi") {
sanitize = {
integer_overflow = true
}
include_dirs = [
"include",
"../../../utils/include",
......
......@@ -23,6 +23,9 @@ config("libipc_single_private_config") {
]
}
ohos_shared_library("ipc_single") {
sanitize = {
integer_overflow = true
}
version_script = "libipc_single_map"
include_dirs = [
"$IPC_CORE_ROOT/c/adapter/access_token/include",
......
......@@ -39,6 +39,9 @@ config("libdbinder_private_config") {
}
ohos_shared_library("libdbinder") {
sanitize = {
integer_overflow = true
}
include_dirs = [
"$SUBSYSTEM_DIR/ipc/native/c/rpc/include",
"$SUBSYSTEM_DIR/utils/include",
......
......@@ -48,6 +48,9 @@ config("libipc_c_private_config") {
}
ohos_shared_library("ipc_c") {
sanitize = {
integer_overflow = true
}
include_dirs = [
"$IPC_CORE_ROOT/src/c_wrapper/include",
"$SUBSYSTEM_DIR/utils/include",
......
......@@ -21,6 +21,9 @@ config("rpc_public_config") {
}
ohos_shared_library("rpc") {
sanitize = {
integer_overflow = true
}
version_script = "librpc_map"
include_dirs = [
"$SUBSYSTEM_DIR/utils/include",
......
......@@ -20,6 +20,9 @@ config("libipc_common_private_config") {
}
ohos_shared_library("ipc_common") {
sanitize = {
integer_overflow = true
}
include_dirs = [
"$SUBSYSTEM_DIR/utils/include",
"include",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册