The ccc-analyzer script which is a wrapper for the compilation when using scan-build, do not support the sysroot parameter given with --sysroot=, as we use in osquery since it's what CMake uses.
A fix has been done upstream but it's only available in LLVM/Clang 10 which is not stable, so we backport and apply those two fixes to our version.
The
ccc-analyzer
script which is a wrapper for the compilation when using scan-build, do not support the sysroot parameter given with--sysroot=
, as we use in osquery since it's what CMake uses. A fix has been done upstream but it's only available in LLVM/Clang 10 which is not stable, so we backport and apply those two fixes to our version.