From 43e342cee047cd0ec1111d80ad3cd7547ca4d5a7 Mon Sep 17 00:00:00 2001
From: zzy <835280708@qq.com>
Date: Wed, 24 May 2023 10:39:28 +0800
Subject: [PATCH] change sdk doc Signed-off-by: zzy <835280708@qq.com>
---
docs/TEE_TA_guide/TEE-TA开发指南.md | 3 ++-
sdk/README.md | 4 ++--
sdk/README_zh.md | 4 ++--
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/docs/TEE_TA_guide/TEE-TA开发指南.md b/docs/TEE_TA_guide/TEE-TA开发指南.md
index 0626f08..45787bc 100644
--- a/docs/TEE_TA_guide/TEE-TA开发指南.md
+++ b/docs/TEE_TA_guide/TEE-TA开发指南.md
@@ -737,7 +737,8 @@ keytools工具输出产物将放于output路径下,输出及用途如下表所
```
./build.sh
```
-
+编译生成so签名之前会对so进行符号检查:对TA中使用的未定义的符号进行检查。如果符号未出现在headers_check.txt中配置的路径里面的头文件中,则会报错退出。
+如果需要外部头文件声明的符号,可以将相对路径填写在headers_check.txt配置文件中。
## CA\(Certification Authority\)说明
diff --git a/sdk/README.md b/sdk/README.md
index 11ecf96..83a52c6 100644
--- a/sdk/README.md
+++ b/sdk/README.md
@@ -8,7 +8,7 @@
## Introduction
-The SDK capabilities include: TA compilation dependent scripts and header files, TA's ability to issue certificates and sign perm_config signatures, and sec file signatures.
+The SDK capabilities include: TA compilation dependent scripts and header files, TA's ability to issue certificates and sign perm_config signatures, and TA symbol checker, sec file signatures.
## Content
@@ -22,7 +22,7 @@ The warehouse directory structure is as follows:
│ ├── mk # make compile framework capabilities
│ ├── pack-Config # Signature packaging perm_config capability
│ ├── pack-TA # sec signature capability shell script
-│ ├── signtools # sec signature capability python script
+│ ├── signtools # sec signature capability python script and check TA undefined symbols.
│ └── tools # ld file (32-bit and 64-bit) linked by sec file, sec file binary check shell script
├── CHANGELOG # Changelog of sdk version.
├── include
diff --git a/sdk/README_zh.md b/sdk/README_zh.md
index 3505004..b750129 100644
--- a/sdk/README_zh.md
+++ b/sdk/README_zh.md
@@ -8,7 +8,7 @@
## 简介
-SDK能力包含:TA编译依赖的脚本、头文件,TA颁发证书并签发perm_config签名的能力,以及sec文件签名。
+SDK能力包含:TA编译依赖的脚本、头文件,TA颁发证书并签发perm_config签名的能力,以及TA符号检查、sec文件签名。
## 目录
@@ -22,7 +22,7 @@ SDK能力包含:TA编译依赖的脚本、头文件,TA颁发证书并签发p
│ ├── mk # make编译框架能力
│ ├── pack-Config # 签名打包perm_config能力
│ ├── pack-TA # sec签名能力的shell脚本
-│ ├── signtools # sec签名能力的python脚本
+│ ├── signtools # sec签名能力的python脚本、TA未定义符号检查
│ └── tools # sec文件链接的ld文件(32位和64位)、sec文件二进制检查shell脚本
├── CHANGELOG # sdk版本的变更记录。
├── include