Files
softbus_OPC/docs/SBOM.md
flower_linux 85bfb5d8ec self control
2026-06-24 16:25:02 +08:00

52 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 第三方组件 SBOM软件物料清单
> 更新日期2026-06-24
> 自主化改造后送检源码包 **不含** 下列组件源码;运行时可能动态链接系统库。
## 送检源码包组成
| 路径 | 说明 |
|------|------|
| `src/` | 全部自研模块 |
| `cmake/` | 构建脚本 |
| `config/` | 配置文件 |
| `tools/` | 辅助工具 |
## 已移除的第三方源码
| 原依赖 | 版本 | 替代方案 |
|--------|------|----------|
| open62541 | v1.4.6 | `src/softbus_opcua/` 自研协议栈 |
| asio | 1.30.2 | `src/softbus_net/` |
| nlohmann/json | v3.11.3 | `src/softbus_json/` |
| libmodbus | v3.1.10 | `src/softbus_modbus/` |
## 运行时动态链接(不计入 TCL
| 组件 | 用途 | 许可证 |
|------|------|--------|
| OpenSSL (`libssl`, `libcrypto`) | OPC UA TLS/mTLS可选 | Apache-2.0 |
| pthread / libc | 系统运行时 | — |
| Linux SocketCAN | CAN 驱动接口 | GPL内核 |
## 自研模块清单
| 模块 | 职责 |
|------|------|
| `softbus_json` | JSON 解析与序列化 |
| `softbus_net` | TCP/UDP、IoPoller、JSONL 分帧 |
| `softbus_modbus` | Modbus RTU/TCP 客户端FC3/FC6 |
| `softbus_opcua` | OPC UA 服务端Session/Browse/Read/Write/Call/Sub/TLS/Event |
| 其他 `softbus_*` | 业务逻辑edge/daemon/pipeline 等) |
## 测评结论(静态统计)
| 指标 | 数值 |
|------|------|
| 送检有效代码 (SCL/TCL) | **~12,400 行** |
| 第三方源码 | **0 行** |
| **CAR** | **~100%** |
| 可控性等级 | **B 级及以上≥80%** |
详见 [count.md](count.md)、[submission_scope.md](submission_scope.md)。