mirror of
https://github.com/TokTok/c-toxcore
synced 2026-05-12 00:04:55 +00:00
d23222c92f
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.
10 lines
257 B
Bash
Executable File
10 lines
257 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
cat toxav/*.c toxcore/*.c toxencryptsave/*.c |
|
|
clang "$(pkg-config --cflags libsodium opus vpx)" \
|
|
-Itoxav -Itoxcore -Itoxencryptsave -S -emit-llvm -xc - -o- |
|
|
opt -analyze -print-callgraph 2>&1 |
|
|
other/analysis/check_recursion
|