Posted
over 7 years
ago
by
Daniel Marjamäki
Cppcheck-1.75 has been released
General changes:
- Replaced internal preprocessor by the brand-new preprocessor 'simplecpp'
- Improved Windows installer: Install a copy of the license instead of asking to accept it
- The Windows x64 binaries are now
... [More]
compiled with profile guided optimization, resulting in a speedup of 11%
- Improved manual, especially the chapter about Libraries
- Improved CWE mapping
- --append is deprecated and will be removed in 1.80
New checks:
- Detect passed by value for non-const variables and print message only if type size justifies optimization
Checking improvements:
- Implemented support for trailing return types (C++11)
- Improved support for digit separators (C++14)
- Improved support for enum types in buffer overflow checking
- Better handling of volatile variables when checking for redundant assignments
- Properly support integer suffixes i64 and ui64
- Support function arguments with default value in Libraries
- Always set file0 attribute of error messages to identify the source file cppcheck was checking
Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
[Less]
|
Posted
almost 8 years
ago
by
w-peuker
I found a really big problem, but sadly forgot my trac password, here the short version:
False positive: Cppcheck seems to reduce typefeds with the VCL language extension for events
typedef void(__closure* TMyIpcEvent)(const TIpcBufferRef&);
to
... [More]
nothing. So if there is a constructor like this
class MyClass { public: MyClass(TMyIpcEvent, int); };
It is detecting the noExplicitConstructor style warning, which is obviously wrong, because there are 2 arguments.
Thanks so much for having a look at it :)
[Less]
|
Posted
almost 8 years
ago
by
Daniel Marjamäki
Cppcheck-1.74 has been released
General changes:
- Improved CWE mapping of messages
- Git pre-commit hook checks only added or modified files
Checking improvements:
- Replaced simplification of enums by keeping and parsing them in the SymbolDatabase
... [More]
- Added support to Library for specifying the parameter used by allocating/deallocating functions
- Improved support for integers defined in Libraries
- Improved accuracy of ValueType analysis
- Improved accuracy of VarID assignment, especially when dealing with structs and unions
- Improved performance of VarID assignment, checking for struct member usage, buffer overrun checking and several simplifications
- Added support for lots functions to windows.cfg and posix.cfg
- Better support for operator overloads
- Detect buffer overflows when %c is used with a width
- Improved checking for sizeof() taken of wrong type
- Support char literals when checking for conditions being always true or false
- Reimplemented check for usage of boolean results used in bitwise operations based on ValueType
- Improved checking for c_str() usage
Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
[Less]
|
Posted
about 8 years
ago
by
Daniel Marjamäki
Cppcheck-1.73 has been released
General changes:
- CWE mapping of messages
- Translated manual to Japanese language
Removed checks:
- Checks for variables hiding enums or typedefs have been removed
New checks:
Checking improvements:
- Improved
... [More]
ValueType a lot, use it in more checks
- Improved VarId support for template constructors, namespaces and references as class members
- Improved libraries, especially gnu.cfg, posix.cfg and windows.cfg
- Improved simplification of enums and templates
- Better distinguishing between possible and known null pointer dereferenciations
- Assume integers to be signed by default
- better support for cplusplus macro in preprocessor
- Preprocessor directives for addons
- New tools: times-vs.py, reduce.py
GUI:
- Detect Geany and QtCreator
- Make statistics dialog shown when checking is finished optional
Additionally, lots of false positives and bugs have been fixed and several existing checks have been improved.
[Less]
|
Posted
about 8 years
ago
by
Daniel Marjamäki
cppcheck-1.72-x64-Setup.msi :
cb91e6f53972f7d4408265f8f3cf78a021ef7a3e
cppcheck-1.72-x86-Setup.msi
a51a42debabe3c3136535ab05575e6288e5ea3b4
I will try to use github for next release.
|
Posted
about 8 years
ago
by
Daniel Marjamäki
cppcheck-1.72-x64-Setup.msi :
cb91e6f53972f7d4408265f8f3cf78a021ef7a3e
cppcheck-1.72-x86-Setup.msi
a51a42debabe3c3136535ab05575e6288e5ea3b4
I will try to use github for next release.
|
Posted
about 8 years
ago
by
Colin D Bennett
I also had problems with the FTP download -- can you post the SHA-1 hashes of the official .msi files so we can verify the SourceForge downloads have not been tampered with? Thanks!
|
Posted
about 8 years
ago
by
Colin D Bennett
I also had problems with the FTP download -- can you post the SHA-1 hashes of the official .msi files so we can verify the SourceForge downloads have not been tampered with? Thanks!
|
Posted
over 8 years
ago
by
Djouro Niem
I know lots of people that do not download anything from sourceforge anymore. I do not trust any exe or msi downloaded from here, and I won't run it on my computer.
I don't get why projects are still staying on a site that adds adware to its
... [More]
software. There's great free alternatives out there like GitHub, Gitbucket, and I'm sure many more, that do not potentially add adware to software.
[Less]
|
Posted
over 8 years
ago
by
Djouro Niem
I know lots of people that do not download anything from sourceforge anymore. I do not trust any exe or msi downloaded from here, and I won't run it on my computer.
I don't get why projects are still staying on a site that adds adware to its
... [More]
software. There's great free alternatives out there like GitHub, Gitbucket, and I'm sure many more, that do not potentially add adware to software. [Less]
|