Alexander Mai
|
27f72d7ae0
|
#7020 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. #7021 segmentation fault (invalid code) in Tokenizer::simplifyEnum
|
2015-10-03 10:47:23 +02:00 |
amai2012
|
fde59242bb
|
#7018 segmentation fault (invalid code) in Tokenizer::simplifyEnum
|
2015-10-02 15:33:23 +02:00 |
Martin Ettl
|
dc051f077d
|
#6667: Added a regression test to testgarbage.
|
2015-09-30 21:55:32 +02:00 |
Alexander Mai
|
c27fc31fcf
|
#6997 segmentation fault (invalid code) in CheckUninitVar::checkIfForWhileHead. Detect invalid syntax.
|
2015-09-23 10:33:55 +02:00 |
Alexander Mai
|
890343dad0
|
Add regression tests for #678,#6834 - crashes on garbage code
|
2015-09-05 08:38:50 +02:00 |
amai2012
|
873861df4a
|
#6948 cash: daca: mgetty (garbage code)
|
2015-08-21 10:40:43 +02:00 |
PKEuS
|
128a926d9d
|
Collected some more garbage code tests in testgarbage.cpp; Avoid std::string creation in testgarbage.cpp
|
2015-08-16 19:12:12 +02:00 |
PKEuS
|
0babc4f38f
|
Moved some unit tests to testgarbage.cpp
|
2015-08-16 14:49:35 +02:00 |
Martin Ettl
|
1741af497f
|
Added test case for #6858.
|
2015-08-01 17:26:23 +02:00 |
Martin Ettl
|
b7ea311123
|
Running astyle. No functional changes.
|
2015-08-01 12:31:16 +02:00 |
amai2012
|
b182edddda
|
#6909 segmentation fault (invalid code) in Tokenizer::simplifyEnum
|
2015-08-01 12:24:22 +02:00 |
Alexander Mai
|
acf050793e
|
#6907 segmentation fault (invalid code) in Tokenizer::simplifyTokenList1
|
2015-08-01 07:39:56 +02:00 |
Alexander Mai
|
4400f2ac85
|
#6900 segmentation fault (invalid code) in CheckStl::runSimplifiedChecks.
|
2015-07-31 20:24:06 +02:00 |
amai2012
|
249a05126b
|
#6895 segmentation fault (invalid code) in CheckCondition::isOppositeCond
|
2015-07-30 17:19:19 +02:00 |
amai2012
|
1f43550688
|
#6880, 6881 Crashes on invalid code. Fix null pointer access
|
2015-07-28 18:41:50 +02:00 |
Daniel Marjamäki
|
05a21d45eb
|
Fixed #6670 (Analysis failed when there are {} in LHS in compound assignment)
|
2015-07-27 13:44:35 +02:00 |
PKEuS
|
ab1113fb16
|
Fixed crash on garbage code #6859
|
2015-07-22 13:33:24 +02:00 |
amai2012
|
e8ac4d8e87
|
#6847 segmentation fault (invalid code) in Token::multiCompare. Fix and simple refactoring in Tokenizer
|
2015-07-21 13:40:50 +02:00 |
PKEuS
|
c987a99ac8
|
Fixed hang on garbage code (#6824)
|
2015-07-20 22:33:32 +02:00 |
Alexander Mai
|
defee734f5
|
#6846 segmentation fault (invalid code) in CheckClass::hasAssignSelf
|
2015-07-20 19:04:34 +02:00 |
Simon Martin
|
af1b0cfddf
|
Ticket #6835: Don't get confused by parentheses while detecting template parameter default values.
|
2015-07-17 21:30:34 +02:00 |
Alexander Mai
|
d45aa6170b
|
Minor refactoring in Tokenizer: Optimize for C code and use nullptr instead of 0
|
2015-07-16 00:29:48 +02:00 |
Alexander Mai
|
b604d63dd8
|
#6726 cppcheck hangs with 100% CPU load (invalidcode) inside Token::astOperand2(). #6840 egmentation fault (invalid code) in Token::astOperand2. Improve stability on invalid code
|
2015-07-15 15:19:48 +02:00 |
Alexander Mai
|
b30d9ffe98
|
#6838 cppcheck hangs on some strange input code. Token::astOperand1/2 throw internal error on garbage code instead of creating endless recursion in AST
|
2015-07-14 21:07:10 +02:00 |
amai2012
|
4a1695c879
|
#6807 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. #6808 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Throw InternalError on garbage code
|
2015-07-01 16:31:49 +02:00 |
Alexander Mai
|
6e03e7dca2
|
Remove some code checking for invalid class hierarchy which got obsolete since 480a5672b0 . Run astyle
|
2015-07-01 07:50:13 +02:00 |
amai2012
|
1604e751e5
|
Fix some compiler warnings which got introduced recently
|
2015-06-30 20:11:51 +02:00 |
amai2012
|
99dfd55d0c
|
#6804 segmentation fault (invalid code) in Token::getValueTokenDeadPointer. Fix null pointer access
TestGarbage: Increase coverage by running all code snippets as C as well as C++ code. (inspired by #6800)
|
2015-06-30 19:40:22 +02:00 |
amai2012
|
c0b91662ba
|
#6803 segmentation fault (invalid code) in Token::findClosingBracket.
|
2015-06-30 12:16:55 +02:00 |
Alexander Mai
|
d7aa65c1fc
|
#6800 segmentation fault (invalid code) in SymbolDatabase::SymbolDatabase. Fix null pointer access for invalid C code
|
2015-06-29 19:56:02 +02:00 |
Alexander Mai
|
e75662aaf1
|
#6792 segmentation fault (invalid code) in TemplateSimplifier::templateParameters. Avoid null pointer access
|
2015-06-25 20:48:05 +02:00 |
amai2012
|
ac1f0301c0
|
#6791 segmentation fault (invalid code) in TokenList::createAst. Fix null pointer access
|
2015-06-25 08:57:09 +02:00 |
Alexander Mai
|
c047fae53b
|
#6790 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix null pointer access
|
2015-06-25 07:47:40 +02:00 |
Alexander Mai
|
56b826e3bf
|
#6732, #6762. Enable tests for garbage code. Related bug has been fixed before
|
2015-06-24 21:03:02 +02:00 |
Alexander Mai
|
8946fcd960
|
#6772 segmentation fault (invalid code) in Tokenizer::setVarId. Add another validate() call to Tokenizer::simplifyTokenList1. Small refactoring to Tokenizer: mark many methods as private.
|
2015-06-24 20:47:04 +02:00 |
Alexander Mai
|
6ba9c21fb9
|
#6786 segmentation fault (invalid code) in Tokenizer::simplifyRedundantParentheses. Small refactoring for Tokenizer::simplifyTokenList2() including additional calls to validate() - which prevents heap corruption on invalid code
|
2015-06-24 20:22:28 +02:00 |
amai2012
|
9fedc9bd74
|
#6788 segmentation fault (invalid code) in Tokenizer::simplifyVarDecl. Fix null pointer access
|
2015-06-24 16:54:23 +02:00 |
amai2012
|
69f91ac187
|
#6785 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Avoid null pointer access
|
2015-06-23 17:59:01 +02:00 |
Alexander Mai
|
07bcc7157b
|
#6784 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Avoid null pointer access
|
2015-06-22 20:43:26 +02:00 |
amai2012
|
99524b1f59
|
#6780 segmentation fault (invalid code) in Token::multiCompare. Simple fix in CheckOther
|
2015-06-22 11:12:46 +02:00 |
Alexander Mai
|
a5a835b1e0
|
#6771 segmentation fault (invalid code) in SymbolDatabase::SymbolDatabase
|
2015-06-14 22:18:28 +02:00 |
Alexander Mai
|
c18461b173
|
#6761 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix crash.
|
2015-06-07 13:35:51 +02:00 |
Alexander Mai
|
b6264e4a00
|
#6759 segmentation fault (invalid code) in Tokenizer::simplifyTokenList2. #6760 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix crashes
|
2015-06-06 13:11:32 +02:00 |
Daniel Marjamäki
|
d208e763df
|
astyle formatting
|
2015-06-05 14:34:53 +02:00 |
amai
|
5fd9dd04fa
|
#6757 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix crash
|
2015-06-04 19:00:35 +02:00 |
Alexander Mai
|
5f4902c613
|
6755 segmentation fault (invalid code) in Token::isAssignmentOp. #6756 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Fix two crashes.
|
2015-06-04 17:46:52 +02:00 |
amai2012
|
f2d397882f
|
#6753 segmentation fault (invalid code) in CheckMemoryLeakStructMember::checkStructVariable. #6754 segmentation fault (invalid code) in CheckUnusedVar::checkFunctionVariableUsage_iterateScopes. Trivial fixes to avoid null pointer access
|
2015-06-03 17:17:53 +02:00 |
amai2012
|
87bf09c0ae
|
#6751 segmentation fault (invalid code) in Tokenizer::simplifyTypedef.
|
2015-06-03 11:39:30 +02:00 |
amai2012
|
ed5a4127e8
|
#6749 segmentation fault (invalid code) in Tokenizer::copyTokens. #6750 segmentation fault (invalid code) in Tokenizer::simplifyTypedef.
|
2015-06-03 10:39:19 +02:00 |
amai2012
|
d36c84553f
|
#6748 segmentation fault (invalid code) in Tokenizer::simplifyTypedef. Throw error from now (member-function) Tokenizer::processFunc
|
2015-06-03 08:59:38 +02:00 |