Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

This page's audience our own tag's counts — open to see them
–Visits
–Page views
–Clicks to vendors
–Time on page
–Reading now
Clicks to vendors, by tool
  • –
Top countries
  • –
Devices
  • –

– · visits, page views and clicks counted by our own tag, which counts more than our checked analytics; every figure rounded down · how we count

Flawfinder

Flawfinder: A free, focused scanner for finding potential C/C++ security weaknesses. Ranked #24 of 26 in SAST Tools by our editors (6.8/10); pricing: Free plan; best for C/C++ teams needing simple free scanning.

6.8/10Editor score
Flawfinder6.8 Visit Flawfinder

At a glance

  • Editor score
    6.8 / 10
  • Pricing
    Free plan
  • Best for
    C/C++ teams needing simple free scanning
  • Free plan
    Yes
  • Paid from
    Free
  • Facts checked
    21 Sep 2026
Flawfinder screenshot
  • Where it wins

    • Free open-source scanning for C and C++ source code
    • CWE identifiers and risk levels from 0 through 5
    • SARIF, HTML, CSV, and SonarQube-compatible reports
  • Where it doesn't

    • Lexical analysis is less deep than interprocedural analysis
    • No custom rules or autofix
    • Patch scanning reviews unified diffs rather than providing native pull-request integration

Our verdict on Flawfinder

Flawfinder is an open-source static analysis command-line tool for developers and security reviewers working with C and C++ source code. It lexically scans source files for tokens and function calls associated with potential security weaknesses, then assigns risk levels from 0 through 5 and includes relevant Common Weakness Enumeration identifiers. Because it can analyze incomplete or unbuildable source, it fits teams that need an accessible first layer of source-code review across Linux, macOS, or Windows through Cygwin.

Its strongest practical advantage is focused reporting control. Teams can set a minimum risk level, filter results with regular expressions, add suppression comments, or disable ignores. Findings can be saved, reloaded, and diffed, while unified-diff patch scanning helps reviewers focus on changed lines. Output is available in text, HTML, CSV, SARIF, and SonarQube-compatible formats, with integrations for GitHub Actions, SonarQube, Vim, and Emacs. These options make Flawfinder suitable for command-line workflows and lightweight CI reporting without requiring a broader development platform.

The trade-off is analysis depth. Flawfinder performs lexical scanning rather than the deeper interprocedural analysis some SAST tools provide, and its published capabilities do not include custom rules or autofix. Its patch-scanning feature reviews unified diffs, but it is not documented as a native pull-request provider integration. Choose Flawfinder when free, open-source C/C++ scanning, configurable filtering, and portable reports are the priority. Teams seeking custom rule authoring, automated code changes, or deeper program-flow analysis should consider a different SAST approach.

Your product? Our editors can test Flawfinder in depth and publish a review, labelled as paid · from $149/mo →

Flawfinder pricing

Plans Free planFree Free to use — no paid tier required for the core job.
See plans on dwheeler.com

Flawfinder fact sheet

Free planYes
Paid fromFree
Analysis targetssource code
Languages supportedNot verified
Pull request scansNot verified
IDE supportNot verified
CI/CD integrationYes
Custom security rulesNot verified
Automated fixesNot verified
DeploymentSelf-hosted
PlatformsWindows, macOS, Linux
SupportCommunity, Docs
Built forSolo, Small business, Mid-market, Enterprise (editorial estimate)
Integrations2 integrations: GitHub Actions, SonarQube
PricingFree plan
Websitedwheeler.com
Facts checked21 Sep 2026

Flawfinder integrations

Flawfinder lists 2 integrations on its own site.

  • GitHub Actions
  • SonarQube

Alternatives to Flawfinder

See all Flawfinder alternatives →

Also Ranked In

Flawfinder is ranked in 5 of our directories.

Used Flawfinder? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Flawfinder for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Flawfinder 6.8/10

Flawfinder is listed in our SAST Tools directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/flawfinder/"><img src="https://www.itechguides.com/best/badge/flawfinder.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update