Alexander Mai
|
0f7071a000
|
Fix clang and coverity warnings
|
2014-06-12 20:03:11 +02:00 |
Daniel Marjamäki
|
d9a3761bfd
|
Merge pull request #331 from Dmitry-Me/DontExitInTheMiddle
Should not call std::exit() in the middle of program
|
2014-06-06 13:35:29 +02:00 |
PKEuS
|
f7f639465a
|
Fixed remaining VS warnings (hopefully all of them, this time)
|
2014-06-05 10:45:25 +02:00 |
Dmitry-Me
|
738d05b442
|
Calling std::exit() in the middle of a C++ program subverts stack unwinding and can introduce subtle bugs.
|
2014-06-05 11:28:04 +04:00 |
Alexander Mai
|
707ee97b9e
|
Fix missing break while handling SIGBUS - fixes clang compiler warning
|
2014-05-29 16:57:45 +02:00 |
Daniel Marjamäki
|
ed78d3e148
|
Library: Better error reporting when loading fails
|
2014-05-26 17:00:41 +02:00 |
Alexander Mai
|
7b36bbbba8
|
Exception handling: catch SIGBUS. Evaluate siginfo_t::si_code
|
2014-05-25 15:53:26 +02:00 |
Alexander Mai
|
5198c05f35
|
--exception-handling now takes optional argument to choose between stdout and stderr for its output. stdout is new default value
|
2014-05-25 08:47:37 +02:00 |
PKEuS
|
adf38fcfd0
|
Further include cleanup
|
2014-05-24 12:50:04 +02:00 |
PKEuS
|
1fc1ff1993
|
Moved implementation of two functions to new file check.cpp -> Don't include <iostream> everywhere
|
2014-05-24 12:50:04 +02:00 |
PKEuS
|
09e03fa6ef
|
Fixed some complaints of PVS Studio
|
2014-05-19 14:37:54 +02:00 |
PKEuS
|
65916e027c
|
Don't complain "could not find or open any of the paths given." if no arguments were passed to cppcheck (and help was shown)
|
2014-05-18 13:46:01 +02:00 |
Alexander Mai
|
ed78835020
|
Cosmetics for print_stacktrace()
|
2014-05-17 10:40:48 +02:00 |
Alexander Mai
|
08c209d4d9
|
Some cleanup for CppcheckSignalHandler, also some cosmetics for the output
|
2014-05-11 13:25:36 +02:00 |
PKEuS
|
59418e605f
|
Increased version number to 1.65.99/1.66 dev.
|
2014-05-10 12:57:33 +02:00 |
Daniel Marjamäki
|
c0131eea9e
|
1.65: Set version
|
2014-05-10 12:02:06 +02:00 |
Daniel Marjamäki
|
1903d95015
|
Fixed #5661 (--suppress=missingInclude has no effect)
|
2014-05-03 19:31:15 +02:00 |
Alexander Mai
|
718e42f5ca
|
Fix some clang warnings about type conversions
|
2014-04-11 23:35:53 +02:00 |
Daniel Marjamäki
|
42c8f73bd5
|
Removed old cli.pro file. The readme file contains instructions for building the CLI.
|
2014-04-10 17:21:07 +02:00 |
Alexander Mai
|
a06371e063
|
Fixes for Doxygen + code formatting
|
2014-04-07 20:39:19 +02:00 |
Alexander
|
2328704ca2
|
Fix compilation under cygwin since getloadavg() is not available there
|
2014-04-05 20:47:02 +02:00 |
PKEuS
|
e9411e05ba
|
Refactorized inefficient usage of std::string and const char[].
|
2014-04-02 13:56:34 +02:00 |
Daniel Marjamäki
|
22c4d45ca0
|
astyle formatting
|
2014-03-31 03:06:57 +02:00 |
Alexander Mai
|
a12e59dbee
|
Make backtrace resemble gdb bt
|
2014-03-30 21:29:17 +02:00 |
PKEuS
|
63254b33f9
|
Fixed uncaught exception in testbufferoverrun.cpp
|
2014-03-27 19:55:11 +01:00 |
Dmitry-Me
|
d0e51fb5f0
|
Make use of Visual C++ runtime memory leak tracing
|
2014-03-26 19:43:12 +04:00 |
PKEuS
|
019d4491fb
|
Fixed compilation on Windows.
[ci skip]
|
2014-03-25 19:20:59 +01:00 |
Troshin V.S
|
840fba7672
|
CLI: Add -l command line option
|
2014-03-25 18:35:59 +01:00 |
Daniel Marjamäki
|
fbd607d35d
|
Fixed cygwin compilation
|
2014-03-22 09:57:43 +01:00 |
Daniel Marjamäki
|
e48dfb0e6a
|
cygwin: apply cygwin compilation tweaks. thanks ir0nh34d.
|
2014-03-19 21:20:30 +01:00 |
Martin Ettl
|
fe1b46c174
|
Extended std.cfg
|
2014-03-19 21:08:48 +01:00 |
Alexander Mai
|
af922aedbf
|
Fix mingw build
|
2014-03-18 21:14:09 +01:00 |
Alexander Mai
|
14386d06dc
|
Enable SEH for Windows using MSVC (not for mingw)
|
2014-03-17 19:11:00 +01:00 |
Martin Ettl
|
80b1271d01
|
Astyle running and added test cases for functions in std.cfg.
|
2014-03-10 02:21:44 +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 |
Alexander Mai
|
825bb0f027
|
Fixed #5286 (Add signal/exception handling to cppcheck and cppcheck-gui)
|
2014-03-16 12:04:13 +01:00 |
Julian Santander
|
fae8ef48b8
|
Fixed #5529 (Further control in selecting what configurations to consider)
|
2014-03-10 15:49:02 +01:00 |
PKEuS
|
470f1579c1
|
Incremented version to 1.65dev/1.64.99
|
2014-03-03 15:07:54 +01:00 |
Daniel Marjamäki
|
4842115a56
|
1.64 : Update versions
|
2014-03-02 09:55:39 +01:00 |
Daniel Marjamäki
|
fd3a8a2a18
|
Update copyright
|
2014-02-15 07:45:39 +01:00 |
Daniel Marjamäki
|
30cae358d8
|
Removed the --value-flow flag. ValueFlow analysis will always be enabled from now on.
|
2014-01-17 18:07:05 +01:00 |
Daniel Marjamäki
|
2b3fa9957c
|
doxygen: added info about value flow to main page
|
2014-01-13 19:15:58 +01:00 |
Kamil Dudka
|
1f53018b8e
|
Suppress warning about non-existing path given to -I with --quiet.
|
2014-01-10 21:50:21 +01:00 |
Daniel Marjamäki
|
7cfa4c8654
|
astyle formatting
|
2014-01-08 06:06:08 +01:00 |
Daniel Marjamäki
|
f79e1b6d87
|
Fixed #5317 (failed to load std.cfg)
|
2014-01-08 05:03:55 +01:00 |
Daniel Marjamäki
|
d8270c710a
|
Add new experimental value flow analysis
|
2014-01-04 20:57:02 +01:00 |
PKEuS
|
574c27b1b2
|
Removed VS9 solution
|
2014-01-04 10:55:27 +01:00 |
PKEuS
|
55f68535b2
|
Set version to "1.64 dev"/1.63.99. Use version.h in cppcheck.cpp.
|
2014-01-04 10:41:13 +01:00 |
Daniel Marjamäki
|
6515691a47
|
1.63: Set version numbers
|
2014-01-04 09:32:37 +01:00 |
Daniel Marjamäki
|
6ff93a6b36
|
CLI: Made the 'failed to load std.cfg' nicer and more informative.
|
2014-01-03 21:59:50 +01:00 |
Alexander Mai
|
b411efa33f
|
Fixed #5302 (Invalid parameter for --showtime should cause an error)
|
2014-01-03 10:00:47 +01:00 |
Daniel Marjamäki
|
a94fccf51a
|
astyle formatting
|
2014-01-02 21:47:35 +01:00 |
Sam Truscott
|
4333dd3c75
|
Update Qt to support Markup structure
|
2014-01-02 18:18:24 +01:00 |
Matthias Krüger
|
287bc5d284
|
be more informative when "-j N --enable=unusedFunction" (N>1) is passed.
unusedFunction check is disabled when -j is passed.
|
2013-12-31 16:31:34 +01:00 |
Daniel Marjamäki
|
c3f101e043
|
doxygen: document on the main page that we have access to syntax tree, symbol database and library.
|
2013-12-27 15:07:42 +01:00 |
Daniel Marjamäki
|
562387e3ff
|
library: use extensions when loading std.cfg and posix.cfg
|
2013-12-26 13:18:54 +01:00 |
Daniel Marjamäki
|
4131c621c9
|
Fixed #5254 (Warn about missing library files (.cfg))
|
2013-12-26 11:15:28 +01:00 |
Daniel Marjamäki
|
76b907fe65
|
Fixed #5252 (Improve check: use Library to validate function arguments in invalidFunctionUsage)
|
2013-12-23 10:06:45 +01:00 |
Daniel Marjamäki
|
5ba02d2fdd
|
AST: Always use AST
|
2013-12-09 18:06:19 +01:00 |
Daniel Marjamki
|
8910bae801
|
Fixed #5137 (Defining empty macro from commandline does not seem to work)
|
2013-11-03 09:46:03 +01:00 |
Daniel Marjamäki
|
bbdfd8b5c7
|
Make it possible to create AST, by using the --ast flag
|
2013-11-02 18:37:35 +01:00 |
Daniel Marjamäki
|
e446a28b3d
|
Refactoring FileLister and Path so they don't depend on Library
|
2013-10-31 19:09:01 +01:00 |
PKEuS
|
f572f3dd81
|
Fixed typo in __clang__ macro
|
2013-10-27 13:40:10 +01:00 |
PKEuS
|
9790e09e2d
|
Work around clang pretending to be GCC 4.2. Require clang 2.9
|
2013-10-27 13:34:05 +01:00 |
PKEuS
|
0db50dc0f6
|
Print a warning instead of a message on MSVC < 1600
|
2013-10-27 12:59:10 +01:00 |
PKEuS
|
a2ef80b74b
|
Warn about deprecated compilers
|
2013-10-27 12:55:36 +01:00 |
Sam Truscott
|
6806fd8135
|
Extended Qt support through Library
|
2013-10-20 14:09:10 +02:00 |
PKEuS
|
4cd2fad2bf
|
Set version to 1.63 dev
|
2013-10-13 09:53:56 +02:00 |
Daniel Marjamäki
|
21c537e8d7
|
1.62: Set versions
|
2013-10-12 12:22:52 +02:00 |
Robert Reif
|
1959377423
|
Fixed #4963 (cppcheck and testrunner Visual Studio 2008 build failure)
|
2013-10-08 05:36:52 +02:00 |
Daniel Marjamäki
|
43b40b7465
|
Refactoring: Reordered includes. Put local ones before system includes.
|
2013-09-04 06:18:22 +02:00 |
Daniel Marjamäki
|
d2d0f3a292
|
cli.pro: dont include tinyxml both from lib.pri and cli.pro
|
2013-08-04 13:05:25 +02:00 |
PKEuS
|
4a84195a8c
|
Updated to latest TinyXML
Build TinyXML into core dll once and use it from CLI
|
2013-08-03 20:29:50 +02:00 |
PKEuS
|
219f6546d3
|
Set version to 1.62 dev
|
2013-08-03 19:54:39 +02:00 |
Daniel Marjamäki
|
2f7fba2087
|
1.61: Set versions
|
2013-08-03 08:04:38 +02:00 |
Daniel Marjamäki
|
0c5e39a813
|
Library: Added configuration file std.cfg that clients should load.
|
2013-07-20 17:12:56 +02:00 |
Daniel Marjamäki
|
1a2aaa6780
|
Library: If load from current path fails, try to load 'default' configuration from cppcheck-executable path. Allow that '.cfg' extension is not used. Allow that multiple configurations are provided (comma separated).
|
2013-07-20 10:21:05 +02:00 |
Daniel Marjamäki
|
a216edfd07
|
updated manual and CLI --help output
|
2013-07-20 09:38:44 +02:00 |
XhmikosR
|
29475d056a
|
Use the full sourceforget.net url.
|
2013-07-16 09:01:56 +02:00 |
Daniel Marjamäki
|
7d47fd65a2
|
Renamed --environment to --library. Added --check-library. Renamed Environment to Library
|
2013-07-08 18:26:18 +02:00 |
Alexander Mai
|
b7bb16ea77
|
Fixed #4897 (callStackToString is not available when using custom message template)
|
2013-07-08 06:44:25 +02:00 |
Daniel Marjamäki
|
de2f959312
|
CLI: don't crash if summary in rule file is empty
|
2013-07-06 12:01:46 +02:00 |
Daniel Marjamäki
|
61e1dd5096
|
Environment: Refactoring and cleanup
|
2013-07-05 20:55:31 +02:00 |
Daniel Marjamäki
|
d96fb577cd
|
CLI: Added --environment flag
|
2013-07-02 07:18:19 +02:00 |
Daniel Marjamäki
|
6b2bab535b
|
CLI,LIB: Added --std setting for GTK
|
2013-06-29 12:55:24 +02:00 |
Daniel Marjamäki
|
00909486ab
|
unusedFunction: updated help text and manual. it is recommended that this check is only enabled when the whole program is scanned.
|
2013-06-16 11:57:02 +02:00 |
Reijo Tomperi
|
ae65a47f5f
|
Add missing line change to CLI help text, near style.
|
2013-06-13 20:57:15 +03:00 |
Daniel Marjamäki
|
537166cf47
|
Rules: Make it possible run a rule on the 'normal' token list
|
2013-06-09 14:58:56 +02:00 |
Daniel Marjamäki
|
964b6cbd82
|
help: Improved help text for -D and -U
|
2013-06-09 13:00:08 +02:00 |
Daniel Marjamäki
|
c65437c74c
|
manual, help text: updates of --enable text. updates of 'Preprocessor configurations' section, the --force and --max-configs can be used together with -D.
|
2013-06-09 10:34:45 +02:00 |
Daniel Marjamki
|
4e09b06bc1
|
Fixed #4827 (allow checking multiple configurations when using -D by also using --max-configs or --force)
|
2013-06-08 16:46:54 +02:00 |
Daniel Marjamki
|
c83bd7f00f
|
1.60.1: Set versions
|
2013-06-02 13:13:40 +02:00 |
Daniel Marjamäki
|
d36d3d5469
|
1.60: set version
|
2013-06-01 15:17:07 +02:00 |
Daniel Marjamäki
|
a7da65a40b
|
Fixed #4618 (Unmatched suppression: don't show this information message unless --enable=information or --check-cfg is used)
|
2013-05-31 15:20:58 +02:00 |
Daniel Marjamäki
|
75f6013d13
|
Fixed #4755 (buggy --xml reports in 1.59)
|
2013-05-20 16:19:31 +02:00 |
PKEuS
|
2ec5d8953e
|
Small refactorization in threadexecutor.cpp: Use prefix increment; Reuse iterator.
|
2013-03-31 01:26:09 -07:00 |
PKEuS
|
f08a01fb26
|
Fixed MSVC warning in threadexecutor.h when compiling as x64
|
2013-03-31 01:11:34 -07:00 |
Daniel Marjamäki
|
c733928505
|
1.59: Set versions
|
2013-03-29 18:06:13 +01:00 |
Daniel Marjamäki
|
8f2ca7c9d0
|
Fixed #4636 (Fails to compile using mxe *-to-windows cross compiler)
|
2013-03-14 06:45:32 +01:00 |
Daniel Marjamäki
|
d8fc126cf0
|
Fixed #4612 (Adding file extensions to Cppcheck analysis)
|
2013-03-03 07:32:14 +01:00 |