Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 2.16 KB

README.md

File metadata and controls

41 lines (32 loc) · 2.16 KB

Cppcheck's logo

C/C++ static code anayser

Snapcraft's Version     Ubuntu's Version     GitHub Build Workflow Status

Description

Cppcheck is a static analysis tool for discovering bugs in C and C++ codebases, even when a non-standard syntax is used.

By implementing coding standards such as Mistra C 2012 and providing extensibility with custom rules, it detects dangerous coding constructs such as buffer overflows, NULL pointer dereferences, and divisions by zero. At the same time, Cppcheck tries to minimise the false positive rates.

Get it from the Snap Store

Notice: If you want to view the officially recommended method of installing of the tool, refer to the Cppcheck documentation.

The goal of this repository is to package Cppcheck as a community snap that can be effortlessly installed across a variety of Linux distributions.

Local Build

  1. Clone this repository: git clone https://github.com/iosifache/cppcheck-snap
  2. Move into the cloned repository: cd cppcheck-snap
  3. Install Snapcraft: sudo snap install snapcraft --classic
  4. Build the snap: snapcraft --verbose
  5. Install the snap: snap install --dangerous ./cppcheck_*.snap
  6. Test the snap by running the cppcheck command: cppcheck