add filter map

Signed-off-by: zhangwenzhi <zhangwenzhi3@huawei.com>
This commit is contained in:
zhang-wenzhi821 2023-11-17 15:13:48 +08:00
parent 75875088ec
commit d639ffb0e4
6 changed files with 79 additions and 0 deletions

View File

@ -45,6 +45,8 @@ ohos_shared_library("huks_ndk") {
branch_protector_ret = "pac_ret"
version_script = "libhuksndk.map"
sanitize = {
integer_overflow = true
cfi = true

View File

@ -0,0 +1,40 @@
# Copyright (c) 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.
1.0 {
global:
OH_Huks_GetSdkVersion;
OH_Huks_GenerateKeyItem;
OH_Huks_ImportKeyItem;
OH_Huks_ImportWrappedKeyItem;
OH_Huks_ExportPublicKeyItem;
OH_Huks_DeleteKeyItem;
OH_Huks_GetKeyItemParamSet;
OH_Huks_IsKeyItemExist;
OH_Huks_AttestKeyItem;
OH_Huks_InitSession;
OH_Huks_UpdateSession;
OH_Huks_FinishSession;
OH_Huks_AbortSession;
OH_Huks_InitParamSet;
OH_Huks_AddParams;
OH_Huks_BuildParamSet;
OH_Huks_FreeParamSet;
OH_Huks_CopyParamSet;
OH_Huks_GetParam;
OH_Huks_FreshParamSet;
OH_Huks_IsParamSetTagValid;
OH_Huks_IsParamSetValid;
OH_Huks_CheckParamMatch;
local: *;
};

View File

@ -39,6 +39,8 @@ ohos_shared_library("huks") {
"include/v9",
]
version_script = "libhuksnapi.map"
sources = [
"src/huks_napi.cpp",
"src/v8/huks_napi_abort.cpp",

View File

@ -0,0 +1,17 @@
# Copyright (c) 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.
1.0 {
global:
local: *;
};

View File

@ -33,6 +33,7 @@ ohos_shared_library("huks_service") {
}
subsystem_name = "security"
part_name = "huks"
version_script = "libhuksservice.map"
configs = [
"//base/security/huks/frameworks/config/build:l2_standard_common_config",

View File

@ -0,0 +1,17 @@
# Copyright (c) 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.
1.0 {
global:
local: *;
};