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 |
Robert Reif
|
bcafb30d0d
|
Fixed #1211 (add struct support for constructor checks)
|
2010-01-02 17:29:55 +01:00 |
Daniel Marjamäki
|
2e62a3f4c7
|
Fixed #1202 (false positive: uninitialized variable when using 'do')
|
2010-01-02 09:08:36 +01:00 |
Daniel Marjamäki
|
6af5e434d8
|
Fixed #1204 (Tokenizer::findClassFunction broken)
|
2010-01-02 08:33:54 +01:00 |
Slava Semushin
|
82ae064218
|
Fixed #1013 (autovariables: detect when assigning parameter **par)
http://sourceforge.net/apps/trac/cppcheck/ticket/1013
|
2010-01-02 03:53:34 +06:00 |
Slava Semushin
|
b816968f28
|
Fixed #1197 (Segmentation fault when we define function which was already defined by preprocessor)
http://sourceforge.net/apps/trac/cppcheck/ticket/1197
|
2010-01-02 03:25:37 +06:00 |
Daniel Marjamäki
|
ddfd0b948e
|
Fixed #1178 (1.39: Internal error)
|
2010-01-01 21:06:30 +01:00 |
Daniel Marjamäki
|
071b7b463d
|
Fixed #1200 (false positive 'uninitialized variable' when using throw)
|
2010-01-01 20:12:39 +01:00 |
Daniel Marjamäki
|
f8bd59f5b5
|
Fixed #1191 (false positive: uninitialized variable)
|
2010-01-01 19:43:02 +01:00 |
Daniel Marjamäki
|
77c5b793c9
|
Fixed #1196 (Hang: Cppcheck hang for the file linux-2.6/drivers/crypto/hifn_795x.c)
|
2010-01-01 13:26:54 +01:00 |
Daniel Marjamäki
|
7ecd333ffa
|
Fixed #1188 (false negative: dereferencing p, which is a null pointer 'int y = 5 + *p')
|
2009-12-31 20:00:20 +01:00 |
Daniel Marjamäki
|
e0ecef5d71
|
fixed a hang in Tokenizer::simplifyFunctionParameters
|
2009-12-31 19:31:21 +01:00 |
Daniel Marjamäki
|
774e331dea
|
Self assignment in class: added TODO test cases to reduce false positives
|
2009-12-31 14:03:35 +01:00 |
Robert Reif
|
12641e2d76
|
Fixed #1184 (improve test: operator =)
|
2009-12-31 13:44:03 +01:00 |
Daniel Marjamäki
|
0159287437
|
Fixed #1183 (False positive: uninitialized variable p 'd = bar(sizeof(*p));')
|
2009-12-31 09:10:20 +01:00 |
Daniel Marjamäki
|
0ee3d7e46a
|
Fixed #1182 (False positive: uninitialized variable 'int *pa = &a;')
|
2009-12-30 21:42:15 +01:00 |
Daniel Marjamäki
|
6c0919d9bd
|
Fixed #1173 (Improve check: memory leak not detected in constructor)
|
2009-12-30 21:29:54 +01:00 |
Robert Reif
|
f8f0a31e41
|
Fixed #1167 (### Internal error in Cppcheck. Please report it.)
|
2009-12-30 20:56:16 +01:00 |
Daniel Marjamäki
|
ae3ff7d376
|
Fixed #1087 (uninitialized data not detected 'char z = *str')
|
2009-12-30 20:37:11 +01:00 |
Daniel Marjamäki
|
461d826eff
|
Fixed #1105 (improve check: uninitialized variable not detected for 'a = a')
|
2009-12-30 20:15:44 +01:00 |
Robert Reif
|
3a46ef0487
|
Fixed #1176 (void operator = check doesn't support struct)
|
2009-12-30 18:40:02 +01:00 |
Daniel Marjamäki
|
d83131ca92
|
Fixed #1041 (passing a nullpointer to a reference)
|
2009-12-30 17:42:41 +01:00 |
Daniel Marjamäki
|
a7ab47bb98
|
Fixed #1067 (Tokenizer: K&R style function that returns function pointer)
|
2009-12-30 15:12:38 +01:00 |
Daniel Marjamäki
|
06ee643c6a
|
Fixed #1177 (False positive: pointer is not dereferenced 'sizeof(*p)')
|
2009-12-30 11:32:46 +01:00 |
Daniel Marjamäki
|
2de2ecafe4
|
Fixed #1168 (false positive: Uninitialized variable)
|
2009-12-30 08:24:27 +01:00 |
Daniel Marjamäki
|
2a28ca72cc
|
Fixed #1166 (improve check: using uninitialized pointer to create reference 'int &r(*p);')
|
2009-12-29 20:36:20 +01:00 |
Daniel Marjamäki
|
71b328d703
|
Robert Reif: Fixed #1163 (post increment test broken for complex template types)
|
2009-12-29 19:24:48 +01:00 |
Daniel Marjamäki
|
160f795710
|
Fixed #1165 (Tokenizer: wrong simplification of 'do { .. } while (0)' if the body contains continue or break)
|
2009-12-29 12:15:39 +01:00 |
Daniel Marjamäki
|
cfdf2b8cfe
|
Fixed #1160 (Null pointer dereference vs. goto)
|
2009-12-29 09:17:07 +01:00 |
Daniel Marjamäki
|
905533552d
|
Robert Reif: Fixed #1164 (only first void operator = found)
|
2009-12-29 07:48:37 +01:00 |
Daniel Marjamäki
|
84ce6ba75a
|
Robert Reif: Fixed #1162 (add support to tokenize typedefs with templates)
|
2009-12-29 07:28:00 +01:00 |
Daniel Marjamäki
|
61e61c1584
|
Robert Reif: Fixed #1158 ((possible style) message with regular check)
|
2009-12-28 18:06:26 +01:00 |
Daniel Marjamäki
|
28f2bf2150
|
Robert Reif: Fixed #1161 (add tokenize support for typedefs with enum definitions)
|
2009-12-28 17:57:52 +01:00 |
Daniel Marjamäki
|
9aca2e7680
|
Fixed #1156 ([False positive] Uninitialized variable - class member in constructor)
|
2009-12-28 12:51:28 +01:00 |
Daniel Marjamäki
|
197bcf17ba
|
Tokenizer: Simplify 'while (0)' better
|
2009-12-28 08:37:34 +01:00 |
Daniel Marjamäki
|
b1e963fe2c
|
Fixed another issue with #1154 (false positive: Data is allocated but not initialized)
|
2009-12-27 18:00:43 +01:00 |
Daniel Marjamäki
|
24c5f4d53c
|
astyle formatting
|
2009-12-27 17:46:24 +01:00 |
Daniel Marjamäki
|
1c0f3ee179
|
Fixed #1154 (false positive: Data is allocated but not initialized)
|
2009-12-27 17:35:18 +01:00 |
Daniel Marjamäki
|
738987a686
|
Fixed #1138 (improve check: dereferencing uninitialized pointer)
|
2009-12-27 17:20:34 +01:00 |
Martin Ettl
|
c3886a5803
|
added further testcases to testmathlib::convert(); now the conversion of +-[hexnumber|octalnumber] works correctly
|
2009-12-27 15:18:18 +01:00 |
Martin Ettl
|
f06adb18cd
|
added further testcases to testmathlib::isint()
|
2009-12-27 14:46:47 +01:00 |
Martin Ettl
|
c2b3cfccc9
|
extended testcases of mathlib; fixed zero conversion: +0 and -0 is converted to 0
|
2009-12-27 14:30:23 +01:00 |
Daniel Marjamäki
|
c7cede1d76
|
Fixed #972 (New check: return pointer of stack memory)
|
2009-12-27 13:08:41 +01:00 |
Daniel Marjamäki
|
fbfe5a4bd1
|
Fixed #1153 (False positive: uninitialized data for reinterpret_cast)
|
2009-12-27 09:27:05 +01:00 |
Daniel Marjamäki
|
afad0205c4
|
Fixed #1120 (Test compile warnings with Cygwin)
|
2009-12-26 17:49:05 +01:00 |
Daniel Marjamäki
|
ab7ffd2391
|
Uninitialized variables: Fixed false positive for 'if (ptr)'
|
2009-12-26 16:22:14 +01:00 |
Daniel Marjamäki
|
a82a085d10
|
Fixed #1151 (false positive: Data is allocated but not initialized)
|
2009-12-26 09:30:02 +01:00 |
Daniel Marjamäki
|
9819b75e17
|
ExecutionPath: Refactoring if-handling
|
2009-12-25 20:50:23 +01:00 |
Daniel Marjamäki
|
b5291825ce
|
Fixed #683 (wrong usage of strcmp)
|
2009-12-25 19:45:21 +01:00 |
Daniel Marjamäki
|
5925b88b38
|
Robert Reif: improve check: array index out of bounds, show name of array, array size and array index
|
2009-12-25 15:25:58 +01:00 |
Daniel Marjamäki
|
44a629ec74
|
Fixed #1141 (Tokenizer: Wrong simplification of calculations)
|
2009-12-25 14:47:15 +01:00 |
Daniel Marjamäki
|
9b05850e97
|
fixed unit testing
|
2009-12-23 20:00:12 +01:00 |
Daniel Marjamäki
|
ea51c3e098
|
Refactoring the uninitialized variable / null pointer checks so they use a common function to inspect function calls
|
2009-12-23 19:51:32 +01:00 |
Daniel Marjamäki
|
a7d48f2eb4
|
Fixed #1147 (Improve check: return uninitialized variable)
|
2009-12-23 17:55:03 +01:00 |
Daniel Marjamäki
|
b6c320de8a
|
Fixed false positives about uninitialized variables
|
2009-12-23 15:01:23 +01:00 |
Daniel Marjamäki
|
ef21ba7425
|
Fixed #1137 (false positive: uninitialized variable when using a class object)
|
2009-12-23 13:57:01 +01:00 |
Daniel Marjamäki
|
5a89cc3259
|
Robert Reif: Fixed #1139 (false negative: CheckOther::postIncrement() only finds at most one problem)
|
2009-12-23 13:38:54 +01:00 |
Daniel Marjamäki
|
fe74c65c89
|
Robert Reif: code cleanup
|
2009-12-23 12:17:48 +01:00 |
Daniel Marjamäki
|
2bd60ab6c8
|
Fixed #1133 (Uninitialized array: strchr, strrchr, etc)
|
2009-12-22 21:08:29 +01:00 |
Daniel Marjamäki
|
566cfce8da
|
Fixed #1128 (false positive: Data is allocated but not initialized)
|
2009-12-22 21:00:52 +01:00 |
Daniel Marjamäki
|
c05aebbc0a
|
Fixed #1112 (cppcheck fails because of accented characters in comments)
|
2009-12-22 20:38:12 +01:00 |
Daniel Marjamäki
|
4dac46b2d7
|
Fixed #1127 (Segfault with template)
|
2009-12-22 20:10:08 +01:00 |
Daniel Marjamäki
|
aaf908bd5e
|
astyle formatting
|
2009-12-22 19:18:02 +01:00 |
Daniel Marjamäki
|
11da89784f
|
Eric Sesterhenn: Fixed #1130 (False positive uninitialized variable)
|
2009-12-22 19:16:34 +01:00 |
Daniel Marjamäki
|
b4b63789fc
|
Eric Sesterhenn: Fixed #1131 (descriptor leak false positive)
|
2009-12-22 19:13:46 +01:00 |
Daniel Marjamäki
|
5b87a51aa5
|
Robert Reif: Fixed #1108 (Only trivial typedefs are tokenized properly)
|
2009-12-22 19:10:33 +01:00 |
Daniel Marjamäki
|
2e0566bf7a
|
Fixed #1096 (Non-obvious error message: Overlapping data buffer)
|
2009-12-21 21:05:55 +01:00 |
Daniel Marjamäki
|
72bf1c1dbe
|
Fixed #1095 (Non-obvious error message: Dangerous usage of erase)
|
2009-12-21 20:49:16 +01:00 |
Daniel Marjamäki
|
83d5a72659
|
Fixed #1126 (False positive: upon exception there is memory leak (calling unknown function))
|
2009-12-21 20:04:55 +01:00 |
Daniel Marjamäki
|
b3b07321ca
|
ericsesterhenn: Fixed #1091 (improve check: nullpointer dereference not detected)
|
2009-12-21 19:09:13 +01:00 |
Reijo Tomperi
|
df0d2ca83c
|
Fix #1124 (Invalid number of character ((). Can't process file.)
http://sourceforge.net/apps/trac/cppcheck/ticket/1124
|
2009-12-20 23:50:57 +02:00 |
Daniel Marjamäki
|
11c7b8a839
|
Execution Path: some refactorings of the checking
|
2009-12-20 19:44:32 +01:00 |
Daniel Marjamäki
|
d9cf70c1c6
|
Fixed #1119 (false positve: uninitialized variable y when y is assigned in inner expression 'x = (y = 10)')
|
2009-12-20 13:55:17 +01:00 |
Kimmo Varis
|
eb8c6aec55
|
CMake - add 'make check' -target.
Tests are now excluded from normal targets to make compiling
faster. 'make check' -target will compile and run tests.
|
2009-12-20 11:16:56 +02:00 |
Kimmo Varis
|
9e2a42ebf9
|
CMake - use more strict compiler flags.
|
2009-12-20 10:45:57 +02:00 |
Daniel Marjamäki
|
e7c0e4d482
|
Fixed #1093 (False positive: missing constructor)
|
2009-12-19 17:58:52 +01:00 |
Daniel Marjamäki
|
8a1940e043
|
astyle
|
2009-12-19 17:57:58 +01:00 |
Kimmo Varis
|
2fb6c21509
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2009-12-19 16:55:15 +02:00 |
Daniel Marjamäki
|
95f652a2b4
|
robert reif: Fixed #1118 (new check: use empty() instead of checking size() against zero)
|
2009-12-19 15:24:59 +01:00 |
Kimmo Varis
|
41eb141e61
|
CMake - cleaner way to set additional library for Windows.
|
2009-12-19 16:21:46 +02:00 |
Daniel Marjamäki
|
69a98d81fc
|
Fixed #1107 (False positive: Dangerous usage of erase, when using std::list)
|
2009-12-18 20:55:51 +01:00 |
Daniel Marjamäki
|
b3a055e20a
|
Fixed #1101 (link error with latest git in Visual Studio)
|
2009-12-18 18:29:31 +01:00 |
Daniel Marjamäki
|
0da0b5ffed
|
ericsesterhenn: Fixed #1106 (check if buffer is zero terminated after a strncpy)
|
2009-12-18 17:26:15 +01:00 |
Kimmo Varis
|
d70c60b702
|
CMake - Fix Windows build.
|
2009-12-17 22:31:13 +02:00 |
Kimmo Varis
|
6e540e615d
|
Add testsuite to CMake build files.
|
2009-12-15 22:27:17 +02:00 |
Daniel Marjamäki
|
1680d1fb42
|
Fixed #1086 (segmentation fault of cppcheck '#if define(A)+define(B)+define(C)!=1')
|
2009-12-15 20:18:32 +01:00 |
Daniel Marjamäki
|
e03ff727d4
|
Fixed #1103 (false positive: uninitialized variable when using references)
|
2009-12-15 19:50:48 +01:00 |
Daniel Marjamäki
|
368df4c083
|
TestLocalLeaks: going out of scope
|
2009-12-15 19:27:07 +01:00 |
Reijo Tomperi
|
30f789a168
|
Fix #1076 (Invalid number of character ({). Can't process file.)
http://sourceforge.net/apps/trac/cppcheck/ticket/1076
|
2009-12-15 00:06:05 +02:00 |
Daniel Marjamäki
|
0c13f9ba5c
|
Added TestLocalLeaks
|
2009-12-14 20:30:31 +01:00 |
Reijo Tomperi
|
42c2437f78
|
Test case for #1076 (Invalid number of character ({). Can't process file.)
|
2009-12-13 22:36:42 +02:00 |
Daniel Marjamäki
|
4dc8794c69
|
Fixed #1082 (False positive: Resource leak in loop which exits only after releasing resource)
|
2009-12-13 19:50:49 +01:00 |
Daniel Marjamäki
|
829a4f8453
|
Fixed #1084 (define configuration lost)
|
2009-12-13 17:18:27 +01:00 |
Daniel Marjamäki
|
b4a454fc47
|
Fixed #1058 (Preprocessor: extracting configuration for '#if DEF == 1')
|
2009-12-13 15:23:44 +01:00 |
Daniel Marjamäki
|
01cfa3b6bd
|
Fixed #1072 (False positive: class member initialization with '*p=0;')
|
2009-12-13 09:36:59 +01:00 |
Daniel Marjamäki
|
bc808710a0
|
Fixed #1097 (Internal error: When macro is not expanded 'ABC(for (i=0;i<10;i++) ..);')
|
2009-12-12 19:58:19 +01:00 |
Daniel Marjamäki
|
1002457b17
|
Fixed #1074 (Exception safety: auto deallocated classes don't leak)
|
2009-12-12 18:56:26 +01:00 |