Daniel Marjamäki
|
e72a38aaa8
|
mathlib: Added licence text
|
2009-04-09 16:17:59 +02:00 |
Daniel Marjamäki
|
6fb18b3ddc
|
simplify calculations: Don't simplify division with 0
|
2009-04-06 19:43:54 +02:00 |
Daniel Marjamäki
|
638d18cfc8
|
tokenize: use mathlib when simplifying calculations (ticket: 236)
|
2009-04-06 19:23:30 +02:00 |
Daniel Marjamäki
|
97f5380a2c
|
added testing for mathlib
|
2009-04-06 19:08:13 +02:00 |
Daniel Marjamäki
|
f0d870c52d
|
Added math library that was created by hoangtuansu
|
2009-04-06 18:27:14 +02:00 |
Reijo Tomperi
|
51d97fa831
|
Fix ticket #212 (Tokenizer: Handle L "text")
http://apps.sourceforge.net/trac/cppcheck/ticket/212
|
2009-04-05 22:21:38 +03:00 |
Reijo Tomperi
|
051f2929b5
|
Fix ticket #244 (Headers from included file are searched from wrong path)
http://apps.sourceforge.net/trac/cppcheck/ticket/244
|
2009-04-05 21:14:02 +03:00 |
Reijo Tomperi
|
11858129d0
|
Fix ticket #243 (boundary checking)
http://apps.sourceforge.net/trac/cppcheck/ticket/243
|
2009-04-04 21:05:48 +03:00 |
Reijo Tomperi
|
7a11f0e61f
|
Fix ticket #242 (Preprocessor: Bail out on failure instead of terminating the program)
http://apps.sourceforge.net/trac/cppcheck/ticket/242
|
2009-04-03 22:09:12 +03:00 |
Reijo Tomperi
|
3b0643a000
|
Fix some potential null pointer crashes
|
2009-04-03 14:55:36 +03:00 |
Daniel Marjamäki
|
ebee7928e2
|
operator=: changed error message when variable is not assigned
|
2009-03-31 19:00:56 +02:00 |
Reijo Tomperi
|
14bdf1ee62
|
Fix ticket #239 (missing function implementation in namespace causes crash)
http://apps.sourceforge.net/trac/cppcheck/ticket/239
|
2009-03-31 00:59:33 +03:00 |
Daniel Marjamäki
|
263c5b9e5a
|
division with zero => division by zero
|
2009-03-29 20:27:10 +02:00 |
Daniel Marjamäki
|
d7aee72fcd
|
zero division: it's an error
|
2009-03-29 18:47:05 +02:00 |
Daniel Marjamäki
|
e45bb20f92
|
tokenizer: don't replace sizeof when size can't be determined (#233)
|
2009-03-29 16:36:34 +02:00 |
Reijo Tomperi
|
bd66f12e60
|
astyle fix
|
2009-03-28 23:11:03 +02:00 |
Gianluca Scacco
|
c88a362893
|
Fixed ticket #228: false positive with usage of an auto-variable
|
2009-03-28 21:47:38 +01:00 |
Daniel Marjamäki
|
6f7f8c4b4f
|
Tokenizer: Don't treat typedefs as variable declarations (#234)
|
2009-03-28 21:07:33 +01:00 |
Daniel Marjamäki
|
447c830e8f
|
performance enhancement (patch submitted by davidmiller in ticket 231)
|
2009-03-28 20:33:55 +01:00 |
Daniel Marjamäki
|
4059a2ad05
|
added check for zero division. The code was written by Nguyen Duong Tuan
|
2009-03-28 07:49:47 +01:00 |
Daniel Marjamäki
|
c0b608059a
|
possible null pointer dereference after a while-loop
|
2009-03-27 17:19:34 +01:00 |
Daniel Marjamäki
|
063f59c86c
|
moved checks back to style (where they used to be)
|
2009-03-27 15:55:14 +01:00 |
Daniel Marjamäki
|
4eeac1f364
|
tokenizer: fix segmentation fault if end of token list is reached
|
2009-03-27 15:12:49 +01:00 |
Daniel Marjamäki
|
c74da7bab9
|
variable id: give std::string variables an id
|
2009-03-25 18:10:03 +01:00 |
Daniel Marjamäki
|
8db1ac8c5d
|
astyle formatting
|
2009-03-25 07:25:33 +01:00 |
Daniel Marjamäki
|
b9f4a773b8
|
Buffer overrun: Added check to detect when size argument to memset is a char constant (#213)
|
2009-03-25 07:25:10 +01:00 |
Daniel Marjamäki
|
9f3634412e
|
simplify tokens (known variable values in conditions)
|
2009-03-25 07:10:17 +01:00 |
Gianluca Scacco
|
a66cf8b20f
|
Fixed Ticket #202: Return of the address of an auto-variable
|
2009-03-24 21:53:46 +01:00 |
Daniel Marjamäki
|
afcaa30b51
|
Fixed ticket 216 (False positive: variable scope)
|
2009-03-24 20:59:56 +01:00 |
Daniel Marjamäki
|
6c1af7e5e6
|
register CheckClass
|
2009-03-24 20:47:43 +01:00 |
Daniel Marjamäki
|
586037ed11
|
fixed testcase
|
2009-03-24 20:28:44 +01:00 |
Daniel Marjamäki
|
da0b571aee
|
Fixed ticket 197 (false positive: condition is always true/false)
|
2009-03-24 19:49:01 +01:00 |
Daniel Marjamäki
|
6580e0eb21
|
fixed snprintf false positive (#210)
|
2009-03-24 18:43:39 +01:00 |
Daniel Marjamäki
|
65070cc067
|
Simplify if conditions more.. simplifyIfAssign + simplifyIfNot
|
2009-03-24 18:23:21 +01:00 |
Daniel Marjamäki
|
44c952873e
|
Fixed ticket 205 (False positive: char variable used in bit operation)
|
2009-03-23 19:04:51 +01:00 |
Daniel Marjamäki
|
06776c6ac7
|
Fixed the testcase TestMemleak::realloc3
|
2009-03-23 18:34:59 +01:00 |
Daniel Marjamäki
|
7905cbc5e7
|
simplify tokens: move assignment out from condition (Ticket #201)
|
2009-03-23 18:20:56 +01:00 |
Daniel Marjamäki
|
a87419f59b
|
Fixed Ticket 199 (The error messages generated by 'unused functions' are wrong)
|
2009-03-22 18:57:53 +01:00 |
Daniel Marjamäki
|
09457194d9
|
astyle code formatting
|
2009-03-22 08:23:20 +01:00 |
Daniel Marjamäki
|
276c0a7b2f
|
Merge branch 'master' of git@github.com:danmar/cppcheck
|
2009-03-22 08:20:41 +01:00 |
Daniel Marjamäki
|
e017d5a079
|
refactoring - added 'getErrorMessages' to all check classes
|
2009-03-22 08:20:15 +01:00 |
Gianluca Scacco
|
abda874944
|
Refactoring of CheckAutoVariables
|
2009-03-22 08:01:48 +01:00 |
Daniel Marjamäki
|
0a71771c6a
|
improved the Tokenizer::setVarId to handle function parameters better
|
2009-03-21 21:58:39 +01:00 |
Daniel Marjamäki
|
6fc66d3e2c
|
refactoring error messages
|
2009-03-21 21:33:27 +01:00 |
Daniel Marjamäki
|
729b2c1706
|
Fixed 188 (Return of auto variable address), applied patched submitted by gscacco
|
2009-03-21 18:36:41 +01:00 |
Daniel Marjamäki
|
da06c12925
|
refactoring error messages
|
2009-03-21 18:31:28 +01:00 |
Daniel Marjamäki
|
468ed653e2
|
refactoring error messages
|
2009-03-21 17:58:13 +01:00 |
Daniel Marjamäki
|
aee39ae929
|
refactoring - handling the stlOutOfBounds error message the new way
|
2009-03-21 14:20:10 +01:00 |
Daniel Marjamäki
|
001cb0a7ec
|
refactoring - added a function getErrorMessages that will be used to get a list of error messages
|
2009-03-21 14:07:51 +01:00 |
Daniel Marjamäki
|
bcad5afb26
|
refactoring - fixed the unit tests
|
2009-03-21 14:02:58 +01:00 |