PKEuS
|
f04070940e
|
Fixed setVarId on ternary operator in initialization list
|
2015-02-22 11:57:46 +01:00 |
PKEuS
|
bae95b4560
|
Fixed noise in CheckOther::checkLibraryMatchFunctions().
|
2015-02-21 12:39:02 +01:00 |
PKEuS
|
e02caea025
|
Fixed C&P-mistake in comment
|
2015-02-21 12:39:02 +01:00 |
Dmitry-Me
|
19d05979ee
|
Remove C4189 in release builds
|
2015-02-20 11:00:34 +03:00 |
Dmitry-Me
|
158a2acc41
|
Resolve CID 1037075
|
2015-02-19 17:16:38 +03:00 |
PKEuS
|
6227abac73
|
Fixed GCC (testsymboldatabase.cpp) and MSVC (checkother.cpp) warnings
|
2015-02-18 21:19:36 +01:00 |
Alexander Mai
|
6a7605271a
|
Fix compiler warning. Add interfaces of POSIX passwd.h and pwd.h to posix.cfg
|
2015-02-18 20:56:44 +01:00 |
Daniel Marjamäki
|
e251a99817
|
AST: fix handling of sizeof. ticket #6515
|
2015-02-18 19:56:13 +01:00 |
Daniel Marjamäki
|
b1e9d9b86f
|
Coverity CID 1270450: Removed redundant conditions
|
2015-02-17 19:32:59 +01:00 |
Alexander Mai
|
0a6babea74
|
#6181 Drop redundantGetAndSetUserId. Ensure (style-) warnings are issued if setuid()/getuid() and some related functions are ignored. Move strdupa()/strndupa() from posix.cfg to gnu.cfg
|
2015-02-16 22:19:51 +01:00 |
Daniel Marjamäki
|
42b40b0c85
|
Merge pull request #525 from Dmitry-Me/moreDoubleSlashCases
Handles double slashes close to end of path, more tests
|
2015-02-16 18:02:51 +01:00 |
Dmitry-Me
|
f0e0201c2d
|
Better handle double slashes, more tests
|
2015-02-16 13:11:13 +03:00 |
Dmitry-Me
|
56747e4af9
|
Reorder checks
|
2015-02-16 12:11:13 +03:00 |
Simon Martin
|
c4c46be972
|
Revert fix for #6181, that caused #6354 and #6414.
|
2015-02-14 12:29:05 +01:00 |
Luis Díaz Más
|
22424ba54a
|
Add CMake files
|
2015-02-13 19:00:14 +01:00 |
Daniel Marjamäki
|
6afe2e9fdc
|
astyle formatting
|
2015-02-13 16:36:47 +01:00 |
Dmitry-Me
|
5674b3c49d
|
early break in loop for readability
|
2015-02-13 16:36:20 +01:00 |
Dmitry-Me
|
7961bba0da
|
Path: better handling of UNC paths
|
2015-02-13 16:32:45 +01:00 |
Daniel Marjamäki
|
2d21eb07ba
|
Cleaned up snprintf hardcoding in CheckBufferOverrun
|
2015-02-13 06:44:38 +01:00 |
Daniel Marjamäki
|
9aad4fa8ca
|
CheckBufferOverrun: Remove hardcoding for sprintf and rely on cfg configuration instead
|
2015-02-12 17:29:36 +01:00 |
amai2012
|
baba720e58
|
Merge pull request #518 from Dmitry-Me/removeRedundantCode
Remove completely redundant code
|
2015-02-11 17:17:15 +01:00 |
Daniel Marjamäki
|
a24cbc448a
|
CheckBufferOverrun: loop through all arguments in checkFunctionCall
|
2015-02-11 16:24:25 +01:00 |
Daniel Marjamäki
|
d9deabe2ce
|
TestBufferOverrun: clean up
|
2015-02-10 17:29:36 +01:00 |
Dmitry-Me
|
77aa385384
|
Remove completely redundant code
|
2015-02-10 13:52:04 +03:00 |
Dmitry-Me
|
dfd19233e9
|
Simplify loop logic
|
2015-02-09 14:40:17 +03:00 |
Dmitry-Me
|
6eacb4957c
|
Simplify ternary operators, use else-if to avoid extra comparison
|
2015-02-09 11:46:27 +03:00 |
Dmitry-Me
|
fd0155cacf
|
Reuse already known values
|
2015-02-09 10:23:36 +03:00 |
Daniel Marjamäki
|
8a1b8df1ba
|
ValueFlow: Improved handling of alias values in valueFlowForward
|
2015-02-08 19:20:05 +01:00 |
Daniel Marjamäki
|
1d873de67f
|
Fix testrunner
|
2015-02-07 19:44:33 +01:00 |
Daniel Marjamäki
|
62a5d88eb0
|
ValueFlow: Improved handling of strings
|
2015-02-07 18:14:22 +01:00 |
Matthias Krüger
|
dd70b6e0cd
|
fix internal message: [lib/valueflow.cpp:239]: (warning) Found simple pattern inside Token::Match() call: "} ;"
|
2015-02-07 12:51:17 +01:00 |
Daniel Marjamäki
|
29db3eb848
|
Fixed #5980 (ValueFlow: pointer cant be 0 below throw in switch)
|
2015-02-07 10:45:30 +01:00 |
Dmitry-Me
|
6f6f9f7754
|
Reorder checks, move declaration
|
2015-02-06 16:30:39 +03:00 |
Daniel Marjamäki
|
eec938dbad
|
Fixed #6249 (False positive: Incorrect detection of (assignment + comparison) inside for-clause)
|
2015-02-05 20:17:30 +01:00 |
Dmitry-Me
|
cc18b8d1bb
|
Merge overlapping patterns
|
2015-02-05 17:30:49 +03:00 |
Dmitry-Me
|
1f31dd749b
|
Break loop early
|
2015-02-04 10:47:58 +03:00 |
Robert Reif
|
323475393b
|
Symboldatabase: improved debug output
|
2015-02-04 06:08:41 +01:00 |
PKEuS
|
f1714110d0
|
Fixed crash if double constants are passed as default arguments (#6494)
|
2015-02-03 22:12:05 +01:00 |
Daniel Marjamäki
|
5888b65bd4
|
fixed --check-library information message
|
2015-02-03 17:50:32 +01:00 |
Dmitry-Me
|
5517c22524
|
Omit redundant token match
|
2015-02-03 15:01:09 +03:00 |
Dmitry-Me
|
c05e632baf
|
Cache and reuse value
|
2015-02-03 11:00:40 +03:00 |
Dmitry-Me
|
21fbc30d59
|
Calling a function using Class::func() syntax should not be simplified
|
2015-02-02 10:37:10 +03:00 |
PKEuS
|
9dfb864522
|
Fixed two nullpointer messages in cppcheck
|
2015-02-01 15:21:09 +01:00 |
PKEuS
|
451a277b18
|
Refactorization: Support function default values in ValueFlow, removed now obsolete CheckNullPointer::nullPointerDefaultArgument().
-> Use valueFlowForward() to parse values passed to functions
-> valueFlowForward(): Set value in first occurrence of a variable in a condition
|
2015-02-01 15:15:00 +01:00 |
PKEuS
|
f78744ac30
|
Fixed AST generation if expression starts with ternary operator
|
2015-02-01 14:02:19 +01:00 |
Daniel Marjamäki
|
d6c94e3828
|
isOppositeCond: Fixed FN
|
2015-02-01 13:03:38 +01:00 |
Daniel Marjamäki
|
d091639080
|
Fixed #6482 (False positive multiCondition)
|
2015-02-01 12:58:06 +01:00 |
PKEuS
|
b74b94b1e6
|
Partially reverted previous commit - std::vetcor instance creation can't be avoided without generating lots of debug messages
|
2015-02-01 12:33:53 +01:00 |
PKEuS
|
58c3fdd063
|
Fixed crash on garbage code introduced recently, optimized code in valueFlowFunctionReturn.
|
2015-02-01 12:26:46 +01:00 |
PKEuS
|
a4cc4c3e3f
|
Refactorization: Use SymbolDatabase scope information in ValueFlow
|
2015-02-01 12:10:20 +01:00 |