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
|
2b04c94b95
|
stl push_back: Added check (invalid iterator)
|
2009-02-18 19:57:43 +00:00 |
Reijo Tomperi
|
d1e9efc66a
|
Fix ticket #104 (Change (error) Uninitialized member variable -> (style) Member variable not initialized in the constructor)
|
2009-02-14 08:52:03 +00:00 |
Daniel Marjamäki
|
6282b5dee8
|
debug output: commented out the code for writing token listing
|
2009-02-14 08:49:20 +00:00 |
Daniel Marjamäki
|
17fbab018c
|
simplify known value: insert known variable value into calculations
|
2009-02-14 06:11:37 +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 |
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
|
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 |
Reijo Tomperi
|
fb3c81dcd9
|
Fix ticket #80 (refactoring: classes ErrorMessage and ErrorLogger), note that errormessage and errorlogger were merged, errormessage.* is no more.
|
2009-02-08 21:20:35 +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
|
f14c2d6155
|
Fixed partially ticket #81 (getting rid of compiler warnings)
|
2009-02-07 15:37:01 +00:00 |
Daniel Marjamäki
|
03acc12977
|
mismathing allocation and deallocation: moved to error checks
|
2009-02-06 18:24:01 +00:00 |
Daniel Marjamäki
|
10abbda6a7
|
memleak: corrected the wrong line number (#77)
|
2009-02-05 20:17:01 +00:00 |
Daniel Marjamäki
|
385c28a02e
|
xml: generating better xml output
|
2009-02-01 18:00:47 +00:00 |
Daniel Marjamäki
|
566e1102bc
|
changed version to 1.28
|
2009-02-01 08:17:45 +00:00 |
Leandro Penz
|
7adcd0c355
|
dangerousfunctions: added check for mktemp (ticket #69), and refatored gets and scanf check from bufferoverrun into dangerousfunctions.
|
2009-01-31 18:24:48 +00:00 |
Daniel Marjamäki
|
81174a4817
|
mismatching allocation / deallocation: moved to --all
|
2009-01-31 17:54:31 +00:00 |
Daniel Marjamäki
|
dd9cd9ce82
|
unused functions: Created command line parameter --unused-functions
|
2009-01-28 17:26:19 +00:00 |
Daniel Marjamäki
|
0ca38cc9fe
|
xml results: added a command line switch for generating simple results.xml file
|
2009-01-28 17:12:43 +00:00 |
Daniel Marjamäki
|
3d61334a8c
|
errmsg: Moved 'function parameter parname is passed by value' to the style checks
|
2009-01-26 18:32:00 +00:00 |
Reijo Tomperi
|
17eee5e4d7
|
Fix ticket #58 (If given path is empty it is assumed that it wasn't given)
|
2009-01-25 11:05:51 +00:00 |
Kimmo Varis
|
a0886e693e
|
Fix two overly long lines in command line help.
|
2009-01-24 18:24:04 +00:00 |
Daniel Marjamäki
|
fa070ac73c
|
cppcheck: printing preprocessed file to 'temp.txt'
|
2009-01-24 13:53:53 +00:00 |
Reijo Tomperi
|
d89f804d91
|
Fixed ticket #54 (Make cppcheck print status e.g. 4/20 files checked)
|
2009-01-24 08:06:40 +00:00 |
Daniel Marjamäki
|
9c94e66382
|
better fix to get rid of compiler warning is to comment the function parameter
|
2009-01-23 18:37:28 +00:00 |
Reijo Tomperi
|
6a523f2730
|
Fixed Ticket #52, Cppcheck hangs when checking VLC's source code
|
2009-01-23 18:27:04 +00:00 |
Daniel Marjamäki
|
de2675b46f
|
cppcheck: The '&&' should be '||' when checking if a check should be called
|
2009-01-22 21:20:40 +00:00 |
Reijo Tomperi
|
5de5eab9fe
|
Fix Ticket #46, invalid commandline. (Also added -h and --help parameters)
|
2009-01-22 20:26:04 +00:00 |
Reijo Tomperi
|
e897637c7a
|
Fix Ticket #30, Need a way to specify include file folders (-I parameter was added)
|
2009-01-22 19:59:50 +00:00 |
Nicolas Le Cam
|
42c608b6f0
|
Remove checks that are already covered well by most compilers (Unreachable Code; Assignment in Condition; Unused Variable).
|
2009-01-21 21:31:47 +00:00 |
Reijo Tomperi
|
53d02c0804
|
Fix Ticket #43, preprocessor: include file doesn't work so good in subfolders (note, because of other issues, checking will be very slow now
that this is fixed)
|
2009-01-21 21:03:46 +00:00 |
Reijo Tomperi
|
176dd41306
|
Fixed Ticket #40, Check copyright texts in files, now that we have new developers.
|
2009-01-21 20:04:20 +00:00 |
Daniel Marjamäki
|
5fa9fce8d4
|
uninitialized variables: run always
|
2009-01-21 19:11:27 +00:00 |
Nicolas Le Cam
|
2b2152919f
|
Update errormessage.h and code using it.
|
2009-01-19 19:50:59 +00:00 |
Reijo Tomperi
|
adc116d0ef
|
Changed output of the program to print out the file name before
preprocessor.
|
2009-01-19 19:00:36 +00:00 |
Reijo Tomperi
|
afe19dd0a2
|
Added .c++ to help texts also.
|
2009-01-16 22:42:08 +00:00 |
Daniel Marjamäki
|
8bbd4b9401
|
str plus char: Added check and error message for str + ch
|
2009-01-15 16:57:51 +00:00 |
Daniel Marjamäki
|
03cfe18c9b
|
errmsg: Added 'condition is always true/false'
|
2009-01-14 19:43:28 +00:00 |
Daniel Marjamäki
|
9e91f75386
|
cppcheck: added function call to the variable scope check.
|
2009-01-14 07:43:46 +00:00 |
Daniel Marjamäki
|
c8a5bd16a1
|
errmsg: Added 'assignment in if-condition'
|
2009-01-13 17:56:45 +00:00 |
Daniel Marjamäki
|
aa592387e6
|
errmsg: refactoring
|
2009-01-13 06:25:36 +00:00 |
Daniel Marjamäki
|
cc65242626
|
errmsg: added message about bad usage of char variable
|
2009-01-12 18:52:43 +00:00 |
Daniel Marjamäki
|
fdf5b215f9
|
errmsg: Added message for 'incomplete statement'
|
2009-01-12 17:46:24 +00:00 |
Daniel Marjamäki
|
a5eb8894d4
|
errmsg: Added messages for 'variable is not used / not read / not assigned'
|
2009-01-12 17:40:20 +00:00 |
Daniel Marjamäki
|
13e2396345
|
errmsg: Added message 'function parameter is passed by value'
|
2009-01-12 17:32:53 +00:00 |
Daniel Marjamäki
|
df689b454c
|
errmsg: added message 'unreachable code below return'
|
2009-01-12 17:28:04 +00:00 |
Daniel Marjamäki
|
a0ef840138
|
errmsg: Added 'unused struct member'
|
2009-01-12 17:21:25 +00:00 |
Daniel Marjamäki
|
980b10bfc9
|
errmsg: Added 'unsigned division'
|
2009-01-12 17:12:14 +00:00 |
Daniel Marjamäki
|
17d4c2b980
|
errmsg: Added message 'Overlapping data buffer'
|
2009-01-12 06:52:50 +00:00 |
Daniel Marjamäki
|
ae861852e2
|
errmsg: Added "found redundant if - 'if (condition);'
|
2009-01-12 06:44:47 +00:00 |
Daniel Marjamäki
|
3d8791eebd
|
errmsg: added "unused function"
|
2009-01-11 06:44:32 +00:00 |
Daniel Marjamäki
|
1e6b54b2c5
|
errmsg: added "mismatching allocation and deallocation"
|
2009-01-10 19:30:41 +00:00 |
Daniel Marjamäki
|
327d09502a
|
cppcheck: Minor bug fix
|
2009-01-10 19:24:23 +00:00 |
Daniel Marjamäki
|
47a7c915fa
|
errmsg: Added error messages for "Array index out of bounds" and "Buffer overrun"
|
2009-01-10 19:23:21 +00:00 |
Daniel Marjamäki
|
897c02e3ed
|
errmsg: added error message about virtual destructors
|
2009-01-10 18:03:56 +00:00 |
Daniel Marjamäki
|
6acb123f1d
|
errmsg: Added "operator= should return something
|
2009-01-10 17:57:31 +00:00 |
Daniel Marjamäki
|
1fc5f5485f
|
errmsg: Added "Using 'memset' on class"
|
2009-01-10 17:51:03 +00:00 |
Daniel Marjamäki
|
7b10b0ff4d
|
errmsg: Added "Unused private function ..."
|
2009-01-10 17:35:41 +00:00 |
Daniel Marjamäki
|
dc6317878e
|
errmsg: Added "uninitialized member variable"
|
2009-01-10 17:11:47 +00:00 |
Daniel Marjamäki
|
0c3c00daec
|
errmsg: Added errormessage for 'the class 'classname' doesn't have a constructor'
|
2009-01-10 13:08:44 +00:00 |
Daniel Marjamäki
|
7851b1042f
|
errormessage: added error message ErrorMessage::dangerousUsageStrtol
|
2009-01-09 19:15:54 +00:00 |
Reijo Tomperi
|
46f4701c26
|
Main returns now EXIT_SUCCESS or EXIT_FAILURE instead of 0. Feature request fixed: [ 2489787 ] Return value of cppcheck is always 0
|
2009-01-08 21:30:25 +00:00 |
Reijo Tomperi
|
42b661630b
|
astyle changes, missed from previous commits
|
2009-01-08 21:08:14 +00:00 |
Daniel Marjamäki
|
5d0f8f0cfa
|
errormessage: Added a few more messages for checkother.cpp
|
2009-01-08 20:56:51 +00:00 |
Daniel Marjamäki
|
2a2adb037a
|
errormessage: Added the new errormessage handling to cppcheck
|
2009-01-08 17:32:33 +00:00 |
Reijo Tomperi
|
e435a1f1d6
|
Refactoring: Added src/ and test/ folders. Moved source files to those folders, updated makefile and codeblocks project file.
|
2009-01-06 14:18:36 +00:00 |