mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2025-02-17 01:30:02 +00:00
Description:Undefined behavior
Feature or Bugfix:Feature Binary Source:NA Signed-off-by: sun-jiashun-123 <sunjiashun@huawei.com>
This commit is contained in:
parent
83e576e9fa
commit
4c45452c1a
@ -214,6 +214,9 @@ if (defined(ohos_lite)) {
|
||||
|
||||
ohos_shared_library("softbus_adapter") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -94,6 +94,9 @@ config("mbedtls_config") {
|
||||
|
||||
ohos_shared_library("mbedtls_shared") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -102,6 +102,9 @@ if (defined(ohos_lite)) {
|
||||
import("//build/ohos.gni")
|
||||
ohos_shared_library("FillpSo.open") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -70,6 +70,9 @@ if (defined(ohos_lite)) {
|
||||
|
||||
ohos_shared_library("nstackx_congestion.open") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -125,6 +125,9 @@ if (defined(ohos_lite)) {
|
||||
|
||||
ohos_shared_library("nstackx_dfile.open") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -152,6 +152,9 @@ if (defined(ohos_lite)) {
|
||||
import("//build/ohos.gni")
|
||||
ohos_shared_library("nstackx_ctrl") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -174,6 +174,9 @@ if (defined(ohos_lite)) {
|
||||
|
||||
ohos_shared_library("nstackx_util.open") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -139,6 +139,9 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
ohos_shared_library("softbus_utils") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -55,6 +55,9 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
ohos_shared_library("softbus_dfx_anonymizer") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -50,6 +50,9 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
ohos_shared_library("softbus_dfx_event") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -74,6 +74,9 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
ohos_shared_library("softbus_dfx_dump") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -55,6 +55,9 @@ if (defined(ohos_lite)) {
|
||||
}
|
||||
ohos_shared_library("softbus_dfx_log") {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -55,6 +55,9 @@ ohos_static_library("wifi_direct") {
|
||||
if (dsoftbus_feature_conn_p2p == true &&
|
||||
softbus_communication_wifi_feature == true) {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
@ -106,6 +106,9 @@ target(build_type, "softbus_client") {
|
||||
ldflags = [ "-lstdc++" ]
|
||||
} else {
|
||||
sanitize = {
|
||||
ubsan = true
|
||||
integer_overflow = true
|
||||
boundary_sanitize = true
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user