Cleanup static analyser
This commit is contained in:
1 parent
0854136005
commit
37d47cb0f1
1 file changed
+5
-3
+5
-3
@@ -197,12 +197,14 @@ synthesis:
|
|||||||
# Code analyzer tools
|
# Code analyzer tools
|
||||||
#####################################################################################################
|
#####################################################################################################
|
||||||
|
|
||||||
valgrind:
|
# valgrind is not working well with MT code.
|
||||||
$(MAKE) `ls test-*.c|$(SED) 's/\.c/\.valgrind/g'`
|
# Use of _fsanitize=address should cover all valgrind checks.
|
||||||
|
#valgrind:
|
||||||
|
# $(MAKE) `ls test-*.c|$(SED) 's/\.c/\.valgrind/g'`
|
||||||
|
|
||||||
scan-build: clean
|
scan-build: clean
|
||||||
$(RM) -rf ./mlib-report
|
$(RM) -rf ./mlib-report
|
||||||
scan-build -o ./mlib-report $(MAKE) check XCFLAGS="-std=c99"
|
scan-build -o ./mlib-report $(MAKE) exe XCFLAGS="-std=c99"
|
||||||
|
|
||||||
sanitize:
|
sanitize:
|
||||||
$(MAKE) clean check XCFLAGS="-fsanitize=address,undefined,leak"
|
$(MAKE) clean check XCFLAGS="-fsanitize=address,undefined,leak"
|
||||||
|
|||||||
Reference in new issue
Block a user