Daniel Marjamäki
|
6fd74dce47
|
exitcode suppressions. Partly fixes #1113
|
2009-12-28 11:26:52 +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
|
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
|
dccba65502
|
Uninitialized variables: Refactoring and commenting a little
|
2009-12-27 10:48:44 +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
|
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
|
ad8184f060
|
Fixed #1152 (Hang/Slow: ExecutionPath handling hangs)
|
2009-12-26 08:37:59 +01:00 |
Daniel Marjamäki
|
9819b75e17
|
ExecutionPath: Refactoring if-handling
|
2009-12-25 20:50:23 +01:00 |
Daniel Marjamäki
|
7bf0622ae0
|
ExecutionPath: Refactoring the interface
|
2009-12-25 20:12:06 +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
|
1a25e40180
|
Robert Reif: fix cppcheck post increment warning
|
2009-12-25 15:19:36 +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
|
4419f4a342
|
Robert Reif: fix a style warning
|
2009-12-23 12:16:02 +01:00 |
Daniel Marjamäki
|
d2dc5806cd
|
Borland C++: Fixed compiler error
|
2009-12-22 23:21:52 +01:00 |
Daniel Marjamäki
|
305ef25208
|
Visual Studio: Added casts to silence compiler warnings
|
2009-12-22 22:44:21 +01:00 |
Daniel Marjamäki
|
cd2e501794
|
Visual Studio: Fixed unittests
|
2009-12-22 21:56:00 +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
|
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
|
f5f8d857c1
|
preprocessor: removed unnecessary casts
|
2009-12-21 20:26:57 +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 |
Daniel Marjamäki
|
763e3d9eb5
|
Execution Path: Refactoring
|
2009-12-21 18:17:35 +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 |
Daniel Marjamäki
|
191a913ff9
|
Fixed #1117 (segmentation fault of cppcheck)
|
2009-12-20 12:45:34 +01:00 |
Kimmo Varis
|
9e2a42ebf9
|
CMake - use more strict compiler flags.
|
2009-12-20 10:45:57 +02:00 |
Daniel Marjamäki
|
d86234b7fd
|
Preprocessor: Use 'unsigned char' instead of 'char'
|
2009-12-20 09:35:51 +01:00 |
Daniel Marjamäki
|
74b9bccd07
|
code cleanup
|
2009-12-20 09:02:25 +01:00 |