Daniel Marjamäki
|
0c6352a826
|
Memory leaks: small fixes. add checking of 'g_fopen'. don't let 'fclose' calls be interpreted as 'callfunc'
|
2010-05-29 21:56:18 +02:00 |
Daniel Marjamäki
|
495dfde32c
|
Fixed #1716 (Wrong reporting of leak with close() in a while loop condition)
|
2010-05-29 21:11:59 +02:00 |
Daniel Marjamäki
|
24703418bd
|
Fixed #1715 (switch with fallthrough and 'return' confuses cppcheck)
|
2010-05-29 20:55:09 +02:00 |
Daniel Marjamäki
|
d09e1df0d7
|
Fixed #1714 (Wrong precedence for shift operators when simplifying calculations?)
|
2010-05-29 20:27:08 +02:00 |
Daniel Marjamäki
|
b702b8542d
|
Memory leaks: enabled the leaks checking when members are not deallocated in the destructor. This checking was previously an --all check so there could be false positives.
|
2010-05-29 19:29:59 +02:00 |
Daniel Marjamäki
|
7601089bee
|
astyle formatting
|
2010-05-29 11:19:56 +02:00 |
Daniel Marjamäki
|
82f030df2c
|
the virtual destructor error message needs to be restricted. marked the checking as inconclusive for now.
|
2010-05-29 11:19:28 +02:00 |
Zachary Blair
|
fe1fa4022d
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2010-05-28 22:53:54 -07:00 |
Robert Reif
|
1a25183e8f
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-29 07:52:06 +02:00 |
Zachary Blair
|
59086fa599
|
Fixed #818 (Detect sprintf buffer overrun with struct members)
|
2010-05-28 22:51:28 -07:00 |
Robert Reif
|
3fb0260ef1
|
Fixed #1713 (remove Microsoft variants of inline)
|
2010-05-29 07:43:58 +02:00 |
Robert Reif
|
26a7d29760
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-28 06:55:54 +02:00 |
Daniel Marjamäki
|
d3c20cac81
|
Fixed #1712 (False negative: dereferencing uninitialized pointer)
|
2010-05-27 19:00:52 +02:00 |
Robert Reif
|
dc34a1b3ff
|
Fixed #1711 (Wrong typedef name shown when struct declared with __attribute__)
|
2010-05-27 18:15:42 +02:00 |
Robert Reif
|
8881a0c361
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-27 07:00:33 +02:00 |
Robert Reif
|
176b41caa5
|
Fixed #1709 (char buffer that is only accessed with pointers is marker not assigned)
|
2010-05-26 19:22:35 +02:00 |
Daniel Marjamäki
|
d23f63c805
|
astyle formatting
|
2010-05-26 19:21:34 +02:00 |
Daniel Marjamäki
|
88e9a4ade6
|
Fixed #1704 (false negative: null pointer dereference)
|
2010-05-26 19:16:42 +02:00 |
Zachary Blair
|
619cfbc56f
|
Fixed #168 (buffer overflow: not enough room for the null terminator)
|
2010-05-26 01:56:34 -07:00 |
Robert Reif
|
019e1f9dfe
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-25 20:43:44 +02:00 |
Robert Reif
|
4306082fcf
|
Fixed #1708 (False positive for const)
|
2010-05-25 06:55:49 +02:00 |
Daniel Marjamäki
|
5692e7a6f6
|
Fixed #1707 (false positive: Memory leak)
|
2010-05-24 19:28:27 +02:00 |
Daniel Marjamäki
|
c465d824b7
|
Removed TODO
|
2010-05-24 07:32:33 +02:00 |
Daniel Marjamäki
|
c5b946f9b7
|
Unit Testing: Added a few more test cases related to ticket #1700
|
2010-05-23 21:03:14 +02:00 |
Daniel Marjamäki
|
bf8ef94f0c
|
Unit Testing: Added test case for ticket 1700
|
2010-05-23 20:56:51 +02:00 |
Daniel Marjamäki
|
78255fdfc5
|
Tokenizer: Removed the Tokenizer::simplifyNamespaces. Ticket: #1700
|
2010-05-23 13:51:41 +02:00 |
Robert Reif
|
b20cf06b66
|
Fixed #1671 (simplifyTypedef: support for more typedefs)
|
2010-05-23 10:46:39 +02:00 |
Robert Reif
|
048733a15e
|
false positive: Variable is assigned a value that is never used
|
2010-05-23 10:41:05 +02:00 |
Daniel Marjamäki
|
8f76aea6ed
|
2 pass checking: broke out Cppcheck::analyseFile. To be used for tests
|
2010-05-21 21:06:11 +02:00 |
Daniel Marjamäki
|
75c9355e9a
|
Added some multipass checking for the uninitialized variables. It is still experimental. You can activate it with the '--test-2-pass' switch. Some more refactorings are needed to make it truly usable, the main thing is to make it thread safe.
|
2010-05-21 19:35:18 +02:00 |
Daniel Marjamäki
|
4633979ff7
|
fixed gcc compiler warnings (comparing float values)
|
2010-05-21 12:28:13 +02:00 |
Daniel Marjamäki
|
89ec49508d
|
Fixed gcc compiler warning
|
2010-05-21 12:13:05 +02:00 |
Robert Reif
|
a8921afcd7
|
Fixed #1698 (Add define support to GUI)
|
2010-05-21 09:49:57 +02:00 |
Daniel Marjamäki
|
8d2e4bc553
|
Tokenizer: give dead pointer a value
|
2010-05-21 08:26:53 +02:00 |
Robert Reif
|
78614b8dc1
|
Fixed #1699 (False positive: The function '...' can be const)
|
2010-05-20 17:45:10 +02:00 |
Robert Reif
|
1207531c21
|
Fixed #1698 (Add define support to GUI)
|
2010-05-20 07:22:19 +02:00 |
Robert Reif
|
5dfbb38dc9
|
#1697 (false positive: The function can be const)
|
2010-05-20 06:52:59 +02:00 |
Daniel Marjamäki
|
c31accc52a
|
Fixed #1695 (Ticket #1614 is broken using latest from git)
|
2010-05-19 19:23:09 +02:00 |
Daniel Marjamäki
|
6815f4e941
|
printchecks: better explanation of its purpose. I call it from gdb when I debug ExecutionPaths.
|
2010-05-18 20:58:11 +02:00 |
Daniel Marjamäki
|
1792395654
|
astyle formatting
|
2010-05-18 20:08:27 +02:00 |
Daniel Marjamäki
|
f87eb774eb
|
Fixed #1646 (False positive: array access after return cannot have default loop value)
|
2010-05-18 19:55:23 +02:00 |
firewave
|
2bced1d90c
|
Avoid some Visual Studio warnings
|
2010-05-18 19:19:15 +02:00 |
firewave
|
e5a04837c0
|
Added ipch output folder to ignore list
|
2010-05-18 19:12:18 +02:00 |
Robert Reif
|
41c43c1790
|
Fixed #1691 (False positive: Function parameter 'x' is passed by value. It could be passed by reference instead.)
|
2010-05-18 18:20:11 +02:00 |
Zachary Blair
|
1539c0b3d2
|
Fixed #1649 (add a warning for potential memory leaks when using realloc)
|
2010-05-17 22:46:48 -07:00 |
Robert Reif
|
0d7474042a
|
Fixed #1685 (segmentation fault of cppcheck)
|
2010-05-18 07:11:23 +02:00 |
Daniel Marjamäki
|
c52d7fbb22
|
Fixed #1689 (failed to build gui)
|
2010-05-17 20:05:41 +02:00 |
Robert Reif
|
9dfbd3946a
|
Fixed #1673 (Tokenizer::simplifyTypedef causes segfault for boost library)
|
2010-05-17 19:58:27 +02:00 |
Daniel Marjamäki
|
f8442391af
|
astyle formatting
|
2010-05-17 19:51:35 +02:00 |
Daniel Marjamäki
|
453adb4ea4
|
Tokenizer: it is bad to do: 'tok->previous()->deleteThis()'
|
2010-05-17 19:50:36 +02:00 |