Daniel Marjamäki
|
8c40f4fee0
|
astyle formatting
|
2014-02-03 18:51:07 +01:00 |
Daniel Marjamäki
|
ed4fa9f154
|
Merge pull request #231 from scriptum/rpg-add-glib-tests
Add GLib library, add GLib tests (some new bugs found)
|
2014-02-02 10:49:33 -08:00 |
Daniel Marjamäki
|
ec61143623
|
Merge pull request #233 from orbitcowboy/master
Fixed #389: Providing negative value to memory allocation function.
|
2014-02-02 10:47:37 -08:00 |
Pavel Roschin
|
651ebcf17b
|
Add GLib library, add GLib tests (some new bugs found)
|
2014-02-02 22:45:57 +04:00 |
Daniel Marjamäki
|
ef35b6b1b4
|
Merge pull request #230 from xypron/5355
5355: False positive var not assigned
|
2014-02-02 10:10:55 -08:00 |
Daniel Marjamäki
|
0166a717c5
|
Merge pull request #229 from scriptum/#3236
Added regression for #3236
|
2014-02-02 09:52:14 -08:00 |
Heinrich Schuchardt
|
6bfd4af5f7
|
5355: False postive var not assigned
Avoid false positive "variable not assigned" for
struct Fred{
};
void foo () {
Fred fred;
throw fred;
}
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
|
2014-02-01 22:40:35 +01:00 |
Martin Ettl
|
6ca7daec10
|
Fixed #389: Providing negative value to memory allocation function.
|
2014-02-01 22:38:29 +01:00 |
Pavel Roschin
|
e06e96e864
|
Added regression for #3236 (Failure to detect memory leak if pointer members are added)
|
2014-02-01 15:51:29 +04:00 |
Daniel Marjamäki
|
b3bfd5014d
|
Fixed #5433 (FP:Possible null pointer dereference)
|
2014-01-31 15:43:34 +01:00 |
Daniel Marjamäki
|
9aa9530e0d
|
Fixed #5426 (crash: btrfs-progs cmds-inspect.c)
|
2014-01-31 06:19:36 +01:00 |
Lucas Manuel Rodriguez
|
a34d2eb7b3
|
Fixed #4938: (.empty() method false positive for non-STL classes)
|
2014-01-30 18:09:24 -03:00 |
Daniel Marjamäki
|
d6e3b3d3f3
|
ast: fixed syntax tree for 'a=(b)?1:0'. The parentheses should not be in the syntax tree
|
2014-01-30 17:31:06 +01:00 |
Daniel Marjamäki
|
30b56437c1
|
Merge pull request #226 from scriptum/rpg-fix-function-parameter
CheckMemoryLeak: improve leak checking in function parameters
|
2014-01-28 20:32:56 -08:00 |
Daniel Marjamäki
|
312780b6fc
|
TestTokenizer: refactored line2 test case
|
2014-01-28 17:18:28 +01:00 |
Kamil Dudka
|
dee18d10a8
|
Fixed #5423 (fix parsing of #line NNNN "file.c")
|
2014-01-28 17:15:07 +01:00 |
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 |
Pavel Roschin
|
2396073262
|
CheckMemoryLeak: improve leak checking in function parameters
|
2014-01-28 17:30:36 +04: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 |