PKEuS
|
8130fda4ae
|
Implemented support for C++11 uniform initialization in several checks.
|
2014-08-05 16:11:42 +02:00 |
Daniel Marjamäki
|
a2f776b1b7
|
Dead pointer: Added checking for dead pointer usage when pointer alias local variable that has gone out of scope.
|
2014-08-05 06:24:23 +02:00 |
Daniel Marjamäki
|
3169a2d215
|
astyle formatting
[ci skip]
|
2014-07-06 17:50:21 +02:00 |
amai2012
|
0ddd7752b5
|
Avoid crash reported in #5943 (using the example from duplicate ticket #5971)
Replace a few size_t/unsigned int by std::size_t
|
2014-07-06 14:48:24 +02:00 |
Daniel Marjamäki
|
a4a6f3e1be
|
Tokenizer: Removed Tokenizer::simplifyConditionOperator(). Using the AST and ValueFlow, it should be much easier to parse ?: than before.
|
2014-06-10 19:30:13 +02:00 |
Daniel Marjamäki
|
8cc1f664d8
|
Uninitialized member variable: Fixed false negative when struct is read
|
2014-05-10 20:20:55 +02:00 |
Daniel Marjamäki
|
4c344adcf1
|
Uninitialized struct member: fixed false negative when struct assignment is seen
|
2014-05-10 19:56:44 +02:00 |
Daniel Marjamäki
|
04cd261ee2
|
Fixed #5664 (false positive: (error) Uninitialized variable: j (Comma operator in for loop))
|
2014-04-21 10:32:29 +02:00 |
Daniel Marjamäki
|
c8ae1e4751
|
Fixed #5658 (false positive: (error) Uninitialized variable: s)
|
2014-04-10 15:59:37 +02:00 |
Daniel Marjamäki
|
9b1d058410
|
Fixed #5660 (false positive: (error) Uninitialized variable: result)
|
2014-04-10 06:40:53 +02:00 |
Daniel Marjamäki
|
71fda0ea0c
|
Fixed GCC warning about shadowed variable settings
|
2014-04-04 07:02:36 +02:00 |
PKEuS
|
7e4081f7f5
|
Treat syntaxError and cppcheckError as InternalErrors (throw as exception, #4268)
|
2014-03-27 13:15:21 +01:00 |
PKEuS
|
9b4b90f6a0
|
Avoid loading libraries multiple times in test suite
-> Massive speedup for test suite (especially on slow systems)
|
2014-03-24 09:59:05 +01:00 |
PKEuS
|
5f2067e401
|
Refactorized dead code elimination:
- Use library to get noreturn functions
- Fixed do-while simplification (#4940)
|
2014-03-23 10:59:41 +01:00 |
orbitcowboy
|
6507824a34
|
Added support for putchar() to std.cfg.
|
2014-03-20 05:49:38 +01:00 |
orbitcowboy
|
80e3b49cfc
|
Added support for ftell() and puts() to std.cfg.
|
2014-03-20 04:10:41 +01:00 |
orbitcowboy
|
30006cf06f
|
Added support for fputs() to std.cfg.
|
2014-03-20 02:13:41 +01:00 |
orbitcowboy
|
b37e9601c1
|
Added support for fgetc() to std.cfg.
|
2014-03-20 00:59:52 +01:00 |
Daniel Marjamäki
|
8de4246713
|
Uninitialized variables: Improved handling of function calls when struct members are checked
|
2014-03-20 06:48:17 +01:00 |
Martin Ettl
|
fe1b46c174
|
Extended std.cfg
|
2014-03-19 21:08:48 +01:00 |
Alexander Mai
|
29d401ff38
|
Fixed #3098 (false negative: unitialized variable being passed to strcoll())
|
2014-03-06 16:31:31 +01:00 |
Daniel Marjamäki
|
fd3a8a2a18
|
Update copyright
|
2014-02-15 07:45:39 +01:00 |
Daniel Marjamäki
|
0c47555423
|
CheckNullPointer: use library instead of hard coded info
|
2014-01-26 16:19:49 +01:00 |
Daniel Marjamäki
|
bc9ad08831
|
Fixed #5245 (false positive: Uninitialized variable (assignment inside ternary operator))
|
2014-01-25 10:12:50 +01:00 |
Daniel Marjamäki
|
30cae358d8
|
Removed the --value-flow flag. ValueFlow analysis will always be enabled from now on.
|
2014-01-17 18:07:05 +01:00 |
Daniel Marjamäki
|
e45a2e2c61
|
Fixed #5347 (False positive: uninitialized variable (try catch))
|
2014-01-14 06:24:09 +01:00 |
PKEuS
|
4f0121ee2f
|
Splitted simplification out of tokenize()
|
2013-12-30 17:45:28 +01:00 |
Daniel Marjamäki
|
6182394966
|
Uninitialized variables: Fixed false positive taking value of pointer that is allocated but not initialized
|
2013-12-25 14:00:27 +01:00 |
Daniel Marjamäki
|
26dfddac6b
|
UninitVar: Fixed false positive when checking if allocated pointer is null
|
2013-12-24 12:48:17 +01:00 |
Daniel Marjamäki
|
753559fff3
|
Uninitialized variables: Don't warn about try/catch exception variables
|
2013-12-24 07:39:15 +01:00 |
Daniel Marjamäki
|
661784a170
|
Fixed #5255 (False positive (error) Uninitialized variable: ptr2 - calling a static member function)
|
2013-12-23 16:50:27 +01:00 |
Daniel Marjamäki
|
e2fa6a291c
|
Uninitialized variables: Fixed false negatives for loop variables / pointer dereference
|
2013-12-23 12:27:00 +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
|
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
|
35189e80f2
|
Uninitialized variables: Fixed false positive for '*p=..'
|
2013-12-12 15:33:31 +01:00 |
Daniel Marjamäki
|
1b86615a69
|
Uninitialized variables: Fixed false positive for 'p=malloc; if (p) {}'
|
2013-12-12 11:44:07 +01: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
|
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 |
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
|
7fc07989a7
|
UninitVar: Fixed false positive 'data is allocated but not initialized' when there is assignment
|
2013-11-23 10:24:29 +01:00 |
Daniel Marjamäki
|
71e61fb1ed
|
Uninitialized variables: Fixed false positive when using ?:
|
2013-11-17 12:42:53 +01:00 |
Daniel Marjamäki
|
77e09d72a1
|
Uninitialized variables: Fixed false negatives when using ({})
|
2013-11-17 12:11:18 +01:00 |
Daniel Marjamäki
|
d342387b95
|
Uninitialized var: Fixed false negatives for self assignment
|
2013-11-16 18:07:33 +01:00 |
Daniel Marjamäki
|
cfd6b0c384
|
UninitVar: fixed false negatives for function calls
|
2013-11-16 12:02:21 +01:00 |
Simon Martin
|
185b88c6e3
|
Ticket #5073: Don't crash upon invalid do-while loop.
|
2013-11-08 23:13:21 +01:00 |