Initial commit

This commit is contained in:
Nikita Kraiouchkine
2023-04-17 10:27:44 +02:00
commit 850d9d296a
79 changed files with 4172 additions and 0 deletions

16
build-databases.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
[[ $(git rev-parse --show-toplevel) == $(pwd) ]] || {
echo "This script must be run from the root of the workshop repository."
exit 1
}
for i in {1..3}; do
SRCDIR=$(pwd)/tests-common
DB=$(pwd)/cpp-dataflow-part$i-database
echo $DB
test -d "$DB" && rm -fR "$DB"
mkdir -p "$DB"
codeql database create --language=cpp -s "$SRCDIR" -j 8 -v $DB --command="clang -fsyntax-only $SRCDIR/test_part$i.c"
done