Daniel Marjamäki
|
abe8439917
|
Fixed #5416 (False positive: Array accessed at index, which is out of bounds.)
|
2014-01-28 16:55:10 +01:00 |
Lucas Manuel Rodriguez
|
2048313915
|
Add Variable::isStlType function
|
2014-01-28 11:44:56 -03:00 |
Daniel Marjamäki
|
2108251851
|
Fixed #5417 (ast: avoid hang when '({})' is used)
|
2014-01-28 06:11:53 +01:00 |
Daniel Marjamäki
|
b8b573321e
|
CheckNullPointer: Update std.cfg and test that updates are correct
|
2014-01-27 17:33:16 +01:00 |
Daniel Marjamäki
|
6e6de82323
|
CheckMemoryLeak: test alloc/dealloc configuration in posix.cfg
|
2014-01-27 16:51:18 +01:00 |
Daniel Marjamäki
|
c8a1424e10
|
Fixed #5406 (crash inside valueFlowBeforeCondition() on files from kernel-git)
|
2014-01-27 06:18:42 +01:00 |
Daniel Marjamäki
|
2b8cf462c9
|
CheckMemoryLeak: Move posix-opendir/closedir to library
|
2014-01-26 17:02:36 +01:00 |
Daniel Marjamäki
|
87b67e9b77
|
TestNullPointer: Added test configuration for 'memcmp' that is needed by a test
|
2014-01-26 16:32:28 +01:00 |
Daniel Marjamäki
|
0c47555423
|
CheckNullPointer: use library instead of hard coded info
|
2014-01-26 16:19:49 +01:00 |
Daniel Marjamäki
|
be082a8e4a
|
value flow: added bailout for conditional return/continue/break when number_of_if is bigger than 0
|
2014-01-26 15:50:25 +01:00 |
Daniel Marjamäki
|
c5971b7137
|
value flow: fix fp when conditional value is assigned
|
2014-01-25 20:14:49 +01:00 |
Daniel Marjamäki
|
c1e35e1df1
|
value flow: fixed multivariable problem in condition
|
2014-01-25 19:13:33 +01:00 |
Daniel Marjamäki
|
df0995edf5
|
Fixed #5403 (Value flow: FP because post increment/decrement is not handled correctly)
|
2014-01-25 18:31:02 +01:00 |
Daniel Marjamäki
|
bc9ad08831
|
Fixed #5245 (false positive: Uninitialized variable (assignment inside ternary operator))
|
2014-01-25 10:12:50 +01:00 |
Daniel Marjamäki
|
35b51468cb
|
value flow: Fixed FP for division then check in for loop: 'for (a=b/x;x>0;x--)'
|
2014-01-25 09:22:32 +01:00 |
Daniel Marjamäki
|
4647a9fc93
|
Fixed #5401 (value flow: fp when there are increment/decrement)
|
2014-01-24 18:22:38 +01:00 |
Daniel Marjamäki
|
1cac7e1686
|
value flow: better handling in function call bailout of casting address of variable
|
2014-01-24 17:47:49 +01:00 |
Tobias Weibel
|
9d55265e6b
|
Replaced duplicated logf(2.0) with logf(2.0f) unittest
|
2014-01-23 16:19:30 +01:00 |
Daniel Marjamäki
|
ec034c1d59
|
Fixed #5386 (ast: hang when code is 'for (T a : b)')
|
2014-01-23 06:13:24 +01:00 |
Daniel Marjamäki
|
0dbb86f0cb
|
Cleanup ExecutionPath from CheckBufferOverrun
|
2014-01-22 21:25:37 +01:00 |
Daniel Marjamäki
|
1d7bb05faf
|
Remove ExecutionPath from CheckNullPointer
|
2014-01-22 20:24:51 +01:00 |
Daniel Marjamäki
|
f3f7e6d302
|
value flow: replacing executionpath checking of null pointers
|
2014-01-22 20:16:31 +01:00 |
Daniel Marjamäki
|
43db1ee797
|
value flow: use more specific bailouts when analysing value flow after assignment
|
2014-01-22 06:38:25 +01:00 |
Daniel Marjamäki
|
cc38dec3ad
|
value flow: a bit better handling of assigned variable
|
2014-01-22 06:10:17 +01:00 |
Daniel Marjamäki
|
a27ccbd0f8
|
value flow: start implementing value flow analysis of assigned value
|
2014-01-21 21:13:49 +01:00 |
Daniel Marjamäki
|
b91f42453b
|
value flow: improved handling of cast
|
2014-01-20 22:26:55 +01:00 |
Daniel Marjamäki
|
bb3cc67aaa
|
value flow: improved calculations that depends on variable
|
2014-01-20 21:45:30 +01:00 |
Daniel Marjamäki
|
98305e9163
|
astyle formatting
|
2014-01-20 06:31:28 +01:00 |
Daniel Marjamäki
|
7ff7bc1c2e
|
Fixed #5376 (false positive: zerodivcond (style) Either the condition 'B>0' is useless or there is division by zero)
|
2014-01-19 20:16:55 +01:00 |
Daniel Marjamäki
|
84c5f47eb1
|
value flow: bailout for class variables that are non-const
|
2014-01-19 11:55:02 +01:00 |
Daniel Marjamäki
|
ccda78f347
|
value flow: fixed todo assertion for handling of conditions
|
2014-01-19 09:31:40 +01:00 |
Daniel Marjamäki
|
cdaa7abf7e
|
value flow: better handling of conditional code below || && ?: operators
|
2014-01-19 09:05:48 +01:00 |
Daniel Marjamäki
|
77f3f6c21a
|
valueflow: added setTokenValue that perform calculations using set value
|
2014-01-18 19:30:44 +01:00 |
Daniel Marjamäki
|
6a3a9ee8e7
|
ast: fixed tree for 'sizeof(struct S)'
|
2014-01-18 13:18:11 +01:00 |
Daniel Marjamäki
|
c7032a8867
|
value flow: improved handling of loops
|
2014-01-18 11:54:00 +01:00 |
Daniel Marjamäki
|
d0d56aee4a
|
TestValueFlow: split up valueFlowBeforeCondition into smaller functions
|
2014-01-18 08:45:24 +01:00 |
Daniel Marjamäki
|
3e23e243f6
|
BufferOverflow: Updated message for out of bounds array index or redundant condition
|
2014-01-17 19:44:45 +01:00 |
Daniel Marjamäki
|
57d318b2e5
|
valueflow: better handling of increment/decrement
|
2014-01-17 19:28:28 +01:00 |
Daniel Marjamäki
|
18d6285ad2
|
BufferOverrun: Improved error message when array index is used before checking that its in limits
|
2014-01-17 18:56:46 +01:00 |
Daniel Marjamäki
|
36acfb6d20
|
Fixed Cppcheck warning. db is dereferenced before its checked against NULL
|
2014-01-17 18:10:10 +01:00 |
Daniel Marjamäki
|
30cae358d8
|
Removed the --value-flow flag. ValueFlow analysis will always be enabled from now on.
|
2014-01-17 18:07:05 +01:00 |
Daniel Marjamäki
|
3facc06cb7
|
CheckOther: Removed non-valueflow check for division by possible zero before condition
|
2014-01-17 17:42:54 +01:00 |
Daniel Marjamäki
|
0203a4a6f5
|
Tokenizer: Removed simplifyGoto as it's the cause of various FPs I see
|
2014-01-17 17:36:45 +01:00 |
Daniel Marjamäki
|
4eb746d7cc
|
Tokenizer: Removed simplifyComparisonOrder
|
2014-01-17 17:25:56 +01:00 |
Daniel Marjamäki
|
0b4de97e2b
|
value flow: Use ValueFlow in CheckBufferOverrun
|
2014-01-16 19:23:14 +01:00 |
Daniel Marjamäki
|
85b73f7c24
|
ast: fixed hang for weird loop: 'for (each_window(list,p))'
|
2014-01-16 16:58:50 +01:00 |
Daniel Marjamäki
|
e72ec830ef
|
ast: fixed hang in for-loop handling
|
2014-01-16 06:45:35 +01:00 |
Daniel Marjamäki
|
141e089329
|
ast: different handling of for loops. create a syntax tree for whole 'f(a;b;c)'.
|
2014-01-15 17:32:14 +01:00 |
Daniel Marjamäki
|
d43191a9e3
|
value flow: remove duplicate test case
|
2014-01-14 18:13:17 +01:00 |
Daniel Marjamäki
|
c547c9a108
|
value flow: fixed fp when variable is used in for-loop condition
|
2014-01-14 17:57:50 +01:00 |