Alexander Mai
|
ee11f0974a
|
#7769 segmentation fault at setTokenValue() on invalid code.
|
2016-11-06 14:20:58 +01:00 |
PKEuS
|
e0838ff194
|
Fixed crash on garbage code (#7699)
|
2016-08-21 11:06:48 +02:00 |
PKEuS
|
084fcc936c
|
Rephrased syntaxError message for empty configurations to improve readability:
Old: Invalid number of character 'c' when these macros are defined: ''.
New: Invalid number of character 'c' when no macros are defined.
|
2016-08-04 16:28:11 +02:00 |
Daniel Marjamäki
|
71f62950ed
|
Tokenizer::findGarbageCode: Make it less picky about 'UNKNOWN_MACRO if ..'
|
2016-07-26 14:35:11 +02:00 |
Daniel Marjamäki
|
9082c097c8
|
Fixed testing of #7615. The code is not garbage so move it from TestGarbage to TestSymbolDatabase
|
2016-07-26 09:10:10 +02:00 |
Daniel Marjamäki
|
fd19ab4ed1
|
fix garbage code handling
|
2016-07-26 08:50:00 +02:00 |
Matthias Krüger
|
6fd8edd6e5
|
Symboldatabase::sizeOfType: fix crash; fixes #7615
|
2016-07-26 01:18:47 +02:00 |
Daniel Marjamäki
|
ed4a47de45
|
Tokenizer: Improve syntax checking of switch,if,while
|
2016-07-22 16:54:24 +02:00 |
PKEuS
|
801fd8f96a
|
Support trailing return types (C++11)
|
2016-07-17 15:47:50 +02:00 |
Matthias Krüger
|
0556edd151
|
fix #7505 (crash on invalid code)
|
2016-05-25 13:14:34 +02:00 |
Alexander Mai
|
303a85a930
|
#4195 segmentation fault of cppcheck (invalid code). Fix segfault which turned up after refactoring the enum handling code.
|
2016-05-17 22:19:23 +02:00 |
Daniel Marjamäki
|
dc2a92263a
|
Fixed #7426 (RFC: time to replace simplifyEnum?)
|
2016-04-22 06:02:54 +02:00 |
PKEuS
|
cc8c498ebb
|
Moved a few tests to testgarbage.cpp
|
2016-02-04 09:10:20 +01:00 |
Alexander Mai
|
d3546ea410
|
#7321 segmentation fault in valueFlowSwitchVariableScope::isVariableDeclaration
|
2016-02-03 22:49:57 +01:00 |
Alexander Mai
|
cfe9c01bf8
|
#7257 segmentation fault in valueFlowSwitchVariable (invalid code). Correct SymbolDatabase::validateVariables() so it does not complain about function arguments for function without body
|
2016-02-03 21:52:02 +01:00 |
Alexander Mai
|
a288d5eb16
|
#7027 TokenList::validateAst() did not detect broken AST with endless recursion
|
2016-01-31 22:16:58 +01:00 |
PKEuS
|
0e8777ec99
|
Fixed crash on garbage code (#7356)
|
2016-01-31 10:25:09 +01:00 |
Matthias Krüger
|
112b35a49e
|
testrunner: add testcode for #6781 (TemplateSimplifier::simplifyTemplateInstantiations causes heap corruption on invalid code)
|
2016-01-30 18:20:45 +01:00 |
Daniel Marjamäki
|
f3f9ea2d09
|
TemplateSimplifier: One more fix for #3130. Restored max recursion count to 100 and improve pattern for reference template instantiations instead.
|
2016-01-30 11:22:44 +01:00 |
Alexander Mai
|
1dac1664be
|
7357 segmentation fault in TokenList::insertTokens
|
2016-01-26 19:12:57 +01:00 |
Daniel Marjamäki
|
0b9d8ae0f1
|
astyle formatting
[ci skip]
|
2016-01-08 15:24:05 +01:00 |
amai2012
|
bd2892fde4
|
Ticket #7270 segmentation fault (invalid code) in Tokenizer::simplifyLabelsCaseDefault. include fix for cygwin
|
2016-01-08 11:59:02 +01:00 |
Daniel Marjamäki
|
a0971355b7
|
Tweaked Tokenizer::simplifyAsm2()
|
2016-01-04 19:18:10 +01:00 |
Daniel Marjamäki
|
036306d7c2
|
Refactoring Tokenizer::startOfExecutableScope(). Improve and reuse Tokenizer::isFunctionHead().
|
2016-01-03 22:52:24 +01:00 |
Alexander Mai
|
d6fd4705cf
|
#7255 segmentation fault (invalid code) in CheckMemoryLeakInFunction::getcode
|
2016-01-03 20:53:03 +01:00 |
Alexander Mai
|
37c3d5da7b
|
#6731 Tokenizer::eraseDeadCode causes heap corruption on invalid code. Better detection of invalid code inside Tokenizer::simplifyFlowControl()
|
2016-01-01 23:32:10 +01:00 |
Lauri Nurmi
|
996c9244d8
|
Update copyright year to 2007-2016.
|
2016-01-01 15:34:45 +02:00 |
Matthias Krüger
|
7c1a4da6a4
|
testrunner: add testcase for #7246.
|
2015-12-31 14:17:52 +01:00 |
Alexander Mai
|
e9635fd393
|
#7236 segmentation fault (invalid code) in ValueFlow::setValues. #7237 segmentation fault (invalid code) in Tokenizer::setVarIdClassDeclaration
|
2015-12-26 23:51:10 +01:00 |
amai2012
|
081f443b2a
|
#7235 segmentation fault (invalid code) in TokenList::createAst
|
2015-12-26 20:26:07 +01:00 |
amai2012
|
36a6599386
|
#7324 segmentation fault (invalid code) in Tokenizer::simplifyTokenList1
|
2015-12-26 20:16:01 +01:00 |
Daniel Marjamäki
|
64494ca226
|
astyle formatting
[ci skip]
|
2015-12-26 01:37:21 +01:00 |
Alexander Mai
|
87767fb666
|
#7228 segmentation fault (invalid code) in Tokenizer::isFunctionHead
|
2015-12-26 00:21:56 +01:00 |
Alexander Mai
|
96531d6ffe
|
TokenList::createAst() doesn't validate itself anymore. Remove some duplicated code and fix glitch in TestGarbage::garbageCode162
|
2015-12-12 20:01:03 +01:00 |
Alexander Mai
|
9a847d7b14
|
#7208 Cppcheck hangs with 100% CPU load in CheckOther::checkNegativeBitwiseShift (invalidcode). TokenList::validateAst() is running consistency checks on AST
|
2015-12-12 15:39:38 +01:00 |
Akhilesh Nema
|
932f6ea81b
|
Cppcheck hangs with 100% CPU load in TemplateSimplifier::checkComplicatedSyntaxErrorsInTemplates (invalidcode)
|
2015-12-09 14:00:40 +01:00 |
Alexander Mai
|
6ae1533cb4
|
#7190 Cppcheck hangs with 100% CPU load in Tokenizer::simplifyAttribute (invalidcode). Call validate() once more in Tokenizer::simplifyTokenList1 to trigger invalid code exception
|
2015-12-05 13:55:33 +01:00 |
Daniel Marjamäki
|
8a9e068129
|
Fixed #7119 (Cppcheck hangs with 100% CPU load in Tokenizer::copyTokens (invalidcode))
|
2015-11-29 14:56:15 +01:00 |
PKEuS
|
57d1196386
|
Replaced CheckNonReentrantFunctions and CheckObsoleteFunctions by generic CheckFunctions which is based on Library (#6529)
|
2015-11-22 09:18:07 +01:00 |
Daniel Marjamäki
|
0f9d90d2be
|
Changed Copyrights. Removed my name.
|
2015-11-18 20:04:50 +01:00 |
Alexander Mai
|
835c234e18
|
#7131 crash: Tokenizer::setVarId()
|
2015-11-14 21:22:53 +01:00 |
PKEuS
|
f15f8514f6
|
Fixed crash on garbage code (#7120)
|
2015-11-09 17:25:20 +01:00 |
PKEuS
|
389d30fe44
|
Fixed crash on garbage code (#7118)
|
2015-11-09 11:21:07 +01:00 |
Daniel Marjamäki
|
fc564d779e
|
Fixed #7112 (crash: CheckBufferOverrun::checkGlobalAndLocalVariable (invalid code))
|
2015-11-08 14:21:12 +01:00 |
Alexander Mai
|
ab296fa93f
|
7111 segmentation fault (invalid code) in Tokenizer::simplifyRedundantParentheses
|
2015-11-08 13:45:55 +01:00 |
Matthias Krüger
|
dc823c65fa
|
testrunner: add testcase for crash which was fixed in previous 2 commits.
|
2015-11-07 20:48:52 +01:00 |
PKEuS
|
b20a7e3192
|
Refactorization: Moved two tests to testgarbage.cpp
Fixed wrong comment in testcppcheck.cpp (forgotten in previous commit)
|
2015-11-06 21:58:49 +01:00 |
Alexander Mai
|
3177d73fb0
|
#7089 segmentation fault (invalid code) in Tokenizer::simplifyTokenList1. Refactor some functions to accept argument as refernce instead of pointer
|
2015-11-05 19:00:08 +01:00 |
PKEuS
|
83a816b109
|
Fixed crash on garbage code (#7085)
|
2015-11-04 10:26:55 +01:00 |
PKEuS
|
6c20f4b2a2
|
Fixed crash on garbage code (#7090)
|
2015-11-04 10:10:20 +01:00 |