Squashed 'external/toxcore/c-toxcore/' content from commit 67badf69
git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: 67badf69416a74e74f6d7eb51dd96f37282b8455
This commit is contained in:
25
other/analysis/run-infer
Executable file
25
other/analysis/run-infer
Executable file
@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
# --bufferoverrun \
|
||||
# --pulse \
|
||||
|
||||
read -r -d '' SCRIPT <<'EOF'
|
||||
infer \
|
||||
--report-console-limit 100 \
|
||||
--jobs 8 \
|
||||
--biabduction \
|
||||
--loop-hoisting \
|
||||
--quandary \
|
||||
--racerd \
|
||||
--starvation \
|
||||
--uninit \
|
||||
-- clang++ -fsyntax-only \
|
||||
$(pkg-config --cflags libconfig libsodium opus vpx) \
|
||||
/work/other/bootstrap_daemon/src/*.c \
|
||||
/work/other/bootstrap_node_packets.c \
|
||||
/work/toxav/*.c \
|
||||
/work/toxcore/*.c \
|
||||
/work/toxencryptsave/*.c
|
||||
EOF
|
||||
|
||||
docker run --rm -it -v "$PWD:/work" toxchat/infer bash -c "$SCRIPT"
|
Reference in New Issue
Block a user