forked from client9/libinjection
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
clang --version | ||
|
||
./autogen.sh | ||
scan-build ./configure | ||
cd src | ||
scan-build --status-bugs \ | ||
-enable-checker alpha.core.BoolAssignment \ | ||
-enable-checker alpha.core.CastSize \ | ||
-enable-checker alpha.core.CastToStruct \ | ||
-enable-checker alpha.core.FixedAddr \ | ||
-enable-checker alpha.core.PointerArithm \ | ||
-enable-checker alpha.core.SizeofPtr \ | ||
-enable-checker alpha.deadcode.IdempotentOperations \ | ||
-enable-checker alpha.deadcode.UnreachableCode \ | ||
-enable-checker alpha.security.ArrayBound \ | ||
-enable-checker alpha.security.MallocOverflow \ | ||
-enable-checker alpha.security.ReturnPtrRange \ | ||
-enable-checker alpha.unix.cstring.BufferOverlap \ | ||
-enable-checker alpha.unix.cstring.OutOfBounds \ | ||
-enable-checker security.FloatLoopCounter \ | ||
-enable-checker security.insecureAPI.rand \ | ||
make testdriver | ||
|
||
# notes 2013-10-24 | ||
|
||
# do not understand | ||
# -no-failure-reports | ||
|
||
# seems broken or I don't understand it | ||
# -enable-checker alpha.core.PointerSub | ||
|
||
# | ||
# probably good.. used in testdriver as a hack | ||
#-enable-checker security.insecureAPI.strcpy | ||
|
||
# has problem with "backwards array iteration" | ||
# used in is_backslash_escaped | ||
#-enable-checker alpha.security.ArrayBoundV2 |
This file was deleted.
Oops, something went wrong.