Skip to content

iosifache/cppcheck-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The Cppcheck C/C++ static code analyser in a Snap 📦

Topics

Resources

License

Stars

Watchers

Forks