Daniel Marjamäki
|
65297ce285
|
Fixed #7191 (false positive memleak on in-place new)
|
2017-05-04 19:39:57 +02:00 |
orbitcowboy
|
537045b176
|
Improved const correctness. There are no functional changes.
|
2017-04-25 14:57:48 +02:00 |
Daniel Marjamäki
|
140e086206
|
Fixed #7738 (False positive deallocret - delete and return NULL pointer)
|
2017-04-24 22:05:16 +02:00 |
PKEuS
|
b1f4bd7504
|
Refactorization: Reimplemented Settings::_enabled as a bitfeld instead of std::set (#7995)
|
2017-04-11 11:49:26 +02:00 |
PKEuS
|
3c8f5b85ae
|
Refactorization: Allocate Token::_values (ValueFlow information) dynamically, reducing size of each token by around 10%
|
2017-03-27 18:48:34 +02:00 |
Daniel Marjamäki
|
b5f2fd3c55
|
Fixed #7738 (False positive deallocret - delete and return NULL pointer)
|
2017-03-03 18:36:06 +01:00 |
Daniel Marjamäki
|
99544069d1
|
CheckLeakAutoVar: better handling of noreturn functions. Partial fix for #7918.
|
2017-02-25 11:36:48 +01:00 |
Simon Martin
|
f43431408b
|
Ticket #7685: Properly handle function calls as argument to a dealloc function. (#853)
Add an optional extended description…
|
2016-12-29 13:17:46 +01:00 |
PKEuS
|
2f6350a0d0
|
Refactorized Library
|
2016-12-06 14:09:28 +01:00 |
PKEuS
|
54959d1932
|
CheckLeakAutoVar: Distinguish between new and new[] (#888)
|
2016-10-09 10:28:19 +02:00 |
Daniel Marjamäki
|
4b903a838f
|
Fixed #5522 (CheckLeakAutoVar: Don't treat 'x==p' as dereference of p)
|
2016-05-26 19:22:38 +02:00 |
Daniel Marjamäki
|
54be403f64
|
Fixed #7026 (Cppcheck does not recognizes the use of a variabile inside lambda function)
|
2016-05-26 18:07:56 +02:00 |
Daniel Marjamäki
|
38741868b5
|
Fixed #3989 (false positive: memory leak (inline function))
|
2016-05-26 17:42:27 +02:00 |
PKEuS
|
64d2fd2f57
|
Added new attribute "arg" to <alloc> and <dealloc> to specify the argument that is allocated/deallocated.
This fixes several issues with allocation functions in windows.cfg, such as HeapAlloc() and VirtualAllocEx() (#7503)
|
2016-05-22 17:19:14 +02:00 |
Daniel Marjamäki
|
c23c1f245c
|
Fixed #6989 (incorrect memleak error)
|
2016-05-21 14:03:28 +02:00 |
Daniel Marjamäki
|
a5dc76d50c
|
Refactoring, use ast instead of token list to find if variable is used in rhs
|
2016-05-21 13:45:08 +02:00 |
Daniel Marjamäki
|
2668cee3cf
|
Fixed #6397 (FP deallocuse - conditional deallocation and conditional return)
|
2016-05-15 20:27:44 +02:00 |
Kamil Dudka
|
efe98883ab
|
checkleakautovar: do not miss 'throw' followed by ::
|
2016-05-13 21:37:49 +02:00 |
PKEuS
|
f23668dfcc
|
Fixed false positive doubleFree (#7401)
|
2016-05-04 12:14:42 +02:00 |
Daniel Marjamäki
|
3da997e163
|
astyle formatting
[ci skip]
|
2016-02-08 10:44:04 +01:00 |
Daniel Marjamäki
|
a361f0192d
|
More CheckLeakAutoVar debug output
|
2016-02-07 19:53:55 +01:00 |
Daniel Marjamäki
|
5e10e680da
|
CWE: refactoring. use constants instead of magic numbers.
|
2016-01-25 20:01:48 +01:00 |
Roberto Martelloni
|
5ce69da02d
|
Mapped 26 errors to their CWEs ID.
|
2016-01-24 20:53:05 +00:00 |
Lauri Nurmi
|
996c9244d8
|
Update copyright year to 2007-2016.
|
2016-01-01 15:34:45 +02:00 |
Daniel Marjamäki
|
0f9d90d2be
|
Changed Copyrights. Removed my name.
|
2015-11-18 20:04:50 +01:00 |
Daniel Marjamäki
|
501ab0b6da
|
CheckLeakAutoVar: updated handling of unknown types in C++
|
2015-08-11 12:41:42 +02:00 |
Daniel Marjamäki
|
57aec12f34
|
Fixed #5622 (Allow class methods to be referenced in library XML configuration files)
|
2015-08-10 18:51:51 +02:00 |
Daniel Marjamäki
|
e598b07a6d
|
Moved functions to astutils
|
2015-08-03 09:20:50 +02:00 |
Daniel Marjamäki
|
e5151a13ab
|
Fixed #6867 (False positive memleak)
|
2015-07-25 11:37:03 +02:00 |
Daniel Marjamäki
|
b2b4bb49fa
|
Refactoring handling of comparisons
|
2015-07-22 12:31:18 +02:00 |
Daniel Marjamäki
|
c67776c04d
|
Testing: extract testcases, edit comparisons, run cppcheck, compare results
|
2015-07-22 09:52:24 +02:00 |
Daniel Marjamäki
|
6313304f77
|
Fix Travis build
|
2015-07-22 01:52:24 +02:00 |
Daniel Marjamäki
|
c6cadf5252
|
Fix Travis build
|
2015-07-22 01:41:01 +02:00 |
Daniel Marjamäki
|
350cba1c59
|
CheckLeakAutoVar: updated handling of comparisons after Tokenizer::simplifyIfNot was removed
|
2015-07-22 01:24:07 +02:00 |
Simon Martin
|
fa94f2e0f4
|
Ticket #6648: Properly handle variables that have been deallocated and whose _address_ is taken after in CheckLeakAutoVar.
|
2015-07-19 17:37:50 +02:00 |
amai2012
|
4a47b8b3ae
|
Refactoring: Better distinguish between C and C++ in a few checks.
|
2015-06-28 16:49:16 +02:00 |
Alexander Mai
|
70ba6c4340
|
#6767 False positive: memory leak when variable name is 'new'. Fix handling of new in C code. Move some tests for TokenList to new testtokenlist.cpp
|
2015-06-14 15:49:49 +02:00 |
Simon Martin
|
27e88fdc47
|
Ticket #6666: Don't crash upon garbage code in CheckLeakAutoVar::checkScope.
|
2015-05-10 11:35:33 +02:00 |
Daniel Marjamäki
|
5888b65bd4
|
fixed --check-library information message
|
2015-02-03 17:50:32 +01:00 |
PKEuS
|
b2835051df
|
Refactorization: Renamed Token::Match pattern %var% to %name%, implement new pattern %var% which is true if varId > 0.
|
2015-01-31 12:32:04 +01:00 |
PKEuS
|
80feb8697d
|
Fixed false positives #6473 and #6469
|
2015-01-29 21:26:06 +01:00 |
PKEuS
|
71379616e7
|
Fixed false positive #6467
|
2015-01-29 10:18:21 +01:00 |
PKEuS
|
9ada111045
|
Fixed false positive #6466
|
2015-01-29 09:50:48 +01:00 |
PKEuS
|
8225b12763
|
Fixed some cppcheck messages
|
2015-01-28 22:29:07 +01:00 |
PKEuS
|
21bd1d080e
|
Refactorization: Rearranged some code in checkleakautovar.cpp
|
2015-01-28 19:44:59 +01:00 |
PKEuS
|
0488f45a5f
|
Removed standalone check CheckOther::checkDoubleFree(), integrated (most of) the functionality into CheckLeakAutoVar. Added support for new/delete to checkLeakAutoVar.
|
2015-01-28 17:38:43 +01:00 |
PKEuS
|
bdae9064ea
|
Support throw in checkleakautovar.cpp
|
2015-01-22 11:12:26 +01:00 |
Thomas Jarosch
|
059f9d056c
|
Move to global variables to file scope
Putting them in the anonymous namespace
is the same effect as making them "static".
|
2015-01-11 12:37:11 +01:00 |
Daniel Marjamäki
|
ff11ba9847
|
Updated copyright year to 2015
|
2015-01-03 12:14:58 +01:00 |
Daniel Marjamäki
|
24ecaf8b0a
|
leakautovar: handling of unknown/non-pod types in c++
|
2014-10-14 16:40:30 +02:00 |