toxcore/other/analysis/run-infer
iphydf d23222c92f
chore: Run static analysers in multiple variants.
Currently: 1) libsodium and 2) nacl.

Note that the "nacl" variant is actually libsodium. We just want to make
sure the static analysers see the `VANILLA_NACL` code paths.
2022-01-14 10:45:11 +00:00

11 lines
208 B
Bash
Executable File

#!/bin/bash
# Infer ignores everything that's not in the "current file".
SKIP_LINES=1
set -e
. other/analysis/gen-file.sh
infer --no-progress-bar -- clang++ -fsyntax-only amalgamation.cc "${CPPFLAGS[@]}"