jiao_1_2_3
jiao_1_2_3
8月4日

IssueNo:

Description:

静态扫描截图:

通用规范自检:

自检项 自检结果
成员变量命名,统一采用xxxx_ Y
换行优先使用4格缩进 Y
*和&运算符统一跟随之后的变量 Y
避免使用未明确位宽的整型,选择使用int32_t, uint32_t等类型 Y
时间常量命名加后缀_MS, _US等,按照用途命名而非值 Y

安全编码自检:

自检项 自检结果
外部传入的指针使用前是否判空 Y
外部传入数据,直接用于内存申请、数组长度、索引、循环条件前,必须进行合法性校验 Y
成员或局部变量,尤其是指针、资源描述符、bool变量必须赋初值 Y
内存分配后必须判断是否成功 Y
禁止打印内存地址、文件路径、设备名、MAC地址等敏感信息,如有需要,使用private修饰 Y
有符号、无符号整数之间运算、比较,确保不会出现溢出、反转、除0 Y
有无符号不允许混合计算,必须提前进行强转 Y
map\vector\list\set等对象存在多线程并发访问场景必须加锁 Y

进程安全自检:

自检项 自检结果
SA新增idl接口,需要根据功能控制可访问范围,通过权限、UID校验等方式校验 Y
SA新增idl接口,必须同时新增fuzz用例,并进行fuzz测试 Y
类反序列化结果用于内存申请、数组长度、循环条件前,必须进行合法性校验 Y
新增动态共享库或可执行文件是否开启硬件PAC(gn文件配置 branch_protector_ret = "pac_ret") Y
新增动态共享库或可执行文件是否开启前向CFI(gn文件配置 cfi = true, cfi_cross_dso = true, debug = false) Y

XTS Result:

TDD Result:

Fuzz Result:

likedislike
Pull Request已成功合入, 合并人@openharmony_ci
(感谢 jiao_1_2_3 的贡献)
萤火虫
萤火虫
8月4日 评论:

扫描任务已触发,请前往CMC静态分析增强系统查看结果。如超15分钟无结果,请联系张俊文

likedislike
openharmony_ciopenharmony_ci成员
8月4日 添加了label:waiting_on_author
openharmony_ci
openharmony_ci成员
8月4日 评论:

感谢提交 Pull Requests!如果您提交的PR已经开发完毕,请评论 "start build" 触发门禁,更多交互操作,请访问OpenHarmony社区支持命令清单。如果需要调整订阅PR、Issue的变更状态,请访问订阅链接


Thanks for submitting the pull request. If your Pull Request has already been developed, you can leave a "start build" comment to trigger the gated system. For more commands, please visit OpenHarmony Command List. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
8月4日 添加了label:dco检查成功
jiao_1_2_3
jiao_1_2_3
8月4日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
8月4日 评论:

该提交没有关联任何Issue,请先关联一个Issue后再触发构建
The PR is not associated with any Issue, Please associate the PR with one Issue before trigger build.

likedislike
jiao_1_2_3jiao_1_2_3
8月4日 关联了issue:fix UT fail
jiao_1_2_3
jiao_1_2_3
8月4日 评论:

start build

likedislike
openharmony_ci
openharmony_ci成员
8月4日 评论:

首次触发
门禁构建开始,包含静态检查、代码编译和测试【master_inner_build编译, ohos-host_mini_tdd编译, dayu600_7885编译, dayu200编译, part_compile编译, dayu200_tdd编译, x86_64_virt编译, dayu200测试, dayu600_7885测试】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a71822264650f998b33dc64/runlist

likedislike
萤火虫
萤火虫
8月4日 评论:

【扫描结果】通过
【扫描详情】告警总数:0,待确认数量:0,已确认数量:0。

likedislike
openharmony_ciopenharmony_ci成员
8月4日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
8月4日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
8月4日 添加了label:冒烟测试失败
openharmony_ci
openharmony_ci成员
8月4日 评论:

代码门禁未通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a71822264650f998b33dc64/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result test result package
1 dayu200 success success >>>
2 dayu200_tdd success NA >>>
3 part_compile success(IGNORE) NA >>>
4 master_inner_build success(IGNORE) NA >>>
5 ohos-host_mini_tdd success NA >>>
6 dayu600_7885 success failed(ecotest timeout) >>>
7 x86_64_virt success NA >>>

likedislike
jiao_1_2_3
jiao_1_2_3
8月4日 评论:

start build

likedislike
openharmony_ciopenharmony_ci成员
8月4日 删除了label:编译成功
openharmony_ciopenharmony_ci成员
8月4日 删除了label:静态检查成功
openharmony_ciopenharmony_ci成员
8月4日 删除了label:冒烟测试失败
openharmony_ci
openharmony_ci成员
8月4日 评论:

