mirror of
https://gitee.com/openharmony/advertising_oaid
synced 2024-11-23 15:59:59 +00:00
Description: oaid增加前向CFI
Feature or Bugfix: feature Binary Source: NO Signed-off-by: xiangjiang <xiangjiang@huawei.com>
This commit is contained in:
parent
e7e1b0a9d5
commit
969fb8482c
19
cfi_blocklist.txt
Normal file
19
cfi_blocklist.txt
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright (C) 2022-2023 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
[cfi]
|
||||
type:*OHOS::Parcel*
|
||||
type:*OHOS::RefBase*
|
||||
type:*OHOS::MessageParcel*
|
||||
type:*OHOS::IRemoteObject*
|
||||
type:*OHOS::IRemoteBroker*
|
@ -29,6 +29,10 @@ ohos_shared_library("oaid_client") {
|
||||
]
|
||||
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "../../cfi_blocklist.txt"
|
||||
boundary_sanitize = true
|
||||
integer_overflow = true
|
||||
ubsan = true
|
||||
|
@ -42,6 +42,10 @@ ohos_shared_library("oaid") {
|
||||
]
|
||||
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "../../../../../cfi_blocklist.txt"
|
||||
boundary_sanitize = true
|
||||
integer_overflow = true
|
||||
ubsan = true
|
||||
|
@ -29,6 +29,10 @@ ohos_shared_library("oaid_service") {
|
||||
public_configs = [ ":oaid_service_config" ]
|
||||
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "../cfi_blocklist.txt"
|
||||
boundary_sanitize = true
|
||||
integer_overflow = true
|
||||
ubsan = true
|
||||
|
@ -27,6 +27,13 @@ ohos_source_set("oaid_utils") {
|
||||
|
||||
deps = []
|
||||
|
||||
sanitize = {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "../cfi_blocklist.txt"
|
||||
}
|
||||
|
||||
external_deps = [
|
||||
"c_utils:utils",
|
||||
"hilog:libhilog",
|
||||
|
Loading…
Reference in New Issue
Block a user