Registry / testing / flawfinder

flawfinder

JSON →
library2.0.20pypypiunverified

A static analysis tool for C/C++ code that searches for potential security flaws (e.g., buffer overflows, format string vulnerabilities). Version 2.0.19 requires Python >=2.7, with no recent releases; appears to be in maintenance mode.

pip install flawfinder
INSTALL
IMPORT
SIG · FLAWFINDER
F
flawfinder
testingpythonv2.0.20
Install
1.5s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.0.20 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

scan
from flawfinder import scan
from flawfinder import scan

Flawfinder is primarily a command-line tool. Use subprocess to invoke it from Python.

import subprocess result = subprocess.run(['flawfinder', '--help'], capture_output=True, text=True) print(result.stdout)
flawfinder --version
Debug
Known issues
gotchaFlawfinder is a command-line tool, not a Python library designed for import. Attempting to import 'flawfinder' as a module may work but is not officially supported and may break.
fix
Use subprocess or os.system to call flawfinder from Python.
affects: All
deprecatedFlawfinder has not been updated since 2019; requires Python >=2.7. It may not work on Python 3.10+ without adjustments.
fix
Consider alternatives like Cppcheck or clang-tidy for modern C/C++ analysis.
affects: >=2.0.19
Upgrade
Version history
2.0.20latest on PyPI · released May 17, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
22
OpenAI (training)
1
Resources
flawfinder — pip install flawfinder · libregistry