Daniel Marjamäki
|
5e93281310
|
Tokenizer: Added TODO test cases for splitting up variable declarations
|
2010-11-13 15:45:33 +01:00 |
Daniel Marjamäki
|
3d195f2326
|
Auto variables: improved the check for 'return retval.c_str()'. Ticket: #2191
|
2010-11-13 15:38:21 +01:00 |
Daniel Marjamäki
|
47d37e7a05
|
Uninitialized variables: Fixed false negatives when calling unknown function with uninitialized variable by value: 'f(a+1)'
|
2010-11-13 15:10:17 +01:00 |
Daniel Marjamäki
|
6836198a5c
|
system headers: merged the systemheaders branch into master. it works pretty well. Ticket: #1937
|
2010-11-13 13:06:58 +01:00 |
Daniel Marjamäki
|
85cafb2035
|
Visual Studio 2008: Added lib/symboldatabase files
|
2010-11-13 12:28:49 +01:00 |
Daniel Marjamäki
|
bf15236b9e
|
Fixed #2196 (False positive: Invalid data is allocated but not initialized (initialization in loop))
|
2010-11-13 10:33:35 +01:00 |
Daniel Marjamäki
|
a06a1a6574
|
Symbol database: Added files
|
2010-11-13 08:08:45 +01:00 |
Daniel Marjamäki
|
3303c40879
|
uninitialized variables: fixed problem when parsing loop bodies
|
2010-11-13 08:03:59 +01:00 |
Daniel Marjamäki
|
42fcebf3b9
|
Makefile: updated the Makefile. addon to my commit yesterday where I added new leak checking
|
2010-11-13 07:40:32 +01:00 |
Robert Reif
|
894586f4dd
|
Fixed #2198 (SymbolDatabase: separate SymbolDatabase from CheckClass)
|
2010-11-13 07:31:56 +01:00 |
Daniel Marjamäki
|
f7ca4f09ef
|
Fixed #2151 (false negative: memory leak when calling subfunction that doesn't deallocate the memory)
|
2010-11-12 21:09:34 +01:00 |
Daniel Marjamäki
|
a8d7ac0f0d
|
Fixed #2193 (false negative: nullpointer dereference)
|
2010-11-12 19:42:02 +01:00 |
Robert Reif
|
0fffa1f651
|
This patch fixes a bug I introduced in the previous patch. It also speeds up nested class parsing by skipping the entire class implementation using { link to jump to } rather than parsing for }. Ticket: #2172
|
2010-11-12 19:29:20 +01:00 |
Daniel Marjamäki
|
9d7a623985
|
Uninitialized variables: Passing uninitialized array as parameter to function. Ticket: #2188
|
2010-11-12 17:38:25 +01:00 |
Daniel Marjamäki
|
e523d5a3a3
|
Fixed #914 (improve check: usage of uninitialized variable)
|
2010-11-12 17:14:37 +01:00 |
Daniel Marjamäki
|
1204043556
|
Fixed #2148 (uninitialized variable: false negative, function parameter that is passed by value)
|
2010-11-12 17:06:14 +01:00 |
Daniel Marjamäki
|
6b489230e8
|
Fixed #2188 (Does not detect initialization)
|
2010-11-12 16:11:44 +01:00 |
Daniel Marjamäki
|
a605bdc8a2
|
Fixed #2195 (unit tests failing)
|
2010-11-12 15:43:16 +01:00 |
Kimmo Varis
|
3226281c59
|
GUI: Add new "Summary" column to results.
Summary column contains the short message core produces.
|
2010-11-11 23:15:06 +02:00 |
Kimmo Varis
|
999e446777
|
GUI: Add new short summary to error structures.
Also rename 'msg' in structures to 'message' for consistency.
|
2010-11-11 22:51:00 +02:00 |
Kimmo Varis
|
53e9938afe
|
GUI: Add path separator in ProjectFiles dialog.
Add path separator to end of the paths user added via Browse-dialog.
|
2010-11-11 22:08:10 +02:00 |
Kimmo Varis
|
1e503cbad5
|
GUI: Show native paths in ProjectFiles -dialog.
When adding paths to the dialog convert them to native separators.
When saving the paths convert them to internal separators.
|
2010-11-11 22:08:10 +02:00 |
Kimmo Varis
|
abf0a2ea52
|
GUI: Add buttons to add new paths to ProjectFile dialog.
|
2010-11-11 22:08:10 +02:00 |
Daniel Marjamäki
|
ba7a3b376e
|
Fixed #2167 (Drop linefeeds from error messages)
|
2010-11-11 19:54:43 +01:00 |
Daniel Marjamäki
|
0328d26fcb
|
Fixed #2192 (false positive: resource leak)
|
2010-11-11 17:40:20 +01:00 |
Robert Reif
|
07f4067fa8
|
typedef: better handling of __typeof__
|
2010-11-11 17:02:04 +01:00 |
Robert Reif
|
a09c221014
|
typedefs: handle __typeof__
|
2010-11-11 06:40:49 +01:00 |
Daniel Marjamäki
|
624ce205b9
|
Fixed #2185 (False negative: when constant is undefined a 'dangerous usage of strncpy' is not found)
|
2010-11-10 20:20:05 +01:00 |
Daniel Marjamäki
|
41bbe5d0cf
|
Fixed #2182 (Context sensitive false positive)
|
2010-11-10 18:24:40 +01:00 |
Daniel Marjamäki
|
28c53cabea
|
Fixed #2184 (False Positive: memory leak)
|
2010-11-10 17:46:40 +01:00 |
Robert Reif
|
4ddf6f3b44
|
Symbol database: code cleanups
|
2010-11-10 16:52:52 +01:00 |
Daniel Marjamäki
|
2102b9598e
|
FileLister: fixed compiler errors in win32. accept all files given by user.
|
2010-11-09 19:32:11 +01:00 |
Daniel Marjamäki
|
14bf9fbbdb
|
Fixed #2181 (How can I select the extension of the files to check?)
|
2010-11-09 19:20:31 +01:00 |
Daniel Marjamäki
|
81cac166d6
|
FileLister: minor cleanup
|
2010-11-09 19:11:43 +01:00 |
Daniel Marjamäki
|
508c171945
|
Symbol database: add support for class inline functions with classes
|
2010-11-09 17:06:07 +01:00 |
Robert Reif
|
36b03bdd3e
|
Fixed #2179 (Segmentation fault in assignment operator)
|
2010-11-09 06:58:19 +01:00 |
Daniel Marjamäki
|
c2bf3647a4
|
Fixed #2178 (segmentation fault of cppcheck)
|
2010-11-08 19:47:19 +01:00 |
Daniel Marjamäki
|
6a4f70e496
|
Fixed #2169 (Inline suppression does not work unless filename is given)
|
2010-11-08 18:53:48 +01:00 |
Daniel Marjamäki
|
21ec772e31
|
Tokenizer: Only show 'failed to instantiate template' debug messages if the --debug-warnings has been given
|
2010-11-08 18:01:28 +01:00 |
Daniel Marjamäki
|
27b7638901
|
Visual Studio: Fixed compiler warnings about assignment in condition
|
2010-11-08 17:29:08 +01:00 |
Robert Reif
|
23b50a3d81
|
Symbol database: delay finding class variables until after all classes have been found.
|
2010-11-08 17:12:25 +01:00 |
Daniel Marjamäki
|
586f4992d8
|
Tokenizer::simplifyKnownVariables: Fixed TODO test cases in TestBufferOverrun
|
2010-11-07 17:42:32 +01:00 |
Daniel Marjamäki
|
47e9fcb5a8
|
Revert "Tokenizer: More specific bailout in simplifyKnownVariables for loop variable"
This reverts commit 7e9bb62dff .
|
2010-11-07 17:40:27 +01:00 |
Daniel Marjamäki
|
7e9bb62dff
|
Tokenizer: More specific bailout in simplifyKnownVariables for loop variable
|
2010-11-07 17:20:03 +01:00 |
Daniel Marjamäki
|
cd94fa89e0
|
Tokenizer: More specific bail outs in simplifyKnownVariables
|
2010-11-07 11:07:56 +01:00 |
Daniel Marjamäki
|
b881718d9f
|
Tokenizer: better bailout in simplifyKnownVariables when there is loop
|
2010-11-07 10:42:08 +01:00 |
Daniel Marjamäki
|
fb068a4e71
|
Fixed #2170 (false positive: After a strncpy() the buffer should be zero-terminated)
|
2010-11-07 09:37:45 +01:00 |
Daniel Marjamäki
|
bd2b1b2914
|
Tokenizer: better handling of const variables
|
2010-11-07 08:43:30 +01:00 |
Daniel Marjamäki
|
25391cb562
|
Tokenizer: Bailout simplifyKnownVariables for loop variables
|
2010-11-07 08:10:09 +01:00 |
Robert Reif
|
662cd27f87
|
Symbol database: fixed problem
|
2010-11-06 20:27:12 +01:00 |