Daniel Marjamäki
|
cb43168d81
|
Fixed #1720 (segmentation fault of cppcheck)
|
2010-06-02 18:10:32 +02:00 |
Daniel Marjamäki
|
8ead23fc91
|
CheckOther::nullConstantDereference: Fixed cppcheck warning message - tok may become null
|
2010-06-02 18:06:37 +02:00 |
Daniel Marjamäki
|
28ad69e4b3
|
Refactoring of CheckOther::nullConstantDereference
|
2010-06-02 17:53:45 +02:00 |
Daniel Marjamäki
|
37ae4692bb
|
Uninitialized variables: fixed false negative when using uninitialized variable inside malloc call
|
2010-05-30 10:30:51 +02:00 |
Daniel Marjamäki
|
1ec49430e3
|
Uninitialized variables: better handling when uninitialized variables are used in function calls
|
2010-05-30 09:31:10 +02:00 |
Daniel Marjamäki
|
d3ed1c8960
|
Refactoring uninitialized variables (checking variable declarations)
|
2010-05-30 08:02:39 +02:00 |
Daniel Marjamäki
|
406cbda563
|
Uninitialized variables: better handling of struct variables
|
2010-05-30 07:55:11 +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
|
88e9a4ade6
|
Fixed #1704 (false negative: null pointer dereference)
|
2010-05-26 19:16:42 +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
|
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 |
firewave
|
2bced1d90c
|
Avoid some Visual Studio warnings
|
2010-05-18 19:19:15 +02:00 |
Daniel Marjamäki
|
6edb2e77b4
|
Refactoring: Removed Severity::possibleStyle
|
2010-05-16 14:43:42 +02:00 |
Daniel Marjamki
|
972046c4bd
|
Added test CheckOther::sizeofsizeof. Inspired by #1682
|
2010-05-15 14:06:45 +02:00 |
Daniel Marjamäki
|
7c52c8683d
|
Fixed #1662 (false positive: Data is allocated but not initialized, when using sprintf)
|
2010-05-09 07:48:52 +02:00 |
Robert Reif
|
be35b72c7e
|
Fixed #1660 (false positive: Variable is assigned a value that is never used, when using cast)
|
2010-05-09 07:15:40 +02:00 |
Daniel Marjamäki
|
2901434773
|
Fixed #1658 (false negative: uninitialized pointer usage)
|
2010-05-08 19:23:46 +02:00 |
Daniel Marjamäki
|
bd22a18dc1
|
Refactoring: Changed 'possible style' to 'style'
|
2010-05-08 09:49:01 +02:00 |
Zachary Blair
|
21b7eb61f5
|
Fixed #959: (new check: wrong usage of fflush()) Simplified and set severity to error
|
2010-05-06 23:08:10 -07:00 |
Robert Reif
|
4c95264d29
|
Fixed #1647 (False positive: buffer is not assigned value (assigned through alias))
|
2010-05-05 17:31:07 +02:00 |
Daniel Marjamäki
|
612be2557b
|
Fixed #1646 (False positive: array access after return cannot have default loop value)
|
2010-05-04 20:02:47 +02:00 |
Robert Reif
|
7ce70777a4
|
Fixed #1643 (Variable usage (pointer is assigned but never used))
|
2010-05-04 17:28:03 +02:00 |
Robert Reif
|
eb276346c5
|
Fixed #1639 (False positive: unused variable value (pointer aliasing))
|
2010-05-04 17:26:09 +02:00 |
Zachary Blair
|
707d27f3d8
|
Fixed #959 (new check: wrong usage of fflush())
|
2010-05-03 23:14:45 -07:00 |
Robert Reif
|
6eb16e0f16
|
Fixed #1640 (False negative: Unused value (variable is assigned but never read))
|
2010-05-01 21:15:14 +02:00 |
Robert Reif
|
4014bd234f
|
Unit testing: Improved test coverage for variable usage checking
|
2010-05-01 09:26:47 +02:00 |
Robert Reif
|
1fa1ff8d14
|
Fixed #1636 (Fix false positive with strncpy termination check)
|
2010-04-30 21:36:48 +02:00 |
Robert Reif
|
5738f34872
|
Fixed #1622 (False positive: buf is not assigned a value (pointer aliasing))
|
2010-04-30 18:11:51 +02:00 |
Robert Reif
|
70d475f8c2
|
Fixed #1622 (False positive: buf is not assigned a value (pointer aliasing))
|
2010-04-29 07:10:50 +02:00 |
Daniel Marjamäki
|
cccccff96f
|
Fixed #1629 (False negative: null pointer derefence not detected 'c[0] = 0')
|
2010-04-28 22:07:39 +02:00 |
Robert Reif
|
f0018100e1
|
Variable usage: Use variable id instead of variable name to identify variable
|
2010-04-27 05:05:32 +02:00 |
Daniel Marjamäki
|
cda6fdb73d
|
astyle formatting
|
2010-04-25 14:56:04 +02:00 |
firewave
|
52b84963e6
|
Fixed Access Violation with --enable=style when no tokens exist
|
2010-04-25 12:35:09 +02:00 |
Daniel Marjamäki
|
eb82a89758
|
ExecutionPath: Better handling of if
|
2010-04-25 11:55:57 +02:00 |
Daniel Marjamäki
|
a15e25f9fe
|
Fixed #1571 ('C-style pointer casting' should not be reported for C files)
|
2010-04-24 16:46:09 +02:00 |
Daniel Marjamäki
|
f3bea249ac
|
Removed the check for unreachable code. The g++ warning -Wunreachable-code is recommended instead. This closes #1603 (break after a return or goto should not be an error in a switch statement).
|
2010-04-24 14:30:45 +02:00 |
Robert Reif
|
2bdcf3b5b2
|
variable usage: refactoring the checking
|
2010-04-24 09:45:03 +02:00 |
Zachary Blair
|
680a470741
|
Fixed #1564 (CppCheck does not recognise redundant IF)
|
2010-04-22 01:21:54 -07:00 |
Zachary Blair
|
c26e619b23
|
Fixed #855 (Refactoring: move conditions into checks)
|
2010-04-20 23:38:25 -07:00 |
Robert Reif
|
d851b4a3d4
|
Fixed #1607 (false positive: variable is assigned a value that is never used)
|
2010-04-17 14:23:29 +02:00 |
Daniel Marjamäki
|
b19113426f
|
Unused struct member: Fixed false positives
|
2010-04-17 11:16:05 +02:00 |
Robert Reif
|
61b5a21ac9
|
Fixed #1605 (false positive: uninitialized variable)
|
2010-04-16 16:25:57 +02:00 |
Robert Reif
|
45573ad101
|
Fixed #1607 (false positive: variable is assigned a value that is never used)
|
2010-04-16 15:57:09 +02:00 |
Daniel Marjamäki
|
c718a7c595
|
astyle: Update to astyle 1.24
|
2010-04-15 20:08:51 +02:00 |
Robert Reif
|
01aa414f32
|
Fixed #1253 (improve check: uninitialized variable not found when using reference)
|
2010-04-15 18:44:52 +02:00 |
Reijo Tomperi
|
35d2a27b9c
|
Update copyright year in all source files
|
2010-04-13 22:23:17 +03:00 |
Daniel Marjamäki
|
8373a6d4cb
|
astyle formatting
|
2010-04-13 19:30:51 +02:00 |
Zachary Blair
|
bd7dc9946e
|
Fixed #1530 (possible new check: strlen return value versus zero.)
|
2010-04-13 19:30:25 +02:00 |
Daniel Marjamäki
|
e9b4ea44a2
|
Refactoring: Disable inconclusive checks. They can still be activated for debugging/testing purposes
|
2010-04-10 14:05:33 +02:00 |
Daniel Marjamäki
|
f77dbbb14b
|
Fixed some false positives for unused struct members
|
2010-04-09 19:55:41 +02:00 |
Daniel Marjamäki
|
38a28e28ec
|
Fixed #1581 (False positives 'The scope of the variable x can be reduced')
|
2010-04-09 16:53:27 +02:00 |
Reijo Tomperi
|
5aa88ee5a2
|
Fix vs warnings. Apply patch from kidkat.
|
2010-04-06 21:35:21 +03:00 |
Martin Ettl
|
4bc325f077
|
#ticket 1513: added sqrt() support
|
2010-04-05 20:20:20 +02:00 |
Reijo Tomperi
|
93d195aa0f
|
astyle fix
|
2010-04-05 21:12:43 +03:00 |
Martin Ettl
|
f895ab9a0d
|
Merge branch 'master' of git@github.com:danmar/cppcheck
|
2010-04-05 20:08:21 +02:00 |
Martin Ettl
|
fe7c6aed9f
|
#ticket 1513: added pow() support
|
2010-04-05 20:07:53 +02:00 |
Reijo Tomperi
|
04b38e5428
|
astyle fix
|
2010-04-05 20:57:54 +03:00 |
Martin Ettl
|
218c18496d
|
#ticket 1513 added fmod() support
|
2010-04-05 19:45:33 +02:00 |
Martin Ettl
|
d4923e2a92
|
added atan2() check to ticket #1513
|
2010-04-05 19:35:56 +02:00 |
Daniel Marjamäki
|
61e1c4183f
|
Uninitialized variables: better handling of 'a[b[..]]' when b is not initialized
|
2010-04-05 09:04:30 +02:00 |
Daniel Marjamäki
|
d26a2cfc16
|
Uninitialized variables: Detect reading uninitialized data through array/pointer variable
|
2010-04-05 08:38:26 +02:00 |
Daniel Marjamäki
|
abceff497b
|
Refactoring: some refactoring of ExecutionPath. The foundError was removed. No automatic bailout of all checks are made when errors are found.
|
2010-04-04 11:24:52 +02:00 |
Daniel Marjamäki
|
78852b08ab
|
Fixed #1566 (false negative: uninitialized variable)
|
2010-04-04 09:17:53 +02:00 |
Reijo Tomperi
|
be598757a1
|
Fix segmentation fault when calling with --errorlist and add a testcase for it.
|
2010-04-03 22:53:06 +03:00 |
Daniel Marjamäki
|
5f9e14e242
|
Borland C++: Fixed compiler error
|
2010-04-03 07:51:40 +02:00 |
Reijo Tomperi
|
93d4851040
|
astyle fix
|
2010-04-02 22:17:09 +03:00 |
Martin Ettl
|
0c2f4831d8
|
#ticket #1513 added asin() support
|
2010-04-02 20:59:39 +02:00 |
Martin Ettl
|
c391a03db6
|
added acos() check to ticket #1513; added testcases for MathLib::toDoubleNumber(), now double conversion of zeros is handled correctly; changed assertEquals() function of testsuite parameters from unsigned int to double. This is needed to avoid overflow of unsigned int by comparing negative floating point values.
|
2010-04-02 20:23:37 +02:00 |
Martin Ettl
|
9788333ee9
|
added log10() check, for checking about parameters passed to mathfunctions that do not make sense
|
2010-04-02 19:17:41 +02:00 |
Daniel Marjamäki
|
8b5aae9adb
|
astyle formatting
|
2010-04-02 07:32:03 +02:00 |
Daniel Marjamäki
|
0cad22314e
|
Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup.
|
2010-04-02 07:30:58 +02:00 |
Martin Ettl
|
193aa7d1d3
|
astyle fix
|
2010-04-02 02:21:53 +02:00 |
Martin Ettl
|
b5fb01c202
|
ticket #1513 new check: Detecting obviously wrong math call arguments passed to math functions)
|
2010-04-02 02:19:38 +02:00 |
Daniel Marjamäki
|
a68d8dbc77
|
Fixed #1549 (false positive: uninitialized variable)
|
2010-03-31 20:20:51 +02:00 |
Daniel Marjamäki
|
c3edc5fd89
|
Fixed #1148 (improve check: usage of uninitialized variables)
|
2010-03-28 21:27:06 +02:00 |
Robert Reif
|
62d2845014
|
Fixed #1492 (false negatives: array index out of bounds)
|
2010-03-28 15:56:13 +02:00 |
Raphael Geissert
|
c0e09c4cb3
|
Fixed #1511 (false negative null pointer deref when dereferencing pointers to constants)
|
2010-03-26 16:44:46 +01:00 |
Daniel Marjamäki
|
e911d1f1df
|
doxygen updates
|
2010-03-17 22:16:18 +01:00 |
Daniel Marjamäki
|
235404077f
|
Fixed #1501 (false positive: Variable 'n' is assigned a value that is never used)
|
2010-03-16 19:25:10 +01:00 |
Daniel Marjamäki
|
15d67a2369
|
Fixed #1503 (False positive for uninitialized variable)
|
2010-03-16 19:09:37 +01:00 |
Daniel Marjamäki
|
30d3418b11
|
doxygen: added more comments for CheckNullPointer and CheckUninitVar
|
2010-03-13 21:42:59 +01:00 |
Daniel Marjamäki
|
7f42ed3ad0
|
Fixed #1472 (false positive: Data is allocated but not initialized: service)
|
2010-03-07 09:08:52 +01:00 |
Daniel Marjamäki
|
6ca4b008d0
|
null pointer: Fixed better error message for 'possible null pointer' + removed redundant check in our Tokenizer.
|
2010-02-28 07:26:50 +01:00 |
Daniel Marjamäki
|
0b2ad2164f
|
Fixed #1442 (false positive: getting offset instead of dereferencing a null pointer)
|
2010-02-22 21:30:21 +01:00 |
Daniel Marjamäki
|
e4a685c6e9
|
Fixed #1430 (void foo(int nb))
|
2010-02-21 08:02:44 +01:00 |
Daniel Marjamäki
|
a25cdd63b6
|
Refactored the CheckOther::functionVariableUsage
|
2010-02-21 07:05:44 +01:00 |
Daniel Marjamäki
|
375d2b1fcd
|
astyle formatting
|
2010-02-18 19:55:47 +01:00 |
Daniel Marjamäki
|
b59d79c303
|
readded checks for unused variables and unreachable code that were removed in 42c608b6f0
|
2010-02-18 18:45:13 +01:00 |
Daniel Marjamäki
|
9394816fcf
|
Refactoring: Use std::string instead of const char *
|
2010-02-14 19:58:17 +01:00 |
Reijo Tomperi
|
b52fa9451f
|
Fix #1385 (False positive: unsigned division)
http://sourceforge.net/apps/trac/cppcheck/ticket/1385
This also fixes a bug in setVarId(). "unsigned int a" didn't get varid,
untill later when unsigned was simplified away.
|
2010-02-12 22:24:06 +02:00 |
Monika Lukow
|
2d5d060514
|
Fixed #1094 (Improve check: unusual pointer arithmetic: 'ch+str')
|
2010-02-07 21:44:11 +01:00 |
Daniel Marjamäki
|
0d18050b55
|
Fixed #984 (improve output if strncpy is followed by strncat)
|
2010-02-05 17:35:18 +01:00 |
Daniel Marjamäki
|
1b9afc82a4
|
Reverted 4f30468c80 . There was false positives such as #1335 so please fix them and then re-commit.
|
2010-02-01 19:46:51 +01:00 |
Monika Lukow
|
4f30468c80
|
Fixed #1094 (Improve check: unusual pointer arithmetic: 'ch+str')
|
2010-01-31 11:42:02 +01:00 |
Daniel Marjamäki
|
48f3921c36
|
Null pointer dereference: sending to output stream
|
2010-01-30 14:40:33 +01:00 |
Daniel Marjamäki
|
43c8fe895c
|
Fixed #1301 (False positive: Data is allocated but not initialized)
|
2010-01-23 21:25:17 +01:00 |
Daniel Marjamäki
|
037ecffc34
|
detect when function pointer that is null is used
|
2010-01-23 09:15:30 +01:00 |
Daniel Marjamäki
|
7b986c831d
|
Report when using uninitialized function pointer
|
2010-01-23 07:57:57 +01:00 |
Daniel Marjamäki
|
2e707974d0
|
Fixed #1273 (scope of variable limited not detected in latest versions)
|
2010-01-21 18:50:56 +01:00 |
Daniel Marjamäki
|
fbf428550a
|
Fixed #1262 (cppcheck false positives: 'Possible null pointer dereference', 'Uninitialized variable')
|
2010-01-17 19:08:45 +01:00 |
Daniel Marjamäki
|
a7bddc8fd3
|
Fixed #1268 (Null pointer dereference false positive)
|
2010-01-14 20:02:38 +01:00 |
Daniel Marjamäki
|
1aac8f3e52
|
Uninitialized variables: disable subfunction analysis if multiple threads are used
|
2010-01-12 22:33:47 +01:00 |
Daniel Marjamäki
|
374def4a53
|
Fixed #1070 (Improve scope error message)
|
2010-01-12 19:34:33 +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
|
b8b6b0ec32
|
Uninitialized variables: fixed false positives when using pointer aliasing
|
2010-01-11 19:25:01 +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
|
b82cb2e41e
|
Fixed #1218 (Improve check: incrementing uninitialized variable i++)
|
2010-01-10 09:09:37 +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
|
e248f7d3e5
|
Fixed #1023 (improve check: Unintialized variable not detected when using +=)
|
2010-01-03 18:49:13 +01:00 |
Daniel Marjamäki
|
fa535ff3ae
|
Fixed #440 (NULL referencing not detected)
|
2010-01-03 13:30:20 +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
|
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 |
Daniel Marjamäki
|
b0d7623dcf
|
refactoring the fix for #1191
|
2010-01-01 19:49:33 +01:00 |
Daniel Marjamäki
|
f8bd59f5b5
|
Fixed #1191 (false positive: uninitialized variable)
|
2010-01-01 19:43:02 +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
|
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
|
71a83647c6
|
cleanup
|
2009-12-30 20:38: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 |
Daniel Marjamäki
|
d83131ca92
|
Fixed #1041 (passing a nullpointer to a reference)
|
2009-12-30 17:42:41 +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
|
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
|
4cbae159b2
|
ExecutionPath: Refactoring. Removed the bailOut variable
|
2009-12-29 09:30:02 +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
|
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
|
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 |
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
|
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
|
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
|
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
|
11da89784f
|
Eric Sesterhenn: Fixed #1130 (False positive uninitialized variable)
|
2009-12-22 19:16:34 +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
|
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 |
Daniel Marjamäki
|
11c7b8a839
|
Execution Path: some refactorings of the checking
|
2009-12-20 19:44: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
|
0c13f9ba5c
|
Added TestLocalLeaks
|
2009-12-14 20:30:31 +01:00 |
Daniel Marjamäki
|
9646f62ec1
|
Fixed #1075 (False positive: uninitialized variable 'return bar(s);')
|
2009-12-11 19:58:29 +01:00 |
Daniel Marjamäki
|
91114c50d2
|
Fixed #1061 (false positve: uninitialized variable)
|
2009-12-09 20:05:06 +01:00 |
Reijo Tomperi
|
e57d9609a7
|
small fix to previous commit
|
2009-12-06 22:32:38 +02:00 |
Reijo Tomperi
|
fc40808a8a
|
Minor refactoring for checkother.cpp
|
2009-12-06 22:28:38 +02:00 |
Daniel Marjamäki
|
8db35189e0
|
STL: fix iterator bug
|
2009-12-06 21:21:27 +01:00 |
Daniel Marjamäki
|
3100bb3ccc
|
Visual C++: Suppress compiler warnings
|
2009-12-06 20:34:02 +01:00 |
Daniel Marjamäki
|
bbc63b6b5b
|
twistedwave: Fixed #1055 (Support for inline suppressions)
|
2009-12-06 19:38:53 +01:00 |
Daniel Marjamäki
|
2d180ab918
|
newcheck: added the 'newcheck' functionality. It's still in early state so it needs refactoring
|
2009-12-06 18:41:28 +01:00 |
Daniel Marjamäki
|
ded2e68c2e
|
Fix #1022 (False positive: uninitialized variable when using local struct)
|
2009-11-29 19:23:31 +01:00 |
Daniel Marjamäki
|
d866c174cf
|
Fixed
|
2009-11-15 20:26:07 +01:00 |
Daniel Marjamäki
|
469a8e4032
|
Fixed #925 (uninitialized deletion not detected)
|
2009-11-15 20:01:57 +01:00 |
Daniel Marjamäki
|
822f64ec9a
|
Fixed #953 (false positive: 'uninitialized variable' with function pointer)
|
2009-11-15 12:42:04 +01:00 |
Daniel Marjamäki
|
ebf907cbc0
|
Fixed #936 (false positive: uninitialized variable '.. else return; .. ')
|
2009-11-14 20:37:54 +01:00 |
Daniel Marjamäki
|
ec6d66ff45
|
Fixed #913 (false positive: uninitialized variable)
|
2009-11-14 08:00:17 +01:00 |
Daniel Marjamäki
|
e0b1303b50
|
Fixed #929 (Uninitialized variable false positive)
|
2009-11-10 18:05:55 +01:00 |
Daniel Marjamäki
|
41e59d8348
|
Fixed #832 (Exception Safety: deallocating member pointer and then throwing exception)
|
2009-11-08 09:54:08 +01:00 |
Daniel Marjamäki
|
4b04ed9ad9
|
Fixed #910 (false positive: uninitialized variable for array)
|
2009-11-08 07:31:01 +01:00 |
Daniel Marjamäki
|
d88c236efe
|
uninitialized data: minor fix to handle 'new char [' better
|
2009-11-07 14:54:12 +01:00 |
Reijo Tomperi
|
45406f5367
|
astyle fix
|
2009-11-07 14:19:25 +02:00 |
Daniel Marjamäki
|
60caefe069
|
uninitialized data: added more checking for allocated data
|
2009-11-07 09:10:15 +01:00 |
Daniel Marjamäki
|
c561a36cc7
|
uninitialized variables: better checking of strncpy
|
2009-11-06 19:06:45 +01:00 |
Daniel Marjamäki
|
7397bfc765
|
Fixed #904 (false positive: uninitialized variable)
|
2009-11-06 16:50:02 +01:00 |
Daniel Marjamäki
|
53f7b12b4f
|
Fixed #902 (false positive: uninitialized variable when variable is initialized in macro)
|
2009-11-06 16:02:13 +01:00 |
Daniel Marjamäki
|
442584151b
|
Fixed #897 (false positive: uninitialized variable when assigning pointer to array to struct member)
|
2009-11-05 21:07:04 +01:00 |
Daniel Marjamäki
|
3c82fbb73a
|
use Token::link instead of findmatch to find ']'
|
2009-11-03 22:48:41 +01:00 |
Daniel Marjamäki
|
c3dff9a6d3
|
Fixed #893 (False Positive: Uninitialized variable b in a[0] = b[0] = '\0';)
|
2009-11-03 21:02:16 +01:00 |
Daniel Marjamäki
|
797e9aeaf5
|
Fixed #890 (false positive: Uninitialized variable when pointer takes the address to array)
|
2009-11-03 17:03:53 +01:00 |
Daniel Marjamäki
|
8d57cef7f9
|
Fixed #764 (usage of unitialized variable not detected)
|
2009-11-02 19:58:49 +01:00 |
Daniel Marjamäki
|
4abbe9ffd4
|
Fixed #889 (false positive: uninitialized variable)
|
2009-11-02 16:28:15 +01:00 |
Reijo Tomperi
|
eebbc1b906
|
Fix #884 (False positive: Possible null pointer reference about a non-pointer)
http://sourceforge.net/apps/trac/cppcheck/ticket/884
|
2009-11-01 13:08:37 +02:00 |
Daniel Marjamäki
|
c83d9cd786
|
Fixed #843 (new check: Passing uninitialized array to strlen/strdup/strcpy/strcat/etc)
|
2009-10-31 16:36:56 +01:00 |
Daniel Marjamäki
|
266291baf4
|
Fixed #876 (false positive: uninitialized variable)
|
2009-10-31 10:30:32 +01:00 |
Daniel Marjamäki
|
45df223bfb
|
Fixed #875 (Uninitialized variable: initialization in subfunction)
|
2009-10-30 18:28:01 +01:00 |
Daniel Marjamäki
|
6ac2b6ab14
|
uninitialized variables: return|goto are not used in variable declarations
|
2009-10-30 15:23:27 +01:00 |
Daniel Marjamäki
|
7dbf22aa3f
|
null pointer: fixed false positive when condition checks if pointer is ok
|
2009-10-30 15:14:24 +01:00 |
Daniel Marjamäki
|
2cf849a9b8
|
uninitialized variables: fixed false positive when switch is used
|
2009-10-30 14:52:20 +01:00 |
Daniel Marjamäki
|
765c824c6f
|
Uninitialized pointers: It's allowed to dereference uninitialized non-pointer variables
|
2009-10-30 14:31:37 +01:00 |
Daniel Marjamäki
|
44a9c9b458
|
Fixed #874 (false positive: uninitialized variable)
|
2009-10-30 14:06:40 +01:00 |
Daniel Marjamäki
|
768225bb1b
|
uninitialized variables: fixed false positives for member variables
|
2009-10-30 13:43:00 +01:00 |
Daniel Marjamäki
|
c6d7fad84f
|
uninitialized variables: added check
|
2009-10-29 21:34:43 +01:00 |
Daniel Marjamäki
|
09859c1019
|
refactoring the folder structure
|
2009-10-25 12:49:06 +01:00 |