# secure-software-engineering/phasar

A LLVM-based static analysis framework.

Repository: https://github.com/secure-software-engineering/phasar
Canonical: https://ross.abutalabs.com/products/phasar
Language: C++
License: NOASSERTION
License Family: other
Topics: llvm, program-analysis, data-flow-analysis, c, cpp, static-analysis
Last push: 2026-09-02T16:19:57+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 46, longevity 100
- inputs: {"age_days": 3044, "days_push": 0, "days_rel": 145, "gap_med": 195.5, "n_releases_24m": 3}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1053, forks 159 (observed 2026-09-03T02:15:17.734865+00:00)

## What it is
PhASAR is a LLVM-based static analysis framework written in C++20 that solves user-specified data-flow problems automatically on LLVM IR. It provides IFDS/IDE, WPDS, and monotone solvers along with call-graph, points-to/alias, type-hierarchy, and taint analysis infrastructure.

## Use cases
- build a taint analysis for C/C++ code
- compute call graphs and points-to information from LLVM IR
- run interprocedural data-flow analysis with IFDS/IDE
- find security vulnerabilities via static analysis
- analyze C++ type hierarchies from LLVM bitcode
- prototype custom static analyses on LLVM IR

## When to choose
- you need a programmable, solver-based static analysis framework over LLVM IR
- you want ready-made call-graph, alias, and ICFG infrastructure
- you are doing security research like taint or vulnerability analysis on C/C++

## When to avoid
- you need dynamic or runtime analysis rather than static analysis
- your code does not compile to LLVM IR
- you want a turnkey linter with no C++ development

## Facets
- artifact type: framework
- maturity: active
- function: linter, parser, compiler, security, developer-tools
- domain: security, developer-tools, programming-languages, compilers
- platform: cpp, cross-platform
- tags: llvm, data-flow-analysis, ifds, ide-solver, taint-analysis, points-to-analysis, call-graph, program-analysis, linux, macos

## Member repositories
- secure-software-engineering/phasar (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:17.734865+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:59:02.891086+00:00, confidence not recorded.
  - readme: https://github.com/secure-software-engineering/phasar (fetched 2026-09-03T02:15:17.734865+00:00, sha fdff3e2d397d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
