Daniel Marjamäki
|
a8df08f22b
|
Fixed #7659 (crash: Token::varId() : vxl: brdb_selection.cxx)
|
2016-08-06 18:07:41 +02:00 |
Daniel Marjamäki
|
2566fd09da
|
Fixed #5803 (False positive: Same iterator is used with different containers - insert() from range of different container)
|
2016-08-04 09:35:16 +02:00 |
PKEuS
|
f869f7ebde
|
Fixed false positive reademptycontainer when end() is called (#7560)
|
2016-07-10 10:48:21 +02:00 |
PKEuS
|
ded8d80b23
|
Library: Support arguments with default value. Fixed default value handling for <container> tags broken in last commit.
|
2016-07-09 12:44:17 +02:00 |
PKEuS
|
896582ce56
|
Fixes for CheckStl::string_c_str():
- Fixed false positive #7480
- Fixed false negative: Show performance message also for non-local objects
|
2016-05-06 17:25:00 +02:00 |
PKEuS
|
b7d8cd69f6
|
Fixed false negatives in CheckStl::string_c_str():
- Support more complex patterns (#7385)
- Use same logic for string_c_strReturn() as for string_c_strError()
|
2016-05-04 11:10:12 +02:00 |
Alexander Mai
|
ca2e3b9abb
|
#7370 False positive uselessCallsCompare on unknown type. Ensure related warnings are only issued on STL types
|
2016-02-02 20:26:02 +01:00 |
Daniel Marjamäki
|
fa31ebf88e
|
Fixed #7349 (checker 'inefficient find()' unintentionally used for find_first_of())
|
2016-01-29 08:55:46 +01:00 |
Lauri Nurmi
|
996c9244d8
|
Update copyright year to 2007-2016.
|
2016-01-01 15:34:45 +02:00 |
PKEuS
|
12af125fd3
|
Fixed false positive stlIfStrFind for function call inside condition.
Removed unnecessary suppressions in .travis_suppressions
|
2015-11-20 20:08:53 +01:00 |
PKEuS
|
c0e33e20b4
|
Reimplemented CheckStl::readingEmptyStlContainer() based on Libraries
|
2015-11-20 15:53:14 +01:00 |
PKEuS
|
53b2eca983
|
Reimplemented CheckStl::stlBoundaries() based on Libraries; Added support for iterators to libraries
|
2015-11-20 15:53:14 +01:00 |
Daniel Marjamäki
|
0f9d90d2be
|
Changed Copyrights. Removed my name.
|
2015-11-18 20:04:50 +01:00 |
PKEuS
|
25749ab19f
|
Fixed another crash in clang test suite and let two times two functions in std.cfg share same configuration
|
2015-11-15 14:55:30 +01:00 |
PKEuS
|
481d800d5a
|
Fixed crash in clang test suite.
|
2015-11-15 14:40:31 +01:00 |
Alexander Mai
|
869334acf5
|
#6554 False positive eraseDereference - erase in while() loop. Add regression test for bug fixed in 1.70
|
2015-11-10 19:03:35 +01:00 |
PKEuS
|
32f0cbb6ad
|
Fixed false positive eraseDereference with range-based for-loops (#7106)
|
2015-11-08 09:42:55 +01:00 |
PKEuS
|
3a5cef8a7e
|
Refactorization: Improved usage of Settings instances in test suite
|
2015-10-07 18:40:03 +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 |
Daniel Marjamäki
|
9085fdc156
|
Fixed #6887 (False positive eraseDereference - container is member of member variable)
|
2015-07-30 10:13:49 +02:00 |
PKEuS
|
e95800bed4
|
Added regression test for #4816
Ran AStyle
|
2015-07-23 20:53:50 +02:00 |
Daniel Marjamäki
|
3dbf290220
|
Refactor CheckStl::erase so it doesn't use ExecutionPath
|
2015-07-23 18:53:31 +02:00 |
PKEuS
|
7f6b6e43b1
|
Support strings in CheckStl::mismatchingContainers() (#6839)
|
2015-07-21 14:13:26 +02:00 |
Alexander Mai
|
f0bc300198
|
#6510 False positive performance warning for std::list::size(). Fix this and other similar false positives. Refactoring of Variable::isStlType(), use fail-safe std::set instead of plain array. Run astyle
|
2015-05-17 20:02:41 +02:00 |
PKEuS
|
33277c6110
|
Fixed false positive #6679, fixed unit test for #6663.
|
2015-05-11 13:10:11 +02:00 |
Daniel Marjamäki
|
aab1d83075
|
Updated error message. write variable name.
|
2015-05-02 16:55:17 +02:00 |
PKEuS
|
4cbbd44d49
|
Fixed false positive #6663: Better support for loops in CheckStl::readingEmptyStlContainer()
|
2015-05-02 14:09:48 +02:00 |
Daniel Marjamäki
|
dc54676289
|
Reverted my changes I made by mistake in previous commit
|
2015-05-02 14:01:31 +02:00 |
Daniel Marjamäki
|
28985d1baa
|
manual: Document the cwe attribute
|
2015-05-02 11:43:42 +02:00 |
Alexander Mai
|
42d9afe7de
|
posix.cfg add more interfaces from stdlib.h. run astyle
|
2015-03-21 12:26:07 +01:00 |
Jakub Melka
|
a49efb13f6
|
Added auto_ptr checking for malloc
|
2015-03-19 06:41:54 +01:00 |
PKEuS
|
bc5132e0ac
|
Refactorization: Moved declaration of errout, ... to testsuite.h, uniformized style
|
2015-03-11 22:54:43 +01:00 |
PKEuS
|
e06a4cdf00
|
Refactorized CheckStl::if_find():
- Added support for find()-like functions to Library::Container
- Use <container> information from library
- Fixed false positive #6402
|
2015-01-04 12:43:50 +01:00 |
PKEuS
|
11fa185cae
|
Fixed crash on range-based for-loop
|
2015-01-03 22:36:39 +01:00 |
PKEuS
|
7ece58c3a0
|
CheckStl::stlOutOfBounds() now uses <container> information from Libraries
|
2015-01-03 22:18:33 +01:00 |
Daniel Marjamäki
|
ff11ba9847
|
Updated copyright year to 2015
|
2015-01-03 12:14:58 +01:00 |
PKEuS
|
1355f49af7
|
Fixed false positive: Support assignments in CheckStl::if_find()
|
2015-01-03 11:29:13 +01:00 |
PKEuS
|
8885ac3eba
|
Fixed #6217, refactorized CheckStl::if_find(): allow all comparison operators, use AST, fixed wrong unit tests
|
2015-01-03 11:07:11 +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 |
PKEuS
|
bb8c8d53cc
|
Support do-loops in CheckStl::stlOutOfBounds()
|
2014-10-02 20:38:55 +02:00 |
PKEuS
|
865df4e207
|
Fixed false negative #4306: Detect loop access of empty STL container
|
2014-08-09 10:06:44 +02:00 |
Alexander Mai
|
2e3f26ba58
|
Patch from Dmitry-Me: reorder checks so that cheaper ones go first, reuse previously computed values, return early on edge condition
|
2014-06-16 21:36:31 +02:00 |
amai2012
|
c61d2b9f41
|
#5926 Dangerous iterator comparison using operator< on 'std::deque'.
std::deque features a random access iterator, so warning stlBoundaries
is a false positive
|
2014-06-16 20:50:47 +02:00 |
Mark de Wever
|
b4b340b7be
|
Fixed #5677 (Fix overzealous substr() warning)
|
2014-04-13 19:04:35 +02:00 |
PKEuS
|
8cb3b13e56
|
Support "else if" and do-loop in CheckStl::checkDereferenceInvalidIterator()
|
2014-04-12 20:03:07 +02:00 |
PKEuS
|
e8ac355b39
|
Refactorized iterator checking:
- Fixed false positive #5669
- Use symboldatabase in CheckStl::pushback()
- Improved support for erase on std::vector and find
|
2014-04-12 20:03:07 +02:00 |
Daniel Marjamäki
|
59cd1879db
|
Fixed #5467 (False positive incorrectly claiming use after erase)
|
2014-04-09 10:32:56 +02:00 |
PKEuS
|
7e4081f7f5
|
Treat syntaxError and cppcheckError as InternalErrors (throw as exception, #4268)
|
2014-03-27 13:15:21 +01:00 |
Alexander Mai
|
e1c565357a
|
Invalid code cause SIGSEGV since loop variable tok2 was not checked properly
|
2014-03-22 10:32:24 +01:00 |