diff --git a/test/synthetic/run-clang.sh b/test/synthetic/run-clang.sh new file mode 100755 index 000000000..45fcac06b --- /dev/null +++ b/test/synthetic/run-clang.sh @@ -0,0 +1,3 @@ +~/llvm/build/bin/clang -cc1 -analyze -analyzer-checker=alpha.security controlflow.c data.c functions.c 2>&1 /dev/null | grep warning +~/llvm/build/bin/clang -cc1 -analyze -analyzer-checker=alpha.security,core ub.c 2>&1 /dev/null | grep warning +