Daniel Marjamäki
|
8485e95341
|
Token::stringifyList: Added function that stringifies a token list
|
2009-02-13 06:25:29 +00:00 |
Reijo Tomperi
|
916090b389
|
Improved test case "double_plus"
|
2009-02-12 20:49:05 +00:00 |
Reijo Tomperi
|
030b35c975
|
Added test case double_plus and improved Token::printOut
|
2009-02-12 20:32:59 +00:00 |
Reijo Tomperi
|
5d3574bb03
|
Fix ticket #100 (Simplify constants simplifies leaks out from variable scope and simplifies whole file)
|
2009-02-12 19:26:42 +00:00 |
Daniel Marjamäki
|
4f121daca4
|
buffer overruns: added simple support for initialized array
|
2009-02-12 19:11:52 +00:00 |
Leandro Penz
|
62a49282eb
|
Incomplete statements: removed false positive when setting array of structures or multi-dimensional arrays.
|
2009-02-12 12:59:43 +00:00 |
Reijo Tomperi
|
de2ee0a29d
|
Test case TestTokenizer::simplify_constants added (commented out)
|
2009-02-11 22:15:22 +00:00 |
Daniel Marjamäki
|
f4a3119c18
|
stl dangerous usage of erase: Added test cases about using return and goto
|
2009-02-11 16:20:32 +00:00 |
Daniel Marjamäki
|
ba3752feb6
|
buffer overrun: improved checking of global variables
|
2009-02-11 16:12:29 +00:00 |
Leandro Penz
|
4c93b4928b
|
Incomplete statement: fixed and enabled intarray test case.
|
2009-02-11 15:17:13 +00:00 |
Leandro Penz
|
d1af0b6478
|
Incomplete statement: test case for statement that begins with numeric constant.
|
2009-02-11 15:16:32 +00:00 |
Daniel Marjamäki
|
eda1290e40
|
dangerous usage of erase: added check
|
2009-02-11 05:08:29 +00:00 |
Reijo Tomperi
|
9b9223480d
|
Refactoring: reportErr takes now only one parameter, ErrorLogger::ErrorMessage, which contains all required information and also some help
functions for formatting it for output.
|
2009-02-10 21:51:52 +00:00 |
Daniel Marjamäki
|
71b4e5a912
|
stl: added testcase for bad iterator usage
|
2009-02-10 20:01:39 +00:00 |
Reijo Tomperi
|
4660b7648d
|
Moved stloutofbounds check to CheckStl class.
|
2009-02-10 19:56:00 +00:00 |
Daniel Marjamäki
|
c1638996f9
|
STL: added check for iterator usage
|
2009-02-10 19:40:21 +00:00 |
Reijo Tomperi
|
9dff3f4c52
|
Fix ticket #94 (STL container overrun). Check is currently behind --all
|
2009-02-09 22:25:44 +00:00 |
Reijo Tomperi
|
1373e14bc9
|
Fix ticket #93 (Write xml results into error stream instead of results.xml file.) and also refactor the
code to use ErrorLogger::reportErr() for all errors, for both xml and plain text. And move xml formatting
from Cppcheck to CppcheckExecutor.
|
2009-02-09 20:51:04 +00:00 |
Daniel Marjamäki
|
a5f88862b4
|
memory leak: keep track of --all better
|
2009-02-09 20:16:00 +00:00 |
Daniel Marjamäki
|
0cdb537a6a
|
incomplete statement: added a testcase for a false positive
|
2009-02-09 20:15:14 +00:00 |
Daniel Marjamäki
|
574db37a6f
|
uninitialized variables: added testcases and made a fix
|
2009-02-09 07:47:41 +00:00 |
Daniel Marjamäki
|
e572cb3c1d
|
Memory leak: Test code was supposed to call unknown function
|
2009-02-08 18:50:34 +00:00 |
Daniel Marjamäki
|
1637e867de
|
mismatching allocation size: moved to error suite
|
2009-02-08 18:34:04 +00:00 |
Daniel Marjamäki
|
d8e8e2c7ee
|
Memory leaks: Make sure leak is found even when using unknown functions
|
2009-02-08 18:31:09 +00:00 |
Daniel Marjamäki
|
81ed48562c
|
Memory leak: find memory leak in TestMemleak::unknownFunction2
|
2009-02-08 18:27:09 +00:00 |
Daniel Marjamäki
|
0361c9d338
|
Memory leak: Handling function that can't be traced into
|
2009-02-08 11:59:04 +00:00 |
Reijo Tomperi
|
cb5974e94e
|
Fixed issue about 4+5 being made a single token, problem appeared in recent commits.
|
2009-02-08 10:56:20 +00:00 |
Reijo Tomperi
|
c345fa6186
|
Fix ticket #89 (False positive, (style) Redundant code - begins with numeric constant (e-value))
|
2009-02-08 10:39:55 +00:00 |
Reijo Tomperi
|
da3efe8fa2
|
Improve fix made for Ticket #85 to handle strings that are in 3 parts also.
|
2009-02-08 10:25:33 +00:00 |
Reijo Tomperi
|
4305d749ff
|
Fixed ticket #88 (False positive, (style) Redundant code - begins with numeric constant)
|
2009-02-08 09:51:45 +00:00 |
Reijo Tomperi
|
200a159c67
|
Fix ticket #85 (False positive (style) Redundant code, begins with string)
|
2009-02-08 08:52:03 +00:00 |
Daniel Marjamäki
|
7ee193490f
|
Memory leaks: Added todo testcase - handle function calls that can't be followed
|
2009-02-08 08:21:15 +00:00 |
Reijo Tomperi
|
d48671bdfb
|
Fixed more of ticket #81 (getting rid of compiler warnings)
|
2009-02-07 20:55:25 +00:00 |
Reijo Tomperi
|
b211b8cbe8
|
Fix ticket #84 (unit testing: use "protected" instead of preprocessor)
|
2009-02-07 20:06:00 +00:00 |
Reijo Tomperi
|
798d86216a
|
Fix ticket #83 (cppcheck hangs) and add a test case for it
|
2009-02-07 19:15:10 +00:00 |
Daniel Marjamäki
|
3c289e52c5
|
memory allocation: check for mismatching size
|
2009-02-07 10:54:39 +00:00 |
Daniel Marjamäki
|
bb71f9e83e
|
TestMemleak: fixed problems with wrong linenumbers. This fixes ticket 79
|
2009-02-07 09:44:57 +00:00 |
Daniel Marjamäki
|
67ad1d8c64
|
TestMemleak: Fixed tests
|
2009-02-06 18:49:30 +00:00 |
Daniel Marjamäki
|
3c7e40fe13
|
errmsg: use the error message dealloc-use
|
2009-02-06 06:22:44 +00:00 |
Daniel Marjamäki
|
7299d3e5b1
|
memleak: removed false positives for mismatching allocation and deallocation
|
2009-02-06 06:11:47 +00:00 |
Reijo Tomperi
|
a06861948b
|
Fixed: Ticket #78 Change (always) into (error) in error messages
|
2009-02-05 21:06:32 +00:00 |
Reijo Tomperi
|
09c13d844e
|
Added test case linenumbers2
|
2009-02-05 20:29:55 +00:00 |
Daniel Marjamäki
|
10abbda6a7
|
memleak: corrected the wrong line number (#77)
|
2009-02-05 20:17:01 +00:00 |
Reijo Tomperi
|
7589dc3d16
|
testcppcheck.cpp file added, test case "linenumbers" added, codeblocks project file updated
|
2009-02-05 20:06:39 +00:00 |
Daniel Marjamäki
|
05e330ed38
|
incomplete statement: minor update
|
2009-02-05 18:57:53 +00:00 |
Daniel Marjamäki
|
9707217c15
|
activated TestClass:function
|
2009-02-04 19:42:40 +00:00 |
Daniel Marjamäki
|
7ccb6217bf
|
remove casts: Added test case to ensure that function declarations are not reduced
|
2009-02-04 19:40:48 +00:00 |
Daniel Marjamäki
|
8187504cbb
|
testclass: added todo testcase for #74
|
2009-02-04 19:31:25 +00:00 |
Daniel Marjamäki
|
aeb573d529
|
returning pointer to local array
|
2009-02-04 18:49:19 +00:00 |
Daniel Marjamäki
|
bd73d0913f
|
charvar: fixed todo testcase
|
2009-02-04 17:12:53 +00:00 |