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
|
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
|
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
|
d227ed245f
|
cleanup
|
2014-01-25 18:51:55 +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 |
Daniel Marjamäki
|
135998abba
|
value flow: use const when possible
|
2014-01-24 06:16:23 +01:00 |
Heinrich Schuchardt
|
de20ba6763
|
[PATCH] Types in isRecordTypeWithoutSideEffects
The type definition of the iterator should match the type definition of the map <const Type *, bool>.
|
2014-01-24 06:10:19 +01:00 |
Daniel Marjamäki
|
85b6495cce
|
value flow: fixed comments
|
2014-01-23 19:40:47 +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
|
2b7a991c1a
|
temporarily hide gcc warnings
|
2014-01-21 21:17:03 +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
|
a84fdf98cc
|
Null pointer: remove old checking that is replaced by value flow checking
|
2014-01-21 19:50:52 +01:00 |
Daniel Marjamäki
|
20b73747e0
|
value flow: refactor. added Token::getMaxValue()
|
2014-01-21 16:58:23 +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
|
69109784e8
|
value flow: cleanup usage of valueflow. utility function Token::getValue was added.
|
2014-01-20 06:49:45 +01:00 |
Daniel Marjamäki
|
add84187cc
|
CheckOther: Removed old zero division check
|
2014-01-20 06:31:13 +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
|
2d0a68cac2
|
cleanup redundant variable inconclusive
|
2014-01-18 19:51:57 +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
|
498cdb8610
|
added debug output for the value flow
|
2014-01-18 09:58:32 +01:00 |
Ryan Pavlik
|
32bf275447
|
Fix case-insensitive string compare function on MinGW
|
2014-01-17 15:29:53 -06: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
|
b2b5590f2b
|
Refactoring: Moved astStringify to the Token class and renamed it to expressionString. This can often be useful when reporting error messages that contains source code.
|
2014-01-17 18:37:49 +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
|
5721e1d745
|
CheckNullPointer: Removed some of the old checking that doesn't use ValueFlow
|
2014-01-17 17:47:59 +01:00 |
Daniel Marjamäki
|
311059f603
|
Tokenizer: Removed commented-out simplification
|
2014-01-17 17:44:33 +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 |