Daniel Marjamäki
|
9435fde551
|
Tokenizer: Added function for checking if code is Java/C#
|
2010-10-28 18:51:55 +02:00 |
Daniel Marjamäki
|
fee20bafa0
|
Java: Removed bailout added in 120073f000
|
2010-10-28 18:01:51 +02:00 |
Daniel Marjamäki
|
995e39200b
|
Fixed #2130 (Invalid possible NULL pointer dereference, etc.)
|
2010-10-27 20:20:10 +02:00 |
Daniel Marjamäki
|
fc98bcdcb2
|
Fixed #2141 (false positive: possible null pointer dereference)
|
2010-10-27 19:42:47 +02:00 |
Daniel Marjamäki
|
fd153eac02
|
Fixed #2142 (false positive: null pointer dereference (throw))
|
2010-10-27 19:38:42 +02:00 |
Robert Reif
|
b6aca47e11
|
Fixed #1195 (Uninitialized member variable not detected 'std::vector<int> *ints;')
|
2010-10-27 19:28:15 +02:00 |
Robert Reif
|
5a8f490f07
|
Fixed #2135 (False positive 'Can be const')
|
2010-10-27 19:25:34 +02:00 |
Pete Johns
|
8022baec2a
|
Removed unnecessary code duplication.
|
2010-10-27 19:34:06 +11:00 |
Cary R
|
59139b17cb
|
Fixed #2138 (Add support for comments in suppression file)
|
2010-10-26 21:22:11 +02:00 |
Daniel Marjamäki
|
a38b14d582
|
Tokenizer: Remove redundant semi colons
|
2010-10-26 21:05:20 +02:00 |
Daniel Marjamäki
|
79583ee45d
|
#2133 (cppcheck: floating point exception)
|
2010-10-26 20:05:34 +02:00 |
Daniel Marjamäki
|
6200d4505a
|
Fixed #2118 (Invalid syntax error report.)
|
2010-10-26 19:39:48 +02:00 |
Daniel Marjamäki
|
9370f552ac
|
Fixed #2134 (sizeof(*list) complains of null pointer dereference)
|
2010-10-26 18:26:02 +02:00 |
Daniel Marjamäki
|
b6106ddf72
|
Fixed #2132 (Internal error. Token::Match called with varid 0.)
|
2010-10-26 18:10:03 +02:00 |
Daniel Marjamäki
|
27235f27ae
|
Fixed #2129 (Invalid dereference after release report)
|
2010-10-26 17:49:48 +02:00 |
Daniel Marjamäki
|
893f7fa347
|
Fixed #2130 (Invalid possible NULL pointer dereference, etc.)
|
2010-10-26 17:40:30 +02:00 |
Daniel Marjamäki
|
bdd6d6d53d
|
null pointer: use simplified token list in the 'check and deref' checking
|
2010-10-25 21:05:43 +02:00 |
Daniel Marjamäki
|
132aa8d0c4
|
uninitialized variables: fixed fp when analysing loops
|
2010-10-25 20:56:15 +02:00 |
Daniel Marjamäki
|
026514db1a
|
Fixed #2127 (null pointer dereference after condition (SRD nr 522))
|
2010-10-25 19:43:54 +02:00 |
Daniel Marjamäki
|
41a06a21d9
|
using deallocated pointer: detect first problem reported in ticket #2090
|
2010-10-25 17:36:46 +02:00 |
Zachary Blair
|
26afb04dc5
|
Fixed #2105 (Incorrect operator: mutual exclusion over ||)
|
2010-10-24 18:14:21 -07:00 |
Daniel Marjamäki
|
24a2def3ad
|
Execution Path: Fixed FP in improved handling of loop bodies
|
2010-10-24 19:14:40 +02:00 |
Daniel Marjamäki
|
8f707e5e46
|
Null pointers: Better handling of loops
|
2010-10-24 18:51:14 +02:00 |
Daniel Marjamäki
|
40aeb17738
|
uninitialized variables: handling loop bodies. end upon '}'
|
2010-10-24 18:28:25 +02:00 |
Daniel Marjamäki
|
6601de7681
|
uninitialized variables: refactoring handling of loop bodies
|
2010-10-24 18:26:59 +02:00 |
Daniel Marjamäki
|
b66d3c8858
|
Fixed #2125 (uninitialized variable: better handling of for loops)
|
2010-10-24 18:12:48 +02:00 |
Daniel Marjamäki
|
cf86e11d05
|
Fixed #2111 (Class methods writing to a union are detected as 'can be const')
|
2010-10-24 16:43:10 +02:00 |
Daniel Marjamäki
|
13b8544436
|
Visual Studio: Fixed compiler warning. Ticket: #2123
|
2010-10-24 11:52:28 +02:00 |
Daniel Marjamäki
|
306587b1d0
|
Buffer overruns: Fixed TODO test case
|
2010-10-24 11:32:27 +02:00 |
Daniel Marjamäki
|
f3c6c64e9a
|
Fixed #2121 (False positive: Buffer access out-of-bounds when using uint32_t)
|
2010-10-23 13:12:17 +02:00 |
Daniel Marjamäki
|
120073f000
|
Java: fixed false positives about uninitialized variable
|
2010-10-23 10:56:30 +02:00 |
Daniel Marjamäki
|
5deb046ac5
|
Fixed #2120 (False positive: array index out of bounds (unknown type in struct, sub function))
|
2010-10-23 08:49:03 +02:00 |
Daniel Marjamäki
|
c907acf767
|
Fixed #1819 (False positive: auto variable assignment (unseen typedef))
|
2010-10-22 21:12:56 +02:00 |
Daniel Marjamäki
|
9fdc03fc1d
|
Fixed #2117 (false positive: buffer access out of bounds)
|
2010-10-22 20:15:51 +02:00 |
Daniel Marjamäki
|
9ae4a758b8
|
Fixed #2116 (Internal error. Token::Match called with varid 0)
|
2010-10-21 21:28:32 +02:00 |
Daniel Marjamäki
|
eba827bc4b
|
Fixed #2112 (Crash scanning qtcreator sources)
|
2010-10-21 19:42:09 +02:00 |
Daniel Marjamäki
|
6a66d32871
|
JAVA: better handling of java code
|
2010-10-20 22:15:35 +02:00 |
Daniel Marjamäki
|
4ff52b5883
|
Objective C: activate checking of .m and .mm files. The normal checking is used.
|
2010-10-20 21:09:07 +02:00 |
Daniel Marjamäki
|
8b866178ff
|
Fixed #2103 (false positive when variable is checked to NULL and not freed)
|
2010-10-20 20:38:37 +02:00 |
Daniel Marjamäki
|
68dd2f8378
|
Fixed #2113 (False positive: Memory leak where a pointer is passed in a struct to another function to be freed)
|
2010-10-20 18:39:40 +02:00 |
Daniel Marjamäki
|
02ba2b202e
|
Fixed #2110 (Tokenizer::simplifyTypedef: regression - wrong simplification of 'typedef char TString[256];')
|
2010-10-20 06:09:29 +02:00 |
Daniel Marjamäki
|
f8c02718a5
|
Activated checking of .java and .cs files
|
2010-10-19 21:54:15 +02:00 |
Daniel Marjamäki
|
20674e08d0
|
Stl: improved check for dangerous usage of c_str
|
2010-10-19 20:21:58 +02:00 |
Daniel Marjamäki
|
2ca7dbc004
|
Fixed #2109 (false positive: buffer overrun)
|
2010-10-19 18:23:44 +02:00 |
Daniel Marjamäki
|
0864a0700a
|
Fixed #2108 (False positive: the loop might unintentionally skip an element in the container.)
|
2010-10-18 20:05:54 +02:00 |
Daniel Marjamäki
|
e54129fa8d
|
STL: check for dangerous usage of string::c_str(). Ticket: #1116
|
2010-10-17 19:18:46 +02:00 |
Ettl Martin
|
7d1995dfaa
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2010-10-17 21:56:05 +08:00 |
Daniel Marjamäki
|
92a1e9e76e
|
Severities: Added 'warning' and 'performance' severities. No changes to the command line options nor to the XML format. Ticket: #2106
|
2010-10-17 14:41:00 +02:00 |
Ettl Martin
|
f25f3c64b4
|
fixed style waring (You should use ++ and -- as prefix whenever possible as these are more efficient than postfix operators) in lib/checkclass.cpp
|
2010-10-17 20:15:29 +08:00 |
Kimmo Varis
|
ddfc7b2d5a
|
Run dmake to update Makefile and lib/lib.pri.
|
2010-10-17 00:57:25 +03:00 |