• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Copyright (c) 2023 Huawei Device Co., Ltd.
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15
16    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.
17
18-->
19
20<configuration>
21    <oatconfig>
22        <licensefile></licensefile>
23        <policylist>
24            <policy name="projectPolicy" desc="">
25                <policyitem type="compatibility" name="SPDX:LGPL-2.0-or-later" path="gen-changelog.py" desc="生成changelog的脚本,实际未使用"/>
26                <policyitem type="compatibility" name="SPDX:BSL-1.0" path="tests/lib/catch.hpp" desc="经分析该协议是兼容的"/>
27                <policyitem type="compatibility" name="GPL-2.0+-with-LLVM-exception" path="LICENSE.txt" desc="该文件是license说明"/>
28            </policy>
29        </policylist>
30        <filefilterlist>
31            <filefilter name="defaultFilter" desc="Files not to check">
32                <filteritem type="filepath" name="COMPILING" desc="编译指导的文本文件,无license头"/>
33                <filteritem type="filepath" name=".*.am" desc="am文件,用于生成Makefile的模板"/>
34                <filteritem type="filepath" name="VISIBILITY" desc="符号导出的说明文件"/>
35                <filteritem type="filepath" name="COMMIT-LOG-GUIDELINES" desc="提交日志的指导"/>
36                <filteritem type="filepath" name="bash-completion/.*" desc="bash下命令补全的脚本"/>
37                <filteritem type="filepath" name="doc/.*" desc="API以及使用指南"/>
38                <filteritem type="filepath" name="license-change-2020.txt" desc="license变更说明"/>
39                <filteritem type="filepath" name="AUTHORS" desc="作者描述"/>
40                <filteritem type="filepath" name="ChangeLog" desc="版本修改日志"/>
41                <filteritem type="filepath" name="CONTRIBUTING" desc="如何贡献代码的指南"/>
42                <filteritem type="filepath" name="relicensing-scripts/file-licenses.orig.txt" desc="原license说明"/>
43                <filteritem type="filepath" name="ltmain.sh" desc="处理library库的脚本"/>
44                <filteritem type="filepath" name="autoconf-archive/.*" desc="自动配置文档"/>
45                <filteritem type="filepath" name="install-sh" desc="生成二进制的安装脚本"/>
46                <filteritem type="filepath" name="abigail.m4" desc="检测系统里该软件的头文件和库文件的脚本"/>
47                <filteritem type="filepath" name="configure.ac" desc="config配置脚本"/>
48                <filteritem type="filepath" name="default.abignore" desc="配置文件"/>
49                <filteritem type="filepath" name="LICENSE.txt" desc="license声明文件"/>
50            </filefilter>
51            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
52            </filefilter>
53            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
54            </filefilter>
55            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
56            </filefilter>
57            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
58            </filefilter>
59            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
60            </filefilter>
61            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
62                <filteritem type="filepath" name="tests/data/.*.rpm" desc="test files" />
63                <filteritem type="filepath" name="tests/data/.*.abi" desc="test files" />
64                <filteritem type="filepath" name="tests/data/.*.tar.*" desc="test files" />
65                <filteritem type="filepath" name="tests/data/.*.elf" desc="test files" />
66                <filteritem type="filepath" name="tests/data/.*.deb" desc="test files" />
67                <filteritem type="filepath" name="tests/data/.*.ddeb" desc="test files" />
68                <filteritem type="filepath" name="tests/data/.*.o" desc="test files" />
69                <filteritem type="filepath" name="tests/data/.*.ko" desc="test files" />
70                <filteritem type="filepath" name="tests/data/.*.so.*" desc="test files" />
71                <filteritem type="filepath" name="tests/data/.*.debug" desc="test files" />
72                <filteritem type="filepath" name="tests/data/test-diff-filter/PR24430-fold-qualified-array-clang" desc="test files" />
73                <filteritem type="filepath" name="tests/data/test-diff-filter/test39/test39-v0" desc="test files" />
74                <filteritem type="filepath" name="tests/data/test-abicompat/test6-var-changed-app" desc="test files" />
75                <filteritem type="filepath" name="tests/data/test-abicompat/test9-fn-changed-app" desc="test files" />
76                <filteritem type="filepath" name="tests/data/test-diff-filter/PR24430-fold-qualified-array-gcc" desc="test files" />
77                <filteritem type="filepath" name="tests/data/test-diff-filter/test39/test39-v1" desc="test files" />
78                <filteritem type="filepath" name="tests/data/test-abicompat/test3-fn-removed-app" desc="test files" />
79                <filteritem type="filepath" name="tests/data/test-types-stability/pr19433-custom0" desc="test files" />
80                <filteritem type="filepath" name="tests/data/test-abicompat/test7-fn-changed-app" desc="test files" />
81                <filteritem type="filepath" name="tests/data/test-diff-filter/test38/test38-v0" desc="test files" />
82                <filteritem type="filepath" name="tests/data/test-types-stability/pr19434-elf0" desc="test files" />
83                <filteritem type="filepath" name="tests/data/test-abicompat/test0-fn-changed-app" desc="test files" />
84                <filteritem type="filepath" name="tests/data/test-diff-filter/test38/test38-v1" desc="test files" />
85                <filteritem type="filepath" name="tests/data/test-read-ctf/test0" desc="test files" />
86                <filteritem type="filepath" name="tests/data/test-abicompat/test1-fn-removed-app" desc="test files" />
87                <filteritem type="filepath" name="tests/data/test-abicompat/test8-fn-changed-app" desc="test files" />
88                <filteritem type="filepath" name="tests/data/test-read-dwarf/test0" desc="test files" />
89                <filteritem type="filepath" name="tests/data/test-abicompat/test5-fn-changed-app" desc="test files" />
90                <filteritem type="filepath" name="tests/data/test-read-common/PR26261/PR26261-exe" desc="test files" />
91                <filteritem type="filepath" name="tests/data/test-alt-dwarf-file/rhbz1951526/usr/bin/gimp-2.10" desc="test files" />
92                <filteritem type="filepath" name="tests/data/test-types-stability/pr19138-elf0" desc="test files" />
93                <filteritem type="filepath" name="tests/data/test-abicompat/test2-var-removed-app" desc="test files" />
94                <filteritem type="filepath" name="tests/data/test-read-dwarf/test1" desc="test files" />
95            </filefilter>
96
97        </filefilterlist>
98        <licensematcherlist>
99        </licensematcherlist>
100    </oatconfig>
101</configuration>
102