Add leak sanitizer to sanitize target.
This commit is contained in:
1 parent
ef74f8eb55
commit
8d89e7c958
1 file changed
+1
-1
+1
-1
@@ -201,7 +201,7 @@ scan-build: clean
|
||||
scan-build -o ./mlib-report $(MAKE) check XCFLAGS="-std=c99"
|
||||
|
||||
sanitize:
|
||||
$(MAKE) clean check XCFLAGS="-fsanitize=address,undefined"
|
||||
$(MAKE) clean check XCFLAGS="-fsanitize=address,undefined,leak"
|
||||
$(MAKE) clean check XCFLAGS="-fsanitize=thread -pie -fPIE"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user