Menu

Cppcheck-2.17.0

Release Notes for Cppcheck 2.17

New checks:
- staticFunction: detect functions that should have internal linkage since they
are not used outside of their translation unit (C code only).
- Check null pointer return from memory/resource allocation functions (nullPointerOutOfMemory,
nullPointerArithmeticOutOfMemory, nullPointerOutOfResources, ctunullpointerOutOfMemory,
ctunullpointerOutOfResources).

Changed interface:
- Added reduced check level. It can be activated with --check-level=reduced. You get faster analysis
but some fewer results. The motivation is to be able to make analysis time "acceptable" for direct usage.
- Added --report-type option. Enables printing of guidelines and classifications for several coding
standards in place of the regular error identifiers and severities.

Other:
- Removed deperecated support for builds via qmake.
- Using a handwritten rule texts file for MISRA C addon violates license and copyright terms. See the
manual for instructions how to download a official rule texts file from MISRA.

Posted by Daniel Marjamäki 2025-02-23 Labels: 2.17.0

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.