Daniel Marjamäki
|
c7197aed8c
|
refactoring unit tests
|
2009-02-28 08:59:48 +00:00 |
Daniel Marjamäki
|
7d9bf491ec
|
sizeof: fixed a problem with 'sizeof(varname)' but there are more to fix with it
|
2009-02-28 08:34:02 +00:00 |
Reijo Tomperi
|
42176f52ca
|
Added Cppcheck::clearFiles() function.
|
2009-02-27 19:39:50 +00:00 |
Daniel Marjamäki
|
6b7b27a2e8
|
simplify known variable: don't simplify this ';i++;'
|
2009-02-27 18:25:47 +00:00 |
Daniel Marjamäki
|
c991aded12
|
unused functions: fixed false positives
|
2009-02-27 16:36:37 +00:00 |
Daniel Marjamäki
|
dddfc50dff
|
Reverted changes made in [1289]
|
2009-02-27 07:50:39 +00:00 |
Daniel Marjamäki
|
f4a8bc85f2
|
simplify tokens: fixed bug when removing redundant parantheses around variable
|
2009-02-27 06:07:38 +00:00 |
Daniel Marjamäki
|
91011b8450
|
array index out of bounds: Added todo test case TestBufferOverrun::array_index_13 for ticket #118
|
2009-02-26 19:46:59 +00:00 |
Kimmo Varis
|
4296548129
|
Use 'folder' instead of 'directory' in Windows installer.
|
2009-02-26 08:10:59 +00:00 |
Daniel Marjamäki
|
c1da4ae57d
|
simplify tokens: remove redundant parantheses around variable.. 'p = (q);'
|
2009-02-25 19:55:24 +00:00 |
Daniel Marjamäki
|
35583293ec
|
memory leak: Fixed a false positive when all is given
|
2009-02-25 19:20:23 +00:00 |
Daniel Marjamäki
|
dac1e91013
|
unused private function: Handle 'embedded' function implementations better
|
2009-02-25 18:03:17 +00:00 |
Daniel Marjamäki
|
4849aaa7ee
|
checkclass: refactoring
|
2009-02-24 17:50:51 +00:00 |
Daniel Marjamäki
|
66c13c7173
|
reverted [1282] because some changes were committed by mistake
|
2009-02-24 17:49:43 +00:00 |
Daniel Marjamäki
|
8c3e3faa07
|
checkclass: refactoring
|
2009-02-24 17:48:11 +00:00 |
Daniel Marjamäki
|
159332fde4
|
sizeof fix. classes and structs are always given the size 100. This removes false positives about mismatching size
|
2009-02-24 16:30:57 +00:00 |
Daniel Marjamäki
|
1e3047b9c2
|
simplify tokens: simplify known variable value handles ++ and -- better
|
2009-02-24 16:11:37 +00:00 |
Daniel Marjamäki
|
d15aea1b0c
|
memory leak: fixed false positive when using 'return strcpy'
|
2009-02-24 06:23:21 +00:00 |
Daniel Marjamäki
|
44a5cecd99
|
memory leaks: improved handling of --vcl
|
2009-02-23 19:32:54 +00:00 |
Reijo Tomperi
|
a7b0c30884
|
Change -w to -j to make it similar with make and scons.
|
2009-02-22 18:38:10 +00:00 |
Kimmo Varis
|
c50493e940
|
Windows RC file is ANSI file, storing as UTF-8 messes it up.
|
2009-02-22 14:55:29 +00:00 |
Reijo Tomperi
|
033a82d3f2
|
Members of ErrorLogger::ErrorMessage made public for better access to them.
|
2009-02-22 11:29:33 +00:00 |
Reijo Tomperi
|
a64f1d6175
|
CppCheck::addFile() accepts paths also now.
|
2009-02-22 11:17:17 +00:00 |
Daniel Marjamäki
|
40e37f19e3
|
codeblocks: Updated the project file with the new security check
|
2009-02-21 13:48:21 +00:00 |
Daniel Marjamäki
|
d8927e720d
|
constructors: don't warn about missing constructor if class only has static variable members
|
2009-02-21 13:35:55 +00:00 |
Daniel Marjamäki
|
08f76279ed
|
buffer overrun: catch cases when using cin to read to a char array
|
2009-02-21 12:22:04 +00:00 |
Daniel Marjamäki
|
5269e38ae2
|
security: renamed classes
|
2009-02-21 12:12:31 +00:00 |
Daniel Marjamäki
|
b826d2e41b
|
security: Renamed files
|
2009-02-21 12:07:19 +00:00 |
Daniel Marjamäki
|
a9009ebf7d
|
TestClass: Added test for uninitialized "mutable int i"
|
2009-02-21 08:24:57 +00:00 |
Daniel Marjamäki
|
9b8571466c
|
Visual C++: Updated the project file to include the thread execution
|
2009-02-21 08:00:51 +00:00 |
Daniel Marjamäki
|
ed86d924df
|
buffer overrun: dangerous usage of strncpy+strncat
|
2009-02-20 21:16:07 +00:00 |
Daniel Marjamäki
|
15e86db3ed
|
buffer overrun: Added checking of strncat
|
2009-02-20 21:00:59 +00:00 |
Daniel Marjamäki
|
0e1ef1f45f
|
added todo testcases for strncat checking
|
2009-02-20 20:00:49 +00:00 |
Daniel Marjamäki
|
7f94091b9f
|
g++: fixed compiler errors
|
2009-02-20 19:53:14 +00:00 |
Reijo Tomperi
|
61587c42ae
|
Fix ticket #113 (Add support for multi core CPUs and -w parameter to specifify amount of worker threads)
|
2009-02-20 19:40:42 +00:00 |
Daniel Marjamäki
|
439b8c4051
|
simplify known variables: variable used as array index
|
2009-02-20 17:27:57 +00:00 |
Daniel Marjamäki
|
385be6d0d9
|
memory leak: Added command line flag '--vcl' that is used to suppress error messages for VCL code
|
2009-02-20 06:28:18 +00:00 |
Reijo Tomperi
|
4fc774deda
|
Multicore cpu support for Linux (currently disabled and compiling produces warnings)
"no errors" output removed.
|
2009-02-19 22:21:18 +00:00 |
Daniel Marjamäki
|
efeaac736d
|
security: added simple gui checking
|
2009-02-19 17:57:27 +00:00 |
Daniel Marjamäki
|
4e1f19a366
|
input validation: added checking
|
2009-02-19 08:03:14 +00:00 |
Daniel Marjamäki
|
a844fa017e
|
fixed failed tests
|
2009-02-18 20:04:34 +00:00 |
Daniel Marjamäki
|
19c8473294
|
reverted [1254] it was made by mistake
|
2009-02-18 20:01:44 +00:00 |
Daniel Marjamäki
|
dc2ecb8980
|
stl push_back: Added check (invalid iterator)
|
2009-02-18 19:58:50 +00:00 |
Daniel Marjamäki
|
2b04c94b95
|
stl push_back: Added check (invalid iterator)
|
2009-02-18 19:57:43 +00:00 |
Daniel Marjamäki
|
f30d7db1e8
|
activated the Tokenizer::elseif functionality
|
2009-02-17 20:03:08 +00:00 |
Daniel Marjamäki
|
1043b76d31
|
Added Tokenizer::elseif for breaking up 'else if' into 'else { if ..'
|
2009-02-17 19:18:26 +00:00 |
Daniel Marjamäki
|
5b24319cf1
|
varid: Added a todo test case for giving function parameters varid
|
2009-02-16 20:46:24 +00:00 |
Daniel Marjamäki
|
4aef89c311
|
tokenizer: fixed issues related to variable ids
* use setVarId in simplifyTokenList
* make sure function parameters and variables declared in for example for loops get variable ids
|
2009-02-16 17:41:33 +00:00 |
Reijo Tomperi
|
ba28c07f9d
|
astyle fix
|
2009-02-15 18:47:24 +00:00 |
Daniel Marjamäki
|
b1982b2041
|
tokenizer: improved the simplification of '*(var+num)' => 'var[num]'
|
2009-02-15 14:02:57 +00:00 |