11 lines
408 B
Plaintext
11 lines
408 B
Plaintext
|
For more information about using scan-build for the static
|
||
|
analyser, look at http://clang.llvm.org/StaticAnalysisUsage.html
|
||
|
|
||
|
For instance, the scanner on the kernel build can be launched with:
|
||
|
|
||
|
cd /usr/src/sys/arch/`uname -m`/conf && config GENERIC.MP
|
||
|
cd /usr/src/sys/arch/`uname -m`/compile/GENERIC.MP
|
||
|
make clean && make depend && scan-build make
|
||
|
|
||
|
This will generate HTML reports in /tmp/scan-build-(date).
|