https://github.com/jubnzv/cppcheck-nvd-checker
Helper scripts to verify Cppcheck bug-hunting mode on NVD CVE datasets
https://github.com/jubnzv/cppcheck-nvd-checker
cppcheck cve nvd
Last synced: 20 days ago
JSON representation
Helper scripts to verify Cppcheck bug-hunting mode on NVD CVE datasets
- Host: GitHub
- URL: https://github.com/jubnzv/cppcheck-nvd-checker
- Owner: jubnzv
- Created: 2020-12-10T07:10:13.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-13T15:45:15.000Z (over 4 years ago)
- Last Synced: 2025-03-29T03:23:06.324Z (about 1 month ago)
- Topics: cppcheck, cve, nvd
- Language: Python
- Homepage:
- Size: 30.3 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cppcheck-nvd-checker
Helper scripts to verify Cppcheck bug-hunting mode on NVD CVE datasets.
See [this thread](https://sourceforge.net/p/cppcheck/discussion/development/thread/834110f0e7/) on the forum for background.## `checker.py`
This script is used to download NVD CVE data and collect additional information about vulnerabilities through Github API.
You will need Github API token to run in. Go to settings and [generate](https://github.com/settings/tokens/new) a new one.
Then run it:
```bash
GITHUB_TOKEN='fffffff' python3 checker.py --format=html > report.html
```## `expr-printer.py`
Used to generate an HTML report on symbolic expressions of an abstract interpretation engine.
Usage:
```bash
cppcheck main.cpp --bug-hunting --debug --debug-bug-hunting --verbose 2>&1 > data.txt
python3 expr-printer.py main.cpp data.txt > report.html
```