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
XhmikosR
d035470963
Update tinyxml to v2.0.2.
2014-03-18 17:00:28 +02:00
XhmikosR
fc54e6acc4
Trim tailing spaces and convert tabs to spaces.
2014-03-18 17:00:28 +02:00
XhmikosR
4928dc52bb
daca2: Move style into daca2.css.
2014-03-18 16:50:38 +02:00
XhmikosR
b608a8904a
Minify sorttable.min.js and use that in daca2-report.py.
2014-03-18 16:48:03 +02: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
a3bc80bd7d
Merge pull request #270 from matthiaskrgr/travis_kernel
...
travis: allow failure of the kernel job. It sometimes times out when travis is on heavy load (which is a false positive).
2014-03-18 06:14:34 +01:00
Robert Reif
7b5a96dc06
Partial fix for #5536 (printf/scanf argument tests failing on Windows x64)
2014-03-18 06:12:09 +01:00
Matthias Krüger
24e1872772
travis: apply the same hack I used to work around broken exit status and kernel checking to cppcheck checking its own code (use -j2). Speeds up by around 3-4 minutes per affected job.
2014-03-18 01:58:43 +01:00
Matthias Krüger
841df2a6af
travis: allow failure of the kernel job. It sometimes times out when travis is on heavy load (which is a false positive).
2014-03-17 19:47:23 +01:00
Alexander Mai
14386d06dc
Enable SEH for Windows using MSVC (not for mingw)
2014-03-17 19:11:00 +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
Daniel Marjamäki
fe94d9b4d5
Merge pull request #269 from matthiaskrgr/travis
...
travis: remove hack to terminate clang kernel jobs early, instead avoid it properly.
2014-03-17 13:53:07 +01:00
Matthias Krüger
8e47235053
travis: remove hack to terminate clang kernel jobs early, instead avoid it properly.
2014-03-17 13:23:29 +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
Daniel Marjamäki
f277d5fb78
Merge pull request #268 from matthiaskrgr/times_sh
...
tools: times.sh: show more information in stdout (while still printing it to the log), compute averages of runs, automatically compile and run "times" binary after generating the log.
2014-03-17 05:34:11 +01:00
Matthias Krüger
76fb3903ff
tools: times.sh: show more information in stdout (while still printing it to the log), compute averages of runs, automatically compile and run "times" binary after generating the log.
2014-03-17 02:12:37 +01:00
Daniel Marjamäki
70c5ddb6d8
Merge pull request #267 from matthiaskrgr/travis
...
travis: remove HAVE_RULES=yes-only build and dublicted kernel checking
2014-03-16 20:37:42 +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
Matthias Krüger
c799fe10f5
travis: remove HAVE_RULES=yes-only build. If we dealing with a clang job, abort the kernel checking, so we have basically only one compiler checking the kernel with cppcheck which should be enough.
2014-03-16 19:38:55 +01:00
Martin Ettl
80b1271d01
Astyle running and added test cases for functions in std.cfg.
2014-03-10 02:21:44 +01:00
Martin Ettl
26af1a232a
Extended std.cfg about <cstring> functions and added testcases.
2014-03-10 02:12: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
Alexander Mai
6fb4ce37fb
Merge branch 'master' of https://github.com/danmar/cppcheck
2014-03-16 18:37:38 +01:00
Alexander Mai
c2a602a6bd
Refactor signal handling code: prepare for demangling names, handle SIGINT w/o backtrace, remove our own signal handler frames from backtrace
2014-03-16 18:37:28 +01: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
Daniel Marjamäki
4cad45e084
Merge pull request #266 from matthiaskrgr/travis
...
travis: check kernel as part of travis testing.
2014-03-16 13:58:51 +01:00
XhmikosR
66e448f0fd
daca2-report.py: tweak style more.
...
[ci skip]
2014-03-16 13:27:24 +02:00
XhmikosR
9e80080738
Add sorttable.js to the repository.
2014-03-16 13:22:22 +02:00
XhmikosR
c7b2f08782
daca2-report.py: move script inclusion after any style.
...
[ci skip]
2014-03-16 13:14:19 +02:00
Alexander Mai
825bb0f027
Fixed #5286 (Add signal/exception handling to cppcheck and cppcheck-gui)
2014-03-16 12:04:13 +01:00
Alexander Mai
cba1879fee
Fixed #5571 (Clean up MathLib::isInt())
2014-03-16 11:55:44 +01:00
XhmikosR
4ab04ef255
htdocs: Tweak JS.
...
[ci skip]
2014-03-16 12:41:11 +02:00
Matthias Krüger
9d44062f7f
travis: check kernel as part of travis testing.
...
add 2 more jobs (one for gcc, one for clang) which only compile Cppcheck with opimization CXXFLAGS to afterwards check a fixed version of the linux kernel to see if cppcheck crashes.
2014-03-16 11:26:53 +01:00
XhmikosR
bfd388dc15
daca2-report.py: fix CSS style.
...
[ci skip]
2014-03-16 12:19:52 +02:00