加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
OAT.xml 8.91 KB
一键复制 编辑 原始数据 按行查看 历史
PolyOS Project 提交于 2023-12-18 16:34 . add riscv64 config
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2021 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.
This is the configuration file template for OpenHarmony OSS Audit Tool, please copy it to your project root dir and modify it refer to OpenHarmony/tools_oat/README.
-->
<configuration>
<oatconfig>
<licensefile></licensefile>
<policylist>
<policy name="projectPolicy" desc="">
<policyitem type="copyright" name="Huawei Technologies Co., Ltd. All rights reserved." path=".*" desc="original liteos copyright"/>
<policyitem type="license" name="BSD-3-Clause" path=".*" desc="LiteOS kernel use bsd3 license"/>
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultFilter" desc="文件属于海思的license,但是属于apache2.0">
<filteritem type="filepath" name="drivers/uart/.*" desc="文件属于海思的license,但是属于apache2.0"/>
</filefilter>
<filefilter name="defaultFilter" desc="apache license">
<filteritem type="filepath" name="SmartL_E802/liteos_m/board/hals/csky_driver/include/csi_config.h" desc="文件属于社区贡献,不用提供额外的说明"/>
<filteritem type="filepath" name="SmartL_E802/liteos_m/board/hals/csky_driver/include/.*" desc="apache license"/>
<filteritem type="filepath" name="SmartL_E802/liteos_m/board/hals/csky_driver/src/.*" desc="apache license"/>
<filteritem type="filepath" name="SmartL_E802/liteos_m/board/startup.S" desc="apache license"/>
</filefilter>
<filefilter name="defaultFilter" desc="文件属于Nuttx的license">
<filteritem type="filepath" name="riscv32_virt/liteos_m/board/driver/video/fb.c" desc="文件属于Nuttx的license"/>
<filteritem type="filepath" name="riscv32_virt/liteos_m/board/driver/video/fb.h" desc="文件属于Nuttx的license"/>
</filefilter>
<filefilter name="defaultFilter" desc="三方驱动文件,属于apache license">
<filteritem type="filepath" name="arm_mps2_an386/liteos_m/board/driver/arm_uart_drv.*" desc="apache license"/>
<filteritem type="filepath" name="arm_mps2_an386/liteos_m/board/driver/net/lan9118_eth_drv.*" desc="apache license"/>
<filteritem type="filepath" name="arm_mps2_an386/liteos_m/board/driver/LICENSE-apache-2.0.txt" desc="license file"/>
</filefilter>
<filefilter name="defaultFilter" desc="三方驱动文件,属于apache license">
<filteritem type="filepath" name="arm_mps3_an547/liteos_m/board/driver/arm_uart_drv.*" desc="apache license"/>
<filteritem type="filepath" name="arm_mps3_an547/liteos_m/board/driver/LICENSE-apache-2.0.txt" desc="license file"/>
</filefilter>
<filefilter name="defaultFilter" desc="Files not to check">
<filteritem type="filepath" name="arm_virt/linux/chipset/etc/fstab*.*" desc="fstab配置文件,不能加其他注释"/>
<filteritem type="filepath" name="arm_virt/linux/rootfs/*.cfg" desc="init配置文件,不能加其他注释"/>
<filteritem type="filepath" name="arm_virt/linux/rootfs/*.para" desc="默认系统参数文件,不添加注释"/>
</filefilter>
<filefilter name="defaultFilter" desc="Files not to check">
<filteritem type="filepath" name="x86_64_virt/linux/chipset/etc/fstab*.*" desc="fstab配置文件,不能加其他注释"/>
<filteritem type="filepath" name="x86_64_virt/linux/rootfs/*.cfg" desc="init配置文件,不能加其他注释"/>
<filteritem type="filepath" name="x86_64_virt/linux/rootfs/*.para" desc="默认系统参数文件,不添加注释"/>
</filefilter>
<filefilter name="defaultFilter" desc="Files not to check">
<filteritem type="filepath" name="riscv64_virt/linux/chipset/etc/fstab*.*" desc="fstab配置文件,不能加其他注释"/>
<filteritem type="filepath" name="riscv64_virt/linux/rootfs/*.cfg" desc="init配置文件,不能加其他注释"/>
<filteritem type="filepath" name="riscv64_virt/linux/rootfs/*.para" desc="默认系统参数文件,不添加注释"/>
</filefilter>
<filefilter name="defaultFilter" desc="Files not to check">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
<filteritem type="filepath" name="riscv32_virt/liteos_m/gen_fs/mklittlefs" desc="littlefs image making tools"/>
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
</filefilter>
</filefilterlist>
<licensematcherlist>
<!--licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
<licensetext name="
uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
" desc=""/>
<licensetext name="
uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
" desc=""/>
</licensematcher-->
</licensematcherlist>
</oatconfig>
</configuration>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化