Dmitry-Me
|
6f9730b1d8
|
Reorder checks, unwrap code
|
2014-09-16 10:17:06 +04:00 |
Daniel Marjamäki
|
29a49d0641
|
removed some redundant null pointer checks before calling Token::Match
|
2014-09-14 11:35:04 +02:00 |
Simon Martin
|
53b58f0ed9
|
Refactoring. Use Token::Match instead of hardcoded patterns to increase readability.
|
2014-09-14 11:26:16 +02:00 |
Alexander Mai
|
6b26b6ed31
|
Fix read access to uninitialized variable
|
2014-09-06 22:27:13 +02:00 |
Alexander Mai
|
5a96413220
|
#6127 crash on patch(?)-".c" file. Avoid segfault.
|
2014-09-04 21:28:18 +02:00 |
Daniel Marjamäki
|
b3e4abd82a
|
Fixed Cppcheck warnings
|
2014-09-04 18:08:56 +02:00 |
Daniel Marjamäki
|
05617d7285
|
Fixed #6118 (False positive: divide by zero - if condition not evaluated properly)
|
2014-09-04 17:52:14 +02:00 |
PKEuS
|
5d0aa15002
|
Merge pull request #416 from Dmitry-Me/removeDuplicateChecks
Remove duplicate checks
|
2014-09-04 07:46:45 +02:00 |
Alexander Mai
|
270f59e76a
|
Fix doxygen warning and astyle formatting
|
2014-09-03 20:38:41 +02:00 |
Dmitry-Me
|
68d650e9ac
|
Remove duplicate checks
|
2014-09-03 14:17:34 +04:00 |
Alexander Mai
|
a632f68345
|
#6122 segmentation fault (invalid code) in in valueFlowForLoop2. Simple fix and testcase.
|
2014-09-02 19:41:50 +02:00 |
PKEuS
|
78932094c8
|
Fixed crash on garbage code #6106
|
2014-08-31 12:12:03 +02:00 |
Daniel Marjamäki
|
eeeb8aa0a7
|
ValueFlow: Fix crash for lambda function
|
2014-08-27 17:27:34 +02:00 |
Daniel Marjamäki
|
ae8a20b197
|
Fixed #6086 (False positive: valueFlow, conditional code returns)
|
2014-08-27 16:59:18 +02:00 |
Daniel Marjamäki
|
23ec9fea8e
|
Fixed #6024 (False positive (nullPointer) using in 1.66)
|
2014-08-26 18:48:11 +02:00 |
PKEuS
|
5e2ea8b6cd
|
Fixed crash #6089 by using information stored in Variable instead of accessing Variable::nameToken
|
2014-08-26 11:08:21 +02:00 |
Daniel Marjamäki
|
789b01aad2
|
ValueFlow: fixed one more hang in valueFlowForward
|
2014-08-24 08:50:01 +02:00 |
PKEuS
|
69b7f91034
|
Support :: in some more places
|
2014-08-19 11:36:32 +02:00 |
Daniel Marjamäki
|
b2288e5ada
|
Fixed #6022 (Defect: False positive due to bug in determining bounds of for loop 'for (i = 2; i < 1; ++i)')
|
2014-08-18 16:45:22 +02:00 |
PKEuS
|
df080ab5c3
|
Refactorization in valueflow.cpp: Removed redundant loop, rearranged code.
|
2014-08-18 10:25:30 +02:00 |
Daniel Marjamäki
|
5cdbe0f42d
|
ValueFlow: Improved value flow after for loop
|
2014-08-17 10:40:22 +02:00 |
Daniel Marjamäki
|
7ca742c454
|
Fixed #5062 (ValueFlow: Handle comma operator in abstract interpretation)
|
2014-08-17 06:42:16 +02:00 |
Daniel Marjamäki
|
65f10edcb6
|
Fixed #5866 (False negative: useless condition or null pointer dereference (null object after while loop, method))
|
2014-08-16 18:32:25 +02:00 |
Daniel Marjamäki
|
e83f08a825
|
Fixed #6044 (hang: darkplaces / cl_particles.c)
|
2014-08-14 06:13:42 +02:00 |
Daniel Marjamäki
|
f0cb6ef33d
|
Change fix for hang so there won't be FP
|
2014-08-13 05:36:17 +02:00 |
Daniel Marjamäki
|
bdfe43d82c
|
Fix hang in libdmtx package. found through daca2.
|
2014-08-13 04:03:17 +02:00 |
Daniel Marjamäki
|
970fda9e79
|
ValueFlow: Fixed nullpointer FP warning in checksizeof
|
2014-08-11 16:21:20 +02:00 |
Daniel Marjamäki
|
8bbbb54f94
|
Refactoring valueFlowSubFunction
|
2014-08-06 06:33:06 +02:00 |
Daniel Marjamäki
|
9eb28cb8af
|
ValueFlow: Improved analysis of assignments
|
2014-08-05 08:28:46 +02:00 |
Daniel Marjamäki
|
a2f776b1b7
|
Dead pointer: Added checking for dead pointer usage when pointer alias local variable that has gone out of scope.
|
2014-08-05 06:24:23 +02:00 |
Daniel Marjamäki
|
d35ce5f0db
|
ValueFlow: Better handling of calculated function arguments in valueFlowSubFunction
|
2014-08-04 12:31:04 +02:00 |
Daniel Marjamäki
|
344016f7ab
|
ValueFlow: Handle string values in valueFlowSubFunction
|
2014-08-04 12:13:15 +02:00 |
Daniel Marjamäki
|
79fc549de0
|
ValueFlow: start adding valueflow handling of strings and pointer aliases
|
2014-08-03 20:11:22 +02:00 |
Daniel Marjamäki
|
f908959196
|
ValueFlow: improved analysis in for loops to avoid fp
|
2014-08-01 16:12:57 +02:00 |
Daniel Marjamäki
|
688b798b88
|
ValueFlow: Cleanup variable
|
2014-08-01 08:59:07 +02:00 |
Daniel Marjamäki
|
57c2e928d1
|
ValueFlow: Simple multivariable control flow analysis to avoid FP when 'control variable' is used
|
2014-08-01 07:35:15 +02:00 |
Daniel Marjamäki
|
25846cf223
|
ValueFlow: Fix for if/else valueflow analysis
|
2014-07-30 18:12:33 +02:00 |
Daniel Marjamäki
|
15bb447fdc
|
Fixed #5965 (False positive zerodiv - loop iterating over double variable)
|
2014-07-17 08:44:55 +02:00 |
Daniel Marjamäki
|
5bdd197b01
|
Fixed #5981 (FP: nullPointer on repeated switch)
|
2014-07-16 09:12:56 +02:00 |
Daniel Marjamäki
|
c531749d7a
|
ValueFlow: Small cleanups
|
2014-07-15 10:36:13 +02:00 |
Daniel Marjamäki
|
6afe9a4fbe
|
astyle formatting
[ci skip]
|
2014-07-08 06:44:57 +02:00 |
amai2012
|
9b38ae73c1
|
Attempt to fix 2 Coverity messages.
Replace a few unsigned int by std::size_t
|
2014-07-07 21:25:30 +02:00 |
Daniel Marjamäki
|
987ce5a408
|
Fixed #5968 (False positive: 'Possible null pointer dereference' when checking null in negated conjuction)
|
2014-07-07 17:48:58 +02:00 |
Daniel Marjamäki
|
26a3bdfe00
|
ValueFlow: Cleanup code by using SymbolDatabase provided scope info
|
2014-07-07 16:34:21 +02:00 |
Daniel Marjamäki
|
b7d7633b97
|
ValueFlow: Improved analysis after switch
|
2014-06-30 17:56:42 +02:00 |
Daniel Marjamäki
|
f1762f9ed6
|
Fixed #5939 (fp: Possible null pointer dereference, after check against NULL in for loop)
|
2014-06-30 07:26:48 +02:00 |
Daniel Marjamäki
|
df799f97c5
|
valueFlowBefore: better analysis of conditional assignment
|
2014-06-30 00:02:49 +02:00 |
Daniel Marjamäki
|
4f43e4f9aa
|
Fixed #5959 (ValueFlow: return value from subfunction)
|
2014-06-29 18:04:38 +02:00 |
Daniel Marjamäki
|
893996d182
|
Fixed #5937 (ValueFlow: wrong analysis of calculations with different variable operands)
|
2014-06-29 10:57:39 +02:00 |
Daniel Marjamäki
|
9eaadc81e2
|
Fixed #5861 (valueFlowSubFunction: fp for float value)
|
2014-06-28 12:04:20 +02:00 |