Project Structure ================= :: src/ +-- lib.rs # Library crate: module tree and prelude +-- main.rs # CLI entry point, built on the library crate +-- analyze/ # Core analysis engine | +-- mod.rs # Project analysis orchestration | +-- cfg.rs # Control-flow graph construction | +-- context.rs # Cross-file project context | +-- dataflow.rs # Reaching definitions analysis | +-- function_summary.rs # Inter-procedural function summaries | +-- null_state.rs # CFG-based null state dataflow | +-- prescan.rs # Directory pre-scanning for cross-file context | +-- suppression.rs # Violation suppression system +-- export/ # Export functionality | +-- mod.rs # SARIF and JSON export +-- files/ # File and repository handling | +-- mod.rs # Git integration and file discovery +-- manifest/ # Rule configuration system | +-- mod.rs # TOML manifest parsing and validation +-- parser/ # C code parsing | +-- mod.rs # Tree-sitter C parser integration +-- progress.rs # CLI progress reporting +-- rules/ # Rule implementations | +-- mod.rs # Rule trait and registry | +-- brules/ # JPL-derived BRULE-### rules (opt-in) | +-- cwe/ # CWE ruleset: CWE-272, CWE-327, CWE-428, CWE-666 (on by default) | +-- cert_c/ # Individual CERT C rule modules (17 categories) | +-- API/ # API rules | +-- ARR/ # Array rules | +-- CONC/ # Concurrency rules (CON ids) | +-- DCL/ # Declaration rules | +-- ENV/ # Environment rules | +-- ERR/ # Error handling rules | +-- EXP/ # Expression rules | +-- FIO/ # I/O rules | +-- FLP/ # Floating point rules | +-- INT/ # Integer rules | +-- MEM/ # Memory rules | +-- MSC/ # Miscellaneous rules | +-- POS/ # POSIX rules | +-- PRE/ # Preprocessor rules | +-- SIG/ # Signal rules | +-- STR/ # String rules | +-- WIN/ # Windows rules +-- settings/ # Policy and environment settings: presets, options, facts (ADR-0015) +-- toolchain.rs # Shared toolchain.toml ignore paths +-- ui/ # Terminal user interface (optional `tui` feature, disabled by default) | +-- mod.rs # Ratatui-based interactive UI +-- utility/ # Helper functions +-- mod.rs # Common utilities and helpers bench/ # Benchmark infrastructure +-- runner.py # Juliet benchmark runner +-- analyzer.py # Result analysis and scoring +-- __main__.py # Benchmark CLI (python -m bench) rules_templates/ # Rule manifests +-- rules-all.toml # 280 of 296 CERT C rules enabled, and the 4 CWE-ruleset rules +-- removed-rules.toml # Rules no longer shipped (ADR-0013) +-- cwe/ # Per-CWE manifests for Juliet benchmarking (generated by # scripts/generate_rule_cwe_map.py; not tracked) docs/ # Documentation and CI examples +-- index.rst # Master document (Sphinx toctree) +-- conf.py # Sphinx configuration +-- azure-pipelines.yml # Azure DevOps example pipeline examples/ # Example programs and an example GitHub workflow +-- aurora-lint-analysis.yml # Copy into .github/workflows/ to use it scripts/ # Hook checks, generators and helper scripts .github/workflows/ # GitHub Actions +-- ci.yml # CI: fmt, clippy, pre-commit hooks, commit messages, tests, coverage, docs +-- changelog-safety.yml # Checks the committed changelog (ADR-0007) +-- release.yml # Release automation