本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译和测试【master_inner_build编译, dayu200测试, dayu200编译, dayu200_tdd编译, x86_64_virt编译, dayu600_7885编译, part_compile编译, ohos-host_mini_tdd编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a719d3364650f998b40c5c8/runlist

likedislike
openharmony_ciopenharmony_ci成员
8月4日 添加了label:编译成功
openharmony_ciopenharmony_ci成员
8月4日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
8月4日 添加了label:冒烟测试成功
openharmony_ciopenharmony_ci成员
8月4日 通过测试
openharmony_ci
openharmony_ci成员
8月4日 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a719d3364650f998b40c5c8/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result test result package
1 dayu200 success success >>>
2 dayu200_tdd success NA >>>
3 part_compile success(IGNORE) NA >>>
4 master_inner_build success(IGNORE) NA >>>
5 ohos-host_mini_tdd success NA >>>
6 dayu600_7885 success NA >>>
7 x86_64_virt success NA >>>

likedislike
openharmony_ciopenharmony_ci成员
8月4日 删除了label:waiting_on_author
openharmony_ciopenharmony_ci成员
8月4日 添加了label:waiting_for_review
openharmony_ci
openharmony_ci成员
8月4日 评论:

您好,Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj ,请分配检视人员检视该PR,可以通过命令"assign [@someone_id]"分配检视人员,也可以直接评论"assign"分配给自己进行检视。


Hello, Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj . Please assign someone to review the PR. You can assign a reviewer by using the command "assign [@someone_id]", or you can comment "assign" to review the PR by yourself.

likedislike
GGisaacj成员
8月5日 通过审查
openharmony_ci
openharmony_ci成员
8月5日 评论:

验证结果已超过12小时,之前验证结果无效,自动重新触发构建,请关注最新验证结果

likedislike
openharmony_ci
openharmony_ci成员
8月5日 评论:

start build

likedislike
openharmony_ciopenharmony_ci成员
8月5日 删除了label:编译成功
openharmony_ciopenharmony_ci成员
8月5日 删除了label:静态检查成功
openharmony_ciopenharmony_ci成员
8月5日 删除了label:冒烟测试成功
openharmony_ci
openharmony_ci成员
8月5日 评论:

本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译和测试【dayu200_tdd编译, x86_64_virt编译, ohos-host_mini_tdd编译, part_compile编译, master_inner_build编译, dayu200测试, dayu200编译, dayu600_7885编译, dayu600_7885测试】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a728faf64650f998b8d421e/runlist

likedislike
openharmony_ciopenharmony_ci成员
8月5日 添加了label:编译成功
GGisaacj成员
8月5日 重置了审查状态
GGisaacj成员
8月5日 通过审查
openharmony_ciopenharmony_ci成员
8月5日 添加了label:静态检查成功
openharmony_ciopenharmony_ci成员
8月5日 添加了label:冒烟测试成功
openharmony_ciopenharmony_ci成员
8月5日 通过测试
openharmony_ci
openharmony_ci成员
8月5日 评论:

代码门禁通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a728faf64650f998b8d421e/runlist

静态检查:

# check type result report
1 codeCheck pass >>>

编译测试:
# Device build result test result package
1 dayu200 success success >>>
2 dayu200_tdd success NA >>>
3 part_compile success(IGNORE) NA >>>
4 master_inner_build success(IGNORE) NA >>>
5 ohos-host_mini_tdd success NA >>>
6 dayu600_7885 success success(IGNORE) >>>
7 x86_64_virt success NA >>>

likedislike
openharmony_ci
openharmony_ci成员
8月5日 评论:

您好,Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @tianluowen @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj ,请分配检视人员检视该PR,可以通过命令"assign [@someone_id]"分配检视人员,也可以直接评论"assign"分配给自己进行检视。


Hello, Committer @liuyuehua1 @magekkkk @imyuhang @hangliebe @huyue57 @boxwall @songshenke @lepage @gregoire @tianluowen @junlintianxiawy @hao-liangfei @seveno0 @Gisaacj . Please assign someone to review the PR. You can assign a reviewer by using the command "assign [@someone_id]", or you can comment "assign" to review the PR by yourself.

likedislike
openharmony_ciopenharmony_ci成员
8月5日 关闭了关联的issue
openharmony_ciopenharmony_ci成员
8月5日 合入了pull request,合并节点 SHA:ca8bc7861b783f18e1b124564054d6e69199bb64
萤火虫
萤火虫
8月5日 评论:

扫描任务已触发,请前往CMC静态分析增强系统查看结果。如超15分钟无结果,请联系张俊文

likedislike
openharmony_ciopenharmony_ci成员
8月5日 删除了label:waiting_for_review
openharmony_ciopenharmony_ci成员
8月5日 添加了label:merged
萤火虫
萤火虫
8月5日 评论:

【扫描结果】通过
【扫描详情】告警总数:0,待确认数量:0,已确认数量:0。

likedislike