scan-build icon indicating copy to clipboard operation
scan-build copied to clipboard

Clang's scan-build re-implementation in python

Results 14 scan-build issues
Sort by recently updated
recently updated
newest added

`scan-build` currently seems to produce no reports on macOS even with system integrity protection disabled. This is unlike using `intercept-build` + `analyze-build` in combination. For the following example, a `Memory...

When trying to use a compilation database generated from a bazel build, I found that analyze-build was finishing suspiciously quickly, and reporting no issues. After tracing this locally, I found...

I find the default warning message about empty reports to be annoying. This adds a -q/--quiet flag that will suppress the warning log level. I'm not 100% this is correct...

I've tried to give a remedy to all problems listed here: https://github.com/rizsotto/scan-build/commit/73eb87dd17be23aa80749cb3e7bc6ec106f11d0f

Termux uses `LD_PRELOAD` and `LD_LIBRARY_PATH` to redirect `/usr/bin` and `/bin` calls to call `/data/data/com.termux/files/usr/bin`, as Android doesn't have /usr or /bin, and pretty much all shebang scripts assume that at...

Don't deal with intercepting the compiler calls, Bear is a better tool to do it. The scenario when build systems generate-compile-delete code will be not supported. (Not sure how many...

enhancement

Cross TU analysis feature (to be introduced in this patch: https://reviews.llvm.org/D30691) requires 2 stage analysis: 1st stage: emit ast (clang -emit-ast) for all source files into a a temporary directory...

In the development of [_CodeChecker_](http://github.com/Ericsson/codechecker) we hit an issue with using `intercept-build`: we are unable to log with `intercept-build` if a direct compiler invocation is passed as a build command....

enhancement

log configuration and re-configuration is a hack. would be nice to clean up on it. - add handler and store it as module variable - set logger name by construction...