Reijo Tomperi
|
50d9a085da
|
Added temporary bailout code, cppcheck crashes when string checking leaks out. This needs a better fix, this is just to
see the problem more easily.
|
2009-01-18 22:46:48 +00:00 |
Nicolas Le Cam
|
f6d121443e
|
unreachableCode: Moved warning of a break statement following a return in --style; Added a test case; Minor optimization.
|
2009-01-18 21:19:02 +00:00 |
Leandro Penz
|
e930525aa4
|
functionVariableUsage: no longer SIGSEGVs on unfinished struct. Fixes Ticket #31.
|
2009-01-18 19:45:43 +00:00 |
Daniel Marjamäki
|
f409861492
|
strPlusChar: Fixed false positives
|
2009-01-18 17:42:41 +00:00 |
Daniel Marjamäki
|
b9b250f4cc
|
unused var: fixed false positives when using shift operator
|
2009-01-17 14:32:02 +00:00 |
Daniel Marjamäki
|
121c0ee58f
|
unused variable: reading the value of variable in a for loop.. "for(;a;)" see ticket #18
|
2009-01-17 11:12:15 +00:00 |
Daniel Marjamäki
|
218c107b6f
|
code style
|
2009-01-15 17:12:55 +00:00 |
Daniel Marjamäki
|
66e93b24e2
|
str plus char: added simple variable handling
|
2009-01-15 17:12:33 +00:00 |
Daniel Marjamäki
|
ad9aba6e1b
|
code style fixing
|
2009-01-15 17:00:15 +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 |
Leandro Penz
|
f33153e086
|
unreachableCode: avoid SIGSEGV when there is no "}" after return.
|
2009-01-14 01:29:33 +00:00 |
Leandro Penz
|
1a14cd527c
|
functionVariableUsage: support for nested struct/union declaration.
|
2009-01-14 00:45:44 +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
|
da46e4bd96
|
struct member usage: bail out the check if the struct contain any functions
|
2009-01-11 14:39:52 +00:00 |
Daniel Marjamäki
|
1a4cfc6c4f
|
unused struct member: fixed false positive for member "const int a;"
|
2009-01-10 14:39:20 +00:00 |
Daniel Marjamäki
|
8c4260519c
|
sprintf: fixed bug "false positive when variable is used again after snprintf"
|
2009-01-10 14:27:31 +00:00 |
Daniel Marjamäki
|
985b8fa05f
|
sprintf: fixed false positives with "sprintf(buf, "%i", sizeof(buf));
|
2009-01-10 11:19:17 +00:00 |
Daniel Marjamäki
|
7851b1042f
|
errormessage: added error message ErrorMessage::dangerousUsageStrtol
|
2009-01-09 19:15:54 +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
|
24530ebd60
|
sprintf: check for dangerous usage with sprintf|snprintf with
overlapping data
|
2009-01-08 06:24:08 +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 |