@ibboard Never used Vala (or even heard of it!). Looks nice.
Clang warnings/Analyzer uses CFLAGS and there's a C build step in compiling Vala, so use the build system's way of passing CFLAGS.
Some tools (e.g. cbmc) might need more care to get working. Others can watch a build for C compile commands.
A tool like Bear can grab a Compilation Database. Then you edit and use a JSON record of the C compilation to run a static analysis.
#vala #c #compilationdatabase #sast #buildsystems