Daniel Marjamäki
|
3aa67cd537
|
Added TODO test for better pointer aliasing with memset
|
2010-01-17 08:43:10 +01:00 |
Robert Reif
|
70dbb8ba17
|
Fixed #1275 (Cppcheck hangs when analysing the code 'typedef struct { } A, *B, **C;')
|
2010-01-17 08:16:17 +01:00 |
Daniel Marjamäki
|
fbefb8df34
|
Fixed #1272 (links in typedef not handled correctly)
|
2010-01-16 19:42:37 +01:00 |
Robert Reif
|
a0caea4ee6
|
Refactoring the handling of typedefs
|
2010-01-16 09:18:21 +01:00 |
Reijo Tomperi
|
d37864f8c4
|
Fix part of #1262 (cppcheck false positives: 'Possible null pointer dereference'
http://sourceforge.net/apps/trac/cppcheck/ticket/1262
|
2010-01-15 23:46:47 +02:00 |
Daniel Marjamäki
|
ac077d3160
|
Fixed #1264 (False positive: Resource leak with if-else in while)
|
2010-01-14 21:41:50 +01:00 |
Daniel Marjamäki
|
a7bddc8fd3
|
Fixed #1268 (Null pointer dereference false positive)
|
2010-01-14 20:02:38 +01:00 |
Daniel Marjamäki
|
cefa695dba
|
Fixed #1265 ((error) Uninitialized variable on macro expansion)
|
2010-01-13 19:37:55 +01:00 |
Robert Reif
|
0212225859
|
Tokenizer: fixed typedef issues
|
2010-01-13 07:59:47 +01:00 |
Daniel Marjamäki
|
2de49129dc
|
Fixed #1259 (false postive: Member variable 'A::b' is not assigned a value in 'A::operator=')
|
2010-01-12 21:36:40 +01:00 |
Daniel Marjamäki
|
2358c51694
|
Tokenizer: some cleanup of std::
|
2010-01-12 21:25:31 +01:00 |
Reijo Tomperi
|
913ede45aa
|
Get rid of casting in test file.
http://sourceforge.net/apps/trac/cppcheck/ticket/1242
|
2010-01-12 21:24:44 +02:00 |
Daniel Marjamäki
|
374def4a53
|
Fixed #1070 (Improve scope error message)
|
2010-01-12 19:34:33 +01:00 |
Daniel Marjamäki
|
814eb6caee
|
Fixed #1257 (potential leaks not reported becauseof 'continue' in loop)
|
2010-01-12 19:12:08 +01:00 |
Robert Reif
|
5e8e4fd3e9
|
Fixed #1252 (Internal error in Cppcheck while parsing struct)
|
2010-01-12 17:38:36 +01:00 |
Robert Reif
|
7b6bf80057
|
Fixed #1250 (tokenize typedef of union)
|
2010-01-11 22:58:57 +01:00 |
Daniel Marjamäki
|
d3b7f5931f
|
Fixed #1174 (improve check: Unintialized variable not detected in subfunction)
|
2010-01-11 22:28:07 +01:00 |
Daniel Marjamäki
|
c666a9662b
|
BufferOverrun: negative index is out of bounds
|
2010-01-11 21:18:07 +01:00 |
Daniel Marjamäki
|
b8b6b0ec32
|
Uninitialized variables: fixed false positives when using pointer aliasing
|
2010-01-11 19:25:01 +01:00 |
Robert Reif
|
94d5e32aa1
|
Fixed #1248 (tokenize typedef of array)
|
2010-01-11 17:09:04 +01:00 |
Daniel Marjamäki
|
8be54b592d
|
ExecutionPath: better handling of for/while/do/switch, it doesn't bail out everything
|
2010-01-10 22:05:51 +01:00 |
Daniel Marjamäki
|
c5966bba59
|
Fixed #1225 (false negative :: uninitialized variable not detected when using enums)
|
2010-01-10 20:36:15 +01:00 |
Daniel Marjamäki
|
3fb420cbf0
|
fixed unlogged errors from the tokenizer and also some errors reported by valgrind
|
2010-01-10 20:03:46 +01:00 |
Daniel Marjamäki
|
1c69d54fb3
|
ivoire: 64-bit portability fix
|
2010-01-10 17:30:35 +01:00 |
Daniel Marjamäki
|
a50ec2eded
|
memory leaks: better handling of loops and switch
|
2010-01-10 15:40:50 +01:00 |
Daniel Marjamäki
|
f65bf6d565
|
Fixed #1220 (False memory leak when using while)
|
2010-01-10 14:00:32 +01:00 |
Daniel Marjamäki
|
3fabe53570
|
Memory leaks: Better handling of switch
|
2010-01-10 10:37:54 +01:00 |
Daniel Marjamäki
|
b82cb2e41e
|
Fixed #1218 (Improve check: incrementing uninitialized variable i++)
|
2010-01-10 09:09:37 +01:00 |
Robert Reif
|
19ba151531
|
Fixed #1244 (tokenize typedef of unnamed struct)
|
2010-01-10 08:49:02 +01:00 |
Daniel Marjamäki
|
4c641ed80c
|
Fixed #1189 (false negative: using uninitialized variable i 'a[i] = 0;')
|
2010-01-09 22:26:05 +01:00 |
Daniel Marjamäki
|
0908728601
|
Fixed #1231 (Preprocessor: Fail to evaluate '#if ! defined _ABCD_')
|
2010-01-09 21:54:20 +01:00 |
Daniel Marjamäki
|
2dd0907146
|
fixed segmentation fault
|
2010-01-08 21:54:24 +01:00 |
Daniel Marjamäki
|
ca74f57fd0
|
Fixed #1237 (Uninitialized variable false positive for return-value pattern in pan source code.)
|
2010-01-08 21:24:48 +01:00 |
Robert Reif
|
60ef3ef872
|
Fixed #1233 (false positive: operator = should check for assignment to self)
|
2010-01-08 19:15:24 +01:00 |
Daniel Marjamäki
|
686137415f
|
Fixed #1235 (CheckMemoryLeakInFunction: Wrong handling of 'fcloseall')
|
2010-01-07 21:36:51 +01:00 |
Robert Reif
|
b30b07beee
|
Fixed #1232 (segmentation fault of cppcheck when scanning templates)
|
2010-01-07 18:09:35 +01:00 |
Daniel Marjamäki
|
57d1da3910
|
Ticket #1228 : Handle tokensBack in the Token class. When adding&removing tokens the Token class can make sure that this pointer is updated accordingly. It is very important that the tokensBack has the same scope as the token list, otherwise there will be a dead pointer problem.
|
2010-01-06 20:19:27 +01:00 |
Daniel Marjamäki
|
485f3c7708
|
Fixed #1221 ([False positive] Member variable not initialized with operator[] gives wrong result)
|
2010-01-06 19:04:15 +01:00 |
Robert Reif
|
e6cc897e29
|
Fixed #1224 (segmentation fault of cppcheck)
|
2010-01-05 21:55:33 +01:00 |
Kimmo Varis
|
a753c41ced
|
CMake - Include test project's header file to VS IDE project.
|
2010-01-05 22:16:53 +02:00 |
Robert Reif
|
13f627d0d5
|
Fixed #1215 (are enums processed properly?)
|
2010-01-04 17:22:06 +01:00 |
Daniel Marjamäki
|
e248f7d3e5
|
Fixed #1023 (improve check: Unintialized variable not detected when using +=)
|
2010-01-03 18:49:13 +01:00 |
Daniel Marjamäki
|
e6d5c76138
|
refactoring
|
2010-01-03 15:52:52 +01:00 |
Daniel Marjamäki
|
79223b71d5
|
added test case for #1193 (false negative: array out of bounds in loop when there is calculation)
|
2010-01-03 15:49:17 +01:00 |
Daniel Marjamäki
|
e286896d75
|
Fixed #1216 (false positive: uninitialized variable when using exit|abort)
|
2010-01-03 15:35:32 +01:00 |
Daniel Marjamäki
|
fa535ff3ae
|
Fixed #440 (NULL referencing not detected)
|
2010-01-03 13:30:20 +01:00 |
Robert Reif
|
2a546dc9c0
|
Fixed #1184 (improve test: operator =)
|
2010-01-03 08:26:02 +01:00 |
Daniel Marjamäki
|
1032eb2449
|
Fixed #1214 (false positive: uninitialized variable 'bool fixed = std::ios_base::fixed;')
|
2010-01-03 08:03:28 +01:00 |
Daniel Marjamäki
|
38b480a4b5
|
Fixed #1203 (Preprocessor: Doesn't handle macros usage that contain ';')
|
2010-01-02 20:54:52 +01:00 |
Daniel Marjamäki
|
d82079e86f
|
Fixed #1209 (False positive: uninitialized variable c when it is initialized with 'ab(sizeof(xyz), &c)')
|
2010-01-02 18:16:44 +01:00 |