Thomas Jarosch
|
965775423b
|
Remove useless forward declarations
Instead move the 'static' keyword to the function implementation.
|
2015-01-08 23:58:00 +01:00 |
Daniel Marjamäki
|
2375f1c46d
|
CheckBufferOverrun: Fix FN when multifile checking is used.
|
2015-01-08 21:01:22 +01:00 |
Matthias Krüger
|
25cdeeeea3
|
run dmake
|
2015-01-08 19:55:41 +01:00 |
Thomas Jarosch
|
ced089bfd4
|
pep8 fixes
|
2015-01-08 19:48:35 +01:00 |
Daniel Marjamäki
|
6a8293a8b7
|
Library: More strict matching of functions
|
2015-01-08 19:31:41 +01:00 |
orbitcowboy
|
0202efc480
|
posix.cfg: Added more POSIX types.
|
2015-01-07 15:50:15 +01:00 |
orbitcowboy
|
346ec0e7e9
|
std.cfg: Added support for <cmath> functions.
|
2015-01-07 14:02:33 +01:00 |
Robert Reif
|
ba1c24ee65
|
Fixed #6422 (symbol database: put function flags into a single flag variable)
|
2015-01-08 05:45:31 +01:00 |
Daniel Marjamäki
|
2b018db25a
|
triage-report.py: use classifications 'true positive', 'false positive', 'false negative' instead
|
2015-01-07 21:12:09 +01:00 |
Daniel Marjamäki
|
af8961d56b
|
triage: Renamed triage.py to triage-report.py. It is used to generated the triaged html report.
|
2015-01-07 21:03:47 +01:00 |
orbitcowboy
|
64d81a6552
|
std.cfg: Improved <cstring> function strerror.
|
2015-01-07 10:29:53 +01:00 |
orbitcowboy
|
7bc31e363b
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2015-01-07 10:17:11 +01:00 |
Matthias Krüger
|
0259b4a672
|
testgarbage: add code example from #6361 to testrunner
|
2015-01-07 16:44:46 +01:00 |
Thomas Jarosch
|
4248c94d87
|
Silence compiler warning about unused parameter
PKEuS should decide if we can drop the parameter altogether.
|
2015-01-07 16:30:30 +01:00 |
Thomas Jarosch
|
2cb2161c5d
|
Fix unmatched local suppression error message for "unusedFunction" (#6228)
This fixes a regression from commit
e35329aba3
(fix for #4946)
|
2015-01-07 15:40:12 +01:00 |
orbitcowboy
|
fa5375bf94
|
Added more functions from <cwchar> to std.cfg.
|
2015-01-07 10:16:58 +01:00 |
orbitcowboy
|
4c2e42a52c
|
alwaysTrueFalseStringCompare: Added more test cases to ensure no FP appears.
|
2015-01-07 08:38:39 +01:00 |
orbitcowboy
|
cd98471398
|
Merge branch 'master' of https://github.com/danmar/cppcheck
|
2015-01-07 08:30:17 +01:00 |
Thomas Jarosch
|
4bec2b58fd
|
Unused function check: Fix detection of func.usedOtherFile
Check if function is called from another file or not.
|
2015-01-07 11:29:37 +01:00 |
orbitcowboy
|
c07b07b8fe
|
Fixed #6415 - FP stringCompare memcmp(ptr, ptr+offset, length).
|
2015-01-07 08:30:05 +01:00 |
orbitcowboy
|
fd9134fe5b
|
Added more functions to std.cfg from <cwchar> (wchar.h).
|
2015-01-07 03:08:34 +01:00 |
orbitcowboy
|
ba837a6f2d
|
Added support for strpbrk to std.cfg. Running astyle.
|
2015-01-07 02:34:41 +01:00 |
Daniel Marjamäki
|
8a6bb46958
|
Tokenizer: only print AST in debug output if --verbose is used
|
2015-01-07 06:46:04 +01:00 |
Daniel Marjamäki
|
b0cc46e98b
|
reverted 840b2fb0 , it caused FN. tweaked the Tokenizer::simplifyAssignmentBlock to fix the FP it caused.
|
2015-01-07 06:38:42 +01:00 |
Daniel Marjamäki
|
840b2fb035
|
Tokenizer: Removed simplification Tokenizer::simplifyAssignmentBlock. This fixes a fp in linux.
|
2015-01-06 20:44:58 +01:00 |
Daniel Marjamäki
|
ad8af6b24e
|
triage: write number of fp/tp in report
|
2015-01-06 19:35:15 +01:00 |
Alexander Mai
|
d72fbdda27
|
Fix compiler warnings about incomplete handling of library error codes
|
2015-01-06 18:10:19 +01:00 |
Daniel Marjamäki
|
a87fb96eaf
|
Uninitialized variables: fix fp when 'a=((b)=c)' is used
|
2015-01-06 18:03:40 +01:00 |
Daniel Marjamäki
|
3404bc9ab0
|
triage: fix fp by providing a macro definition
|
2015-01-06 16:25:07 +01:00 |
Daniel Marjamäki
|
34b9387727
|
triage: change a positive from fp to tp, it looks like a fp because the indentation is wrong
|
2015-01-06 16:08:26 +01:00 |
Daniel Marjamäki
|
57c2af3554
|
triage: attempt to fix some fps in linux-3.11 report
|
2015-01-06 15:59:32 +01:00 |
Daniel Marjamäki
|
88e7b55a2d
|
CheckSizeof: only report warnings when --enable=warning has been used
|
2015-01-06 15:20:42 +01:00 |
Daniel Marjamäki
|
1068e095e7
|
Fixed cppcheck warning about iterator post increment
|
2015-01-06 15:16:29 +01:00 |
Daniel Marjamäki
|
6c3b7c1d0e
|
CheckBufferOverrun: only report warnings when --enable=warning has been used
|
2015-01-06 15:14:15 +01:00 |
Daniel Marjamäki
|
228f5960fc
|
CheckIO: only report warnings when --enable=warning has been used
|
2015-01-06 15:08:25 +01:00 |
Daniel Marjamäki
|
eee9183406
|
ValueFlow: improved handling of conditional noreturn scope in valueFlowForward
|
2015-01-06 14:12:35 +01:00 |
Daniel Marjamäki
|
d952c3d74d
|
triage: change a positive from fp to tp
|
2015-01-06 13:49:09 +01:00 |
Daniel Marjamäki
|
07d43068ba
|
triage report: link to source code
|
2015-01-06 13:04:49 +01:00 |
Daniel Marjamäki
|
70408e9a38
|
triage: quick triage of last linux-3.11 errors
|
2015-01-06 12:18:43 +01:00 |
Daniel Marjamäki
|
f2e5fbd30d
|
Uninitialized variables: bailout when ({..}) are used to avoid fp. it can be handled better.
|
2015-01-06 07:44:04 +01:00 |
Daniel Marjamäki
|
1f698ca493
|
ValueFlow: Fixed valueFlowForward, when condition is false and else-block returns dont set values below the else-code
|
2015-01-05 16:39:47 +01:00 |
Daniel Marjamäki
|
39fde3c8c7
|
triage: updated linux-3.11 triage data
|
2015-01-05 15:10:43 +01:00 |
Daniel Marjamäki
|
fe8d04e840
|
CheckNullPointer: Fix FP when x is NULL and address is calculated with expression '&x->y.z[0]'
|
2015-01-05 14:54:24 +01:00 |
Daniel Marjamäki
|
c5467766e2
|
ValueFlow: Fix for valueflow analysis after for loop
|
2015-01-05 14:00:12 +01:00 |
Daniel Marjamäki
|
a80101f277
|
CheckMemoryLeak: Fix FP for allocation functions that register memory before returning it
|
2015-01-05 13:23:38 +01:00 |
Daniel Marjamäki
|
fb685f096a
|
CheckOther:checkNegativeBitwiseShift: Fix FP when shift is protected by ?:
|
2015-01-05 10:01:04 +01:00 |
Thomas Jarosch
|
1ef1143609
|
Make local functions static
|
2015-01-05 01:25:49 +01:00 |
Daniel Marjamäki
|
d1927e3492
|
Removed Tokenizer::simplifyStructInit simplification.
|
2015-01-04 16:48:52 +01:00 |
PKEuS
|
432ff8fa7b
|
Fixed GCC warnings in checkstl.cpp
|
2015-01-04 14:32:20 +01:00 |
Daniel Marjamäki
|
f998871d59
|
astyle formatting
|
2015-01-04 13:51:49 +01:00 |