Robert Reif
|
545aa9e55b
|
start adding Windows wide character support
|
2011-09-24 16:02:56 -04:00 |
Robert Reif
|
f97424b242
|
start adding Windows ASCII TCHAR conversion support
|
2011-09-24 14:51:03 -04:00 |
seb777
|
424f349b88
|
fix #3121 ([False Positive] Incorrect obsoleted functions)
|
2011-09-24 10:54:58 +02:00 |
Robert Reif
|
a685f1f5b7
|
add operator support to ertra qualification check
|
2011-09-23 19:45:19 -04:00 |
Robert Reif
|
ac070b90f2
|
fix for loop false positives when zero length arrays present
|
2011-09-22 21:23:40 -04:00 |
Robert Reif
|
97d4277854
|
add Microsoft memory function conversions to standard cstring functions
|
2011-09-22 19:59:56 -04:00 |
Robert Reif
|
1dc7c0edf9
|
fix #3127 ([False positive] _tmain function i VS 2010 project)
|
2011-09-21 20:16:20 -04:00 |
Robert Reif
|
4d1dda10fa
|
add some more windows type conversions
|
2011-09-20 20:17:02 -04:00 |
Daniel Marjamäki
|
1a7511ed48
|
Fixed #3106 (False positive: Uninitialized variable check has inconsistent behavior with ternary operator)
|
2011-09-20 21:00:05 +02:00 |
Johan Samuelson
|
889c407f58
|
Fixed #3118 (Tokenizer: str*cmp() in hot spot code)
|
2011-09-20 19:03:19 +02:00 |
Robert Reif
|
af5272dfb0
|
only simplify Microsoft MFC code when Windows platform is selected
|
2011-09-20 07:20:37 -04:00 |
Robert Reif
|
e234e8cc5b
|
add some common windows pointer type conversions to standard types
|
2011-09-19 23:14:58 -04:00 |
Robert Reif
|
b349d36c50
|
fix #3124 (FP: Buffer access out-of-bounds when memset two dimension array (a[5][6]))
|
2011-09-19 20:32:50 -04:00 |
Robert Reif
|
2fe182b833
|
set windows platform type to type executable was compiled on
|
2011-09-18 13:19:00 -04:00 |
Robert Reif
|
be660003ec
|
start adding conversions from common Windows types to standard types
|
2011-09-18 13:06:54 -04:00 |
Robert Reif
|
958a53eaa8
|
run astyle
|
2011-09-18 12:58:28 -04:00 |
Daniel Marjamäki
|
96a04eee9c
|
Merge pull request #35 from simartin/ticket_3059
Ticket 3059: Report the correct line number in unused functions warnings
|
2011-09-18 08:15:28 -07:00 |
Robert Reif
|
66eb37c135
|
convert size_t to standard type
|
2011-09-18 10:31:31 -04:00 |
Robert Reif
|
3e35ea0972
|
fix sizeof long double for unix64 for #2888 (Allow defining sizes of base types)
|
2011-09-18 08:40:08 -04:00 |
Simon Martin
|
b493e4bf7b
|
Ticket 3059: Report the correct line number in unused functions warnings
|
2011-09-18 07:13:39 +02:00 |
Robert Reif
|
b5d22fda0d
|
fix #2888 (Allow defining sizes of base types)
|
2011-09-17 19:40:52 -04:00 |
Robert Reif
|
1717bda382
|
fix wrong information about constness of function
|
2011-09-16 18:07:25 -04:00 |
Robert Reif
|
cce4303f28
|
fix a problem with Qt slots immediately followed by signals
|
2011-09-16 16:59:43 -04:00 |
Robert Reif
|
2670525b4f
|
better fix for #3114 (infinite recursion when operator= is overloaded)
|
2011-09-14 19:58:11 -04:00 |
Robert Reif
|
2bc7da2c64
|
quick fix for #3114 (infinite recursion when operator= is overloaded)
|
2011-09-14 19:04:06 -04:00 |
Edoardo Prezioso
|
1ff7410f4f
|
Fixed #3075 (False positive => Improve tokenizer: remove redundant code after a 'return' state)
|
2011-09-13 07:55:47 +02:00 |
Robert Reif
|
735ff11469
|
fix #3110 (false positve: style) Boolean result is used in bitwise operation. Clarify expression with parentheses)
|
2011-09-12 07:32:55 -04:00 |
Robert Reif
|
3f517b5f23
|
partial fix for #2960 (false negative: buffer access out of bounds)
|
2011-09-11 21:51:05 -04:00 |
Robert Reif
|
40009d091d
|
add multi-dimension array support to second checkScope and use it for member arrays
|
2011-09-11 20:42:57 -04:00 |
Robert Reif
|
0d6592dd2e
|
use correct checkScope function in CheckBufferOverrun for single dimension member arrays
|
2011-09-11 19:21:13 -04:00 |
Robert Reif
|
19928e26d1
|
refactor to unify functionally identical code in CheckBufferOverrun::checkScope()
|
2011-09-11 14:00:53 -04:00 |
Robert Reif
|
e18fe56d56
|
refactor CheckBufferOverrun to only use multi-dimension array error messages and remove single dimension array message
|
2011-09-11 09:54:26 -04:00 |
Daniel Marjamäki
|
55230baf78
|
Fixed #3086 (false positive: Boolean result is used in bitwise operation.)
|
2011-09-11 09:46:01 +02:00 |
Daniel Marjamäki
|
9a97fbe022
|
Fixed #3104 (unread despite modified and used in IF statement)
|
2011-09-11 08:19:35 +02:00 |
Daniel Marjamäki
|
d93354a974
|
unused var: use 'else if' instead of 'if'
|
2011-09-11 08:18:32 +02:00 |
seb777
|
8ed0e3a239
|
Revert "The case statement requires constant-expression (C, C++, C# and Java."
This reverts commit 5879fe419d .
|
2011-09-11 00:44:40 +02:00 |
seb777
|
5879fe419d
|
The case statement requires constant-expression (C, C++, C# and Java.
Needless to simplify the calculation of a piece of code that can not compile.
|
2011-09-10 17:28:32 +02:00 |
Robert Reif
|
a9b4e21f60
|
refactor CheckBufferOverrun::checkScope to take an ArrayInfo parameter
|
2011-09-10 11:21:52 -04:00 |
Robert Reif
|
794fdd056b
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2011-09-10 10:14:49 -04:00 |
Robert Reif
|
547a79d4fe
|
calculate array size for variable length structures with array at end in CheckBufferOverrun::checkStructVariable() when possible
|
2011-09-10 10:14:32 -04:00 |
Philipp Kloke
|
2f62d180fe
|
Fixed #1740 (Undefined Behavior: Divide by zero)
|
2011-09-10 16:12:53 +02:00 |
seb777
|
08efad13b2
|
fix #3093 (Simplify code (math expression) with keywords 'return' and 'case')
|
2011-09-10 13:28:54 +02:00 |
Robert Reif
|
b0eab2587d
|
better detection of variable sized structure in CheckBufferOverrun::checkStructVariable()
|
2011-09-09 08:37:24 -04:00 |
Robert Reif
|
27bfa2a346
|
fix some CheckBufferOverrun::checkStructVariable() flase negatives for possible variable length structs
|
2011-09-09 07:46:06 -04:00 |
Robert Reif
|
4a71693e0c
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2011-09-09 07:16:55 -04:00 |
Robert Reif
|
16924c7c7a
|
fix #3094 (Buffer access out-of-bounds in struct variable)
|
2011-09-09 07:16:39 -04:00 |
Daniel Marjamäki
|
84f190abf7
|
Fixed #3096 (false negative: memory leak not found when passing string to strtok)
|
2011-09-09 07:25:47 +02:00 |
Robert Reif
|
812a17f294
|
fix one of the TODO testcases added for #3094 (Buffer access out-of-bounds in struct variable)
|
2011-09-08 22:44:25 -04:00 |
Daniel Marjamäki
|
d10822ea11
|
fixed a few doxygen warnings
|
2011-09-08 18:28:05 +02:00 |
Daniel Marjamäki
|
184e0550b8
|
updated comments
|
2011-09-08 18:23:25 +02:00 |