Daniel Marjamäki
|
c14a3d67bb
|
ValueFlow: Handle division by zero better in abstract interpretation
|
2014-03-23 20:37:56 +01:00 |
PKEuS
|
1be7bfa7fe
|
Fixed crash on invalid code (#5603)
|
2014-03-23 20:08:16 +01:00 |
Daniel Marjamäki
|
30fa187b30
|
Fixed #5549 (ValueFlow: Handle static variables better in valueFlowAfterAssign)
|
2014-03-23 17:57:27 +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 |
PKEuS
|
77c17100ec
|
Bailout in private function usage checking for operators (#5059).
|
2014-03-23 10:06:14 +01:00 |
PKEuS
|
8d5be8c4a4
|
Fixed related issues to #5601
|
2014-03-22 22:35:20 +01:00 |
PKEuS
|
58c2f372b9
|
Fixed false positive when noreturn function is defined (#5601, second attempt)
|
2014-03-22 19:55:13 +01:00 |
PKEuS
|
6395cb9b95
|
Syntax error on invalid enum (#5600)
|
2014-03-22 19:31:01 +01:00 |
Daniel Marjamäki
|
b6276058da
|
Value Flow: Improved abstract interpretation of arithmetical expressions
|
2014-03-22 19:02:33 +01:00 |
PKEuS
|
77c871035b
|
Fixed false positive when noreturn function is defined (#5601)
|
2014-03-22 18:57:19 +01:00 |
Daniel Marjamäki
|
7d2357de8d
|
Refactoring. Use astIsFloat()
|
2014-03-22 18:42:29 +01:00 |
PKEuS
|
560cf397d3
|
Fixed C++11 right angle bracket issue #5150
|
2014-03-22 13:34:15 +01:00 |
Alexander Mai
|
6a08c27183
|
Fix segfault in variableIsUsedInScope() - loop variable not check against NULL
|
2014-03-22 11:14:11 +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 |
Alexander Mai
|
cdd6d4df27
|
Removing a useless variable to fix cppcheck warning in its own code
|
2014-03-21 22:11:10 +01:00 |
Alexander Mai
|
37befc75ef
|
In case of a loop within the class hierarchie Function::isImplicitlyVirtual_rec() was entering an endless loop. Tracking the previously analyzed types shall prevent this.
|
2014-03-22 08:49:28 +01:00 |
PKEuS
|
49b25b05d9
|
Fixed crash in CheckBufferOverrun on garbage code (#5595)
|
2014-03-21 13:20:44 +01:00 |
Daniel Marjamäki
|
045e9e692b
|
ValueFlow: restricted bailouts in for loops
|
2014-03-21 08:48:49 +01:00 |
Daniel Marjamäki
|
fc014f055f
|
ValueFlow: Removed wrong bailout
|
2014-03-21 08:33:45 +01:00 |
Daniel Marjamäki
|
54e7f34f4a
|
Fixed #5584 (FP: Division by zero when function not declared)
|
2014-03-20 16:12:58 +01:00 |
XhmikosR
|
be0fcefe1d
|
Tabs to spaces.
[ci skip]
|
2014-03-20 09:02:14 +02:00 |
Daniel Marjamäki
|
22a5881bee
|
Uninitialized variables: Experimental checking for passing const pointer to partially initialized struct to function. Ticket: #5586
|
2014-03-20 07:19:35 +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 |
Daniel Marjamäki
|
e48dfb0e6a
|
cygwin: apply cygwin compilation tweaks. thanks ir0nh34d.
|
2014-03-19 21:20:30 +01:00 |
Robert Reif
|
5c88934431
|
CheckIo: Fixed FIXME
|
2014-03-19 20:57:33 +01:00 |
Robert Reif
|
806ef44509
|
Fixed #5328 (Does not handle __attribute((xxx)) in typedefs)
|
2014-03-19 05:38:23 +01:00 |
PKEuS
|
b564986d5d
|
Added missing casts causing assertion failures on Windows (#5391)
-> Changed much more occurences, especially in preprocessor.cpp.
|
2014-03-18 21:41:47 +01:00 |
Daniel Marjamäki
|
ebb0c50aac
|
Tokenizer: Fix crash in Token::previous() method ('this' is NULL)
|
2014-03-18 20:29:37 +01:00 |
Daniel Marjamäki
|
01c29ed15f
|
Fixed #5518 (FP regression in 1.64: Array accessed out of bounds)
|
2014-03-18 17:04:33 +01:00 |
PKEuS
|
a3f5beb75d
|
Fixed problems with code "enum class { };" (which is valid C)
|
2014-03-18 16:23:30 +01:00 |
PKEuS
|
3a4b7e5c07
|
Fixed false positive #5578
|
2014-03-18 13:44:27 +01:00 |
PKEuS
|
af161fc361
|
Rewrote CheckStl::readingEmptyStlContainer(), resolving all its false positives shown on CppChecks own code
|
2014-03-18 12:38:22 +01:00 |
Daniel Marjamäki
|
177bf6fcb3
|
Fixed #5244 (FP: (error) Uninitialized variable: ptr - initialization within if-clause)
|
2014-03-18 06:37:19 +01:00 |
Daniel Marjamäki
|
e240282443
|
Value Flow: Another try with the abstract interpretation of for loops
|
2014-03-17 18:43:47 +01:00 |
PKEuS
|
2568baa473
|
#5528: Raise duplicateExpressionError on operators /, % and -.
|
2014-03-17 18:35:36 +01:00 |
PKEuS
|
fab6b56360
|
Improved check (#5553): Detect stricmp(var.c_str(), var.c_str())
|
2014-03-17 17:41:45 +01:00 |
PKEuS
|
5f67bc1b0a
|
Fixed varId problem #5293 (and its duplicate #5577): Classes inside functions are non-executable scopes.
|
2014-03-17 16:15:42 +01:00 |
Daniel Marjamäki
|
06618b31bb
|
Fixed #5574 (False positive: mismatchAllocDealloc using realloc() and free)
|
2014-03-17 16:10:54 +01:00 |
PKEuS
|
521734faa2
|
Fixed setVarId-Bugs #5294 and #5295.
|
2014-03-17 14:19:46 +01:00 |
PKEuS
|
b6b374cf3d
|
Added verbose message for "memsetClass" error. (#5183)
|
2014-03-17 13:23:23 +01:00 |
PKEuS
|
e0b34de090
|
Implemented #5262: VS solution copies cfg files to output folder.
|
2014-03-17 12:58:46 +01:00 |
PKEuS
|
ebd0b43c4f
|
Fixed #5382: False positive "scope can be reduced" when initializing two-dimensional array.
|
2014-03-17 12:34:39 +01:00 |
PKEuS
|
d325d14b11
|
Fixed false positive #5535: Reference named like its type.
|
2014-03-17 12:01:39 +01:00 |
PKEuS
|
50f6bb5d36
|
Fixed crash #5511.
|
2014-03-17 11:50:45 +01:00 |
PKEuS
|
86e6bb430a
|
New check: Warning, if positioning operation (fseek) is performed on a file opened in "a" mode
|
2014-03-17 11:02:03 +01:00 |
PKEuS
|
1e57f54917
|
Fixed #5481: std::array is POD, so using memcpy (etc.) is allowed on it.
|
2014-03-16 19:55:32 +01:00 |
Lucas Manuel Rodriguez
|
47ecdf58b2
|
Fixed #4804 (Improve check for 'std::string::data()' - identical to 'std::string::c_str()')
|
2014-03-16 15:04:44 -03:00 |
Lucas Manuel Rodriguez
|
9a08da17be
|
Fixed #4928 (C++ operator aliases result in false 'assigned a value that is never used' warning)
|
2014-03-16 14:51:05 -03:00 |
PKEuS
|
e05fb847df
|
Fixed #3852: Support simplification of C++11 "enum class", fixed existing simplifications
|
2014-03-16 18:24:46 +01:00 |
PKEuS
|
6b16b519a2
|
Fixed crash on wrong __attribute__((constructor)) syntax
|
2014-03-16 16:39:07 +01:00 |