orbitcowboy
|
2e45df3b72
|
Fixed #6341: false negative uninitvar pattern "return foo ( %var%"
|
2014-12-17 17:43:31 +01:00 |
orbitcowboy
|
f13475ceb2
|
Refactoring of testuninitvar: Splitted large test functions into smaller pieces.
|
2014-12-16 22:02:03 +01:00 |
orbitcowboy
|
ade7365cc0
|
testuninitvar: moved more tests to checkUninitVar2, which does not rely on ExecutionPath.
|
2014-12-15 19:47:20 +01:00 |
orbitcowboy
|
bf4b6dfd19
|
testuninitvar: changed test cases to do not rely on ExecutionPath.
|
2014-12-15 15:41:03 +01:00 |
orbitcowboy
|
32cd7d727d
|
Fixed #6325: false negative: uninitialized variable usage (write, posix).
|
2014-12-15 10:05:44 +01:00 |
Daniel Marjamäki
|
051d42ae6b
|
astyle formatting
|
2014-11-20 14:20:09 +01:00 |
orbitcowboy
|
f5d804f71a
|
running astyle
|
2014-11-20 10:13:03 +01:00 |
Robert Reif
|
c5e15950df
|
Fixed #6230 (SymbolDatabase: Wrong function() is set for token)
|
2014-11-17 16:04:44 +01:00 |
Daniel Marjamäki
|
de7e9223b8
|
Fixed #6272 (Improve check: multifile checking in checkbufferoverrun)
|
2014-11-15 10:43:49 +01:00 |
Daniel Marjamäki
|
b766071272
|
Fixed #4970 (false positive: conditionally initialized variable used in if-clause (git/notes.c))
|
2014-11-01 14:03:02 +01:00 |
Frank Zingsheim
|
41a54fceba
|
Fixed false positives about uninitialized member variables if variable has a default value (#5500)
|
2014-10-16 21:57:43 +02:00 |
PKEuS
|
6955e719cf
|
Collected garbage code tests and moved them to testgarbage.cpp
|
2014-10-16 10:59:46 +02:00 |
Alexander Mai
|
b0c34390cd
|
Fix FP: tmpnam() expects a valid pointer, an uninitialized array (of conforming size) is fine
|
2014-09-27 20:29:54 +02:00 |
Daniel Marjamäki
|
bbbe2c1b94
|
Fixed #6169 (False positive: passing uninitialized struct buffer member to strncpy)
|
2014-09-15 15:58:21 +02:00 |
Daniel Marjamäki
|
865a252c89
|
astyle formatting
[ci skip]
|
2014-09-14 10:29:12 +02:00 |
Dmitry-Me
|
1e298a31cf
|
Refactoring tests. Use utility function to warn about unsimplified code in tests.
|
2014-09-13 12:59:32 +02:00 |
Dmitry-Me
|
a2b30c7801
|
Detect -> accesses on uninitialized pointers
|
2014-09-12 10:19:00 +04:00 |
Dmitry-Me
|
f7824bfd00
|
CheckNullPointer::isPointerDeRef: Improve handling of static member variables and functions
|
2014-09-09 05:36:09 +02:00 |
Alexander Mai
|
f94e208862
|
#6116 False positive uninitvar - first argument to wcstombs(). Correct stf.cfg
|
2014-09-01 19:53:24 +02:00 |
Daniel Marjamäki
|
b8e356462a
|
Dead pointer: Fixed FP for subfunction pointer argument
|
2014-08-14 06:47:19 +02:00 |
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 |