Daniel Marjamäki
|
76b907fe65
|
Fixed #5252 (Improve check: use Library to validate function arguments in invalidFunctionUsage)
|
2013-12-23 10:06:45 +01:00 |
Daniel Marjamäki
|
be03d4718a
|
Library: Added <valid> element that is used to define valid input values for functions
|
2013-12-22 19:10:14 +01:00 |
Daniel Marjamäki
|
85c62f98d7
|
Library: added <markup> element
|
2013-12-22 18:44:31 +01:00 |
Daniel Marjamäki
|
4769838b80
|
Library: Refactoring of markup code
|
2013-12-22 17:03:46 +01:00 |
Daniel Marjamäki
|
e2bc99aa24
|
Fixed #5154 (Tokenizer: wrong handling of msvc 'for each')
|
2013-12-17 06:34:27 +01:00 |
Daniel Marjamäki
|
762806499f
|
Fixed #5182 (Tokenizer::simplifyEnum: template function call as enum value)
|
2013-12-16 07:07:00 +01:00 |
Daniel Marjamäki
|
92305ed1f9
|
Fixed #5170 (False positive: warning (uninitMemberVar): Member variable 'ToDoubleArray::mfNaN' is not initialized in the constructor.)
|
2013-12-15 14:07:29 +01:00 |
Daniel Marjamäki
|
a948b4f4b0
|
Revert "Preprocessor:removeParentheses: fixed potential buffer access out of bounds, if find returns std::string::npos."
This reverts commit 4fbe15c866 .
As far as I see there can't be buffer access out of bounds. line always contain a '('.
|
2013-12-15 13:41:07 +01:00 |
Daniel Marjamäki
|
7938692b01
|
Fixed #5212 (Tokenizer::simplifyEnum bad simplification of enum value (1<<0)|(1<<1))
|
2013-12-15 07:47:04 +01:00 |
Daniel Marjamäki
|
f599e3184c
|
Fixed #5174 (Tokenizer: member function 'abort' returns)
|
2013-12-14 11:12:48 +01:00 |
Daniel Marjamäki
|
fdcb6634df
|
Fixed #5190 (FP Use const reference to avoid data copying)
|
2013-12-14 08:46:18 +01:00 |
Daniel Marjamäki
|
98b6fa2eaf
|
SymbolDatabase: Use std::size_t for Function::getArgument() argument since Function::argCount() returns a std::size_t
|
2013-12-14 08:35:46 +01:00 |
Daniel Marjamäki
|
57ecdd693c
|
Fixed #5149 (false positive: (error) Dereferencing 'memory' after it is deallocated / released)
|
2013-12-14 07:37:24 +01:00 |
Daniel Marjamäki
|
80dec5a976
|
Uninitialized variables: Fixed FP when taking address of uninitialized variable
|
2013-12-13 20:10:22 +01:00 |
Daniel Marjamäki
|
7fe923bfc5
|
Uninitialized variables: Fixed FP when the variable is initialized in do-while condition
|
2013-12-13 13:27:01 +01:00 |
Daniel Marjamäki
|
abdd29fce3
|
fixed FP when passing uninitialized buffer as 2nd argument to itoa
|
2013-12-13 07:51:33 +01:00 |
Daniel Marjamäki
|
3e6fbc6517
|
Fixed uninitialized variable FP after realloc if it fails. Related with ticket: #5240
|
2013-12-13 07:15:59 +01:00 |
Daniel Marjamäki
|
08cd0cd0f7
|
CheckOther::checkDuplicateExpression: Added TODO comment to readd checking for duplicate separated expressions
|
2013-12-13 06:40:35 +01:00 |
Daniel Marjamäki
|
d2493fa3cb
|
CheckMemoryLeak: Report OtherRes leaks as resource leak
|
2013-12-12 18:23:42 +01:00 |
Daniel Marjamäki
|
35189e80f2
|
Uninitialized variables: Fixed false positive for '*p=..'
|
2013-12-12 15:33:31 +01:00 |
Daniel Marjamäki
|
7321f92eff
|
CheckUninitVar: Fix Coverity warning about possible null pointer.
|
2013-12-12 12:36:49 +01:00 |
Daniel Marjamäki
|
1b86615a69
|
Uninitialized variables: Fixed false positive for 'p=malloc; if (p) {}'
|
2013-12-12 11:44:07 +01:00 |
orbitcowboy
|
4fbe15c866
|
Preprocessor:removeParentheses: fixed potential buffer access out of bounds, if find returns std::string::npos.
|
2013-12-09 01:40:51 -08:00 |
Daniel Marjamäki
|
4e7594748d
|
Uninitialized variables: Fixed false positive for 'p=malloc; if (python tools/daca2.py b)'
|
2013-12-12 09:17:41 +01:00 |
Daniel Marjamäki
|
9f62740e1d
|
Fixed #5236 (varid 0: vlc: src/misc/objects.c:126)
|
2013-12-12 08:44:00 +01:00 |
Daniel Marjamäki
|
a4f9cb78d5
|
Uninitialized variables: Fixed false positives when passing allocated pointer to function
|
2013-12-11 05:54:42 +01:00 |
Daniel Marjamäki
|
ef15e40de5
|
Uninitialized variables: error when passing uninit pointer to function
|
2013-12-10 18:36:16 +01:00 |
Daniel Marjamäki
|
83066edec0
|
Code cleanup
|
2013-12-10 06:29:06 +01:00 |
Daniel Marjamäki
|
5ba02d2fdd
|
AST: Always use AST
|
2013-12-09 18:06:19 +01:00 |
Daniel Marjamäki
|
be5c00d215
|
Uninitialized variables: check function arguments
|
2013-12-09 15:58:42 +01:00 |
Daniel Marjamäki
|
14a00046a3
|
Fixed #5207 (Struct uninitialized members useage is not giving error (malloc).)
|
2013-12-04 20:32:20 +01:00 |
Simon Martin
|
fe75686595
|
Ticket #5203: Don't crash when checking buffer overrun for invalid code.
|
2013-11-30 07:40:32 +01:00 |
Daniel Marjamäki
|
0c5282b1af
|
Fixed #5081 (False positive: (error) Uninitialized variable: f (handling of C-cast not correct))
|
2013-11-28 16:04:47 +01:00 |
Daniel Marjamäki
|
771dc2e1ad
|
AST: Improved handling when calling function through function pointer hidden within parantheses '(a.f)(1,2)'
|
2013-11-27 06:17:00 +01:00 |
Daniel Marjamäki
|
3b11ee9e0e
|
AST: Improved handling of brackets
|
2013-11-25 20:58:40 +01:00 |
Daniel Marjamäki
|
d8b25da73c
|
Fixed #4740 (False Positive: Uninitialised variable 'int *a[2][19]; int **b = a[0];')
|
2013-11-25 06:38:23 +01:00 |
Daniel Marjamäki
|
da540a3bb3
|
AST: Improved astIsFloat handling of expressions
|
2013-11-25 04:26:15 +01:00 |
Daniel Marjamäki
|
abdf2bb9d4
|
AST: fixed isSameExpressions handling of ({..})
|
2013-11-25 04:08:28 +01:00 |
Daniel Marjamäki
|
94e2bf7a11
|
AST: Handle ({..})
|
2013-11-25 04:07:44 +01:00 |
Robert Reif
|
43f00942dd
|
Fixed #5197 (SymbolDatabase: bad handling of unknown macros in function declaration)
|
2013-11-25 03:43:39 +01:00 |
Daniel Marjamäki
|
13cd0f41f6
|
AST: Fixed FP in isSameExpression when there are different casts
|
2013-11-24 15:17:08 +01:00 |
Alexander Mai
|
38b2f6b9b0
|
Fixed #5168 (segmentation fault (invalid code) in Tokenizer::simplifyVarDecl)
|
2013-11-24 11:07:11 +01:00 |
Daniel Marjamäki
|
8b77b7711c
|
Merge pull request #199 from simartin/ticket_5168
Ticket #5168: Don't crash when simplifying bit-fields for invalid code.
|
2013-11-24 01:55:02 -08:00 |
Simon Martin
|
9817da00ec
|
Ticket #5168: Don't crash when simplifying bit-fields for invalid code.
|
2013-11-23 20:33:03 +01:00 |
Daniel Marjamäki
|
4fe6951b4c
|
Library: Fixed loading of 'resource'
|
2013-11-23 18:16:40 +01:00 |
Daniel Marjamäki
|
7fc07989a7
|
UninitVar: Fixed false positive 'data is allocated but not initialized' when there is assignment
|
2013-11-23 10:24:29 +01:00 |
Robert Reif
|
0afdbc73da
|
Fixed #5195 (Crash below CheckIO::checkWrongPrintfScanfArguments())
|
2013-11-23 08:40:35 +01:00 |
Daniel Marjamäki
|
8cca41774d
|
Fixed #4446 (Crash on complex C++ template)
|
2013-11-21 20:27:24 +01:00 |
Daniel Marjamäki
|
2c1f579b3b
|
Library: Fixed formatstr handling
|
2013-11-21 16:32:53 +01:00 |
orbitcowboy
|
b74db1b791
|
Tokenize:simplifyFloatCast(): added corresponding suffix, incase of type 'float'.
|
2013-11-20 23:58:43 -08:00 |