aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check-copyright.sh
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-05-02 08:12:10 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-05-03 14:25:58 +0000
commita3ce1723b2f8f690652d181a96344ab9b1c438a4 (patch)
treec4af820c0af46d89d3feb229402fa58b31b6f08e /tools/check-copyright.sh
parente0545e264c6343d00dc5fba031daaa4ed8688713 (diff)
pkg/flatrpc: add schema
Add schema for manager<->fuzzer communication. We may need to change things when we start to use this, but this serves as a proof of concept that we can express things that we need in flatbuffers.
Diffstat (limited to 'tools/check-copyright.sh')
-rwxr-xr-xtools/check-copyright.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/check-copyright.sh b/tools/check-copyright.sh
index b1213ed88..6dd293398 100755
--- a/tools/check-copyright.sh
+++ b/tools/check-copyright.sh
@@ -5,13 +5,13 @@
FILES=0
FAILED=""
for F in $(find . -name "*.go" -o -name "*.sh" -o -name "*.cc" -o -name "*.h" \
- -o -name "*.S" -o -name "*.py" -o -name "*.yml" -o -name "*.yaml" \
+ -o -name "*.S" -o -name "*.py" -o -name "*.yml" -o -name "*.yaml" -o -name "*.fbs" \
-o \( -path "./sys/*/*.txt" \) | egrep -v "/vendor/|/gen/|/testdata/"); do
((FILES+=1))
cat $F | tr '\n' '_' | egrep "(//|#) Copyright 20[0-9]{2}(/20[0-9]{2})? syzkaller project authors\. All rights reserved\._(//|#) Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file\." >/dev/null
if [ $? -eq 0 ]; then continue; fi
# Ignore auto-generated files.
- egrep "^(//|#) Code generated .* DO NOT EDIT\\.|(WARNING: This file is machine generated)" $F >/dev/null
+ egrep "^(//|#) Code generated .* DO NOT EDIT\\.|(WARNING: This file is machine generated)|automatically generated by the FlatBuffers compiler" $F >/dev/null
if [ $? -eq 0 ]; then continue; fi
# Ignore untracked files.
git ls-files --error-unmatch $F >/dev/null 2>&1