diff --git a/README.md b/README.md
index 3218f06..845a615 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,37 @@
-# ctrace
+
+
+# CoreTrace
+
+**Static and dynamic analysis. Unified diagnostics.**
+
+Analyze C/C++ with `ctrace`, add optional Python analysis, and bring findings
+to your terminal, SARIF reports or HTTP workflows.
+
+[**Website**](https://coretrace.fr) · [**Web app**](https://app.coretrace.fr/) · [**Releases**](https://github.com/CoreTrace/coretrace/releases) · [**Configuration**](docs/configuration.md) · [**Contributing**](CONTRIBUTING.md)
+
+[](https://github.com/CoreTrace/coretrace/actions/workflows/build.yml)
+[](https://github.com/CoreTrace/coretrace/actions/workflows/clang-format.yml)
+[](https://github.com/CoreTrace/coretrace/actions/workflows/license-compliance.yml)
+[](#coverage)
+
+Coverage snapshot: [2026-10-04 on main](#coverage). CI badges update automatically.
+
+[](https://github.com/CoreTrace/coretrace/releases)
+[](LICENSE)
+[](https://github.com/CoreTrace/coretrace/stargazers)
+[](https://github.com/CoreTrace/coretrace/issues)
+
+[](#build)
+[](#build)
+[](#build)
+
+
+
+---
+
+[Quick start](#quick-start) · [Build](#build) · [Analyzers](#analyzers) · [Releases](#releases) · [Configuration](#configuration) · [SARIF](#sarif-output) · [Exit codes](#exit-codes) · [HTTP API](#server-mode) · [Development](#development)
+
+## Overview
`ctrace` finds bugs in C and C++ code before it runs: stack buffer overflows, data races,
deadlocks, uninitialized reads, memory errors at run time. It runs several analyzers on your
@@ -8,7 +41,13 @@ that can fail a CI pipeline. It also checks Python projects.
It is for C and C++ developers and the CI pipelines of their projects. Part of
[CoreTrace](https://github.com/CoreTrace); see the [roadmap](ROADMAP.md) for where it is going.
-### Quick start
+| Capability | What you get |
+| :--- | :--- |
+| **Code analysis** | Static and dynamic analysis for C/C++, plus an optional Python analyzer. |
+| **Unified findings** | Consistent diagnostics across tools, with SARIF 2.1.0 export. |
+| **Workflow integration** | A command-line interface, configurable CI failure thresholds and an HTTP API. |
+
+## Quick start
On Linux (x86-64 or arm64, glibc 2.34 or newer), the release archive needs neither a compiler
nor LLVM; only the C library headers (`libc6-dev` on Debian and Ubuntu, `glibc-devel` on RHEL).
@@ -47,29 +86,49 @@ at line 5, column 19
↳ (this is a write access)
```
-The exit code is 2: a finding at or above `--fail-on`. Add `--sarif-format --report-file
-ctrace.sarif` for a report that GitHub Code Scanning reads. On macOS (Apple silicon, macOS 15 or
-newer), take the disk image of the release instead ([RELEASES](#releases)). To change the code,
+The exit code is 2: a finding at or above `--fail-on`. On macOS (Apple silicon, macOS 15 or
+newer), take the disk image of the release instead ([Releases](#releases)). To change the code,
[build from source](#build).
-### Contribute
+Export the findings as SARIF for your CI workflow, a report that GitHub Code Scanning reads:
-Start with an issue labelled
-[`good first issue`](https://github.com/CoreTrace/coretrace/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22good%20first%20issue%22),
-and read [CONTRIBUTING.md](CONTRIBUTING.md): a maintainer answers within three business days.
+```bash
+./coretrace-v0.85.0-linux-amd64/bin/ctrace --input demo.c --invoke ctrace_stack_analyzer \
+ --sarif-format --report-file ctrace.sarif
+```
-### Repository documents
+### Use a configuration file
+
+Save the equivalent settings as `coretrace.json` at your project root, adjusting `files.input`
+to match your source files:
+
+```json
+{
+ "schema_version": 1,
+ "analysis": {
+ "invoke": ["ctrace_stack_analyzer"]
+ },
+ "files": {
+ "input": ["src/main.c"]
+ },
+ "output": {
+ "sarif_format": true,
+ "report_file": "ctrace.sarif"
+ }
+}
+```
-- [CONTRIBUTING.md](CONTRIBUTING.md)
-- [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)
-- [AUTHORS.md](AUTHORS.md)
-- [CHANGELOG.md](CHANGELOG.md)
-- [LICENSE](LICENSE)
-- [SECURITY.md](SECURITY.md)
-- [GOVERNANCE.md](GOVERNANCE.md)
-- [ROADMAP.md](ROADMAP.md)
+Pass the file to the orchestrator from your project root:
-### BUILD
+```bash
+ctrace --config coretrace.json
+```
+
+Relative input paths are resolved from the configuration file's directory. Omitted settings
+keep their defaults, and command-line options override the file's values.
+See the [configuration reference](docs/configuration.md) for all available settings.
+
+## Build
Builds from source need Git, CMake 3.28 or newer, Ninja, a C++20 compiler whose standard library
provides `` (GCC 13 or newer, or Clang with libstdc++ 13 or libc++), and the LLVM 20 and
@@ -80,6 +139,11 @@ LLVM and Clang installations: `LLVM_DIR` and `Clang_DIR` select their CMake pack
`ctrace`. These paths are build-time settings; an installed or released `ctrace` does not need
LLVM or Clang on the machine where it runs.
+### Configure
+
+
+Ubuntu 24.04 · LLVM/Clang 20
+
On Ubuntu 24.04, install the build tools and the same LLVM/Clang 20 packages as CI, then
configure from the repository root:
@@ -94,6 +158,11 @@ cmake -S . -B build -G Ninja \
-DENABLE_PYTHON_ANALYZER=OFF
```
+
+
+
+Ubuntu 22.04 · GCC 13 · LLVM/Clang 20
+
On Ubuntu 22.04, the system's GCC 11 lacks `` and its CMake is 3.22: take GCC 13 from the
toolchain PPA, as the release build does, and a CMake release from Kitware. The PPA also updates
the system's `libstdc++6` and `libgcc-s1`.
@@ -113,6 +182,11 @@ CC=gcc-13 CXX=g++-13 cmake -S . -B build -G Ninja \
-DENABLE_PYTHON_ANALYZER=OFF
```
+
+
+
+macOS · Homebrew LLVM/Clang 20
+
On macOS, use Homebrew's versioned LLVM formula:
```bash
@@ -124,6 +198,11 @@ cmake -S . -B build -G Ninja \
-DENABLE_PYTHON_ANALYZER=OFF
```
+
+
+
+Optional Python analyzer · Python 3.11+
+
Python is optional: the configuration above builds `ctrace` without the Python analyzer, so
it needs no Python virtual environment or Nuitka. `ENABLE_PYTHON_ANALYZER` defaults to `OFF`;
passing it explicitly also turns it off when reusing a build directory configured with Python.
@@ -148,6 +227,10 @@ needs Python and a C compiler, but the resulting standalone analyzer includes it
It is staged in `build/libexec/coretrace/` and installed to
`/libexec/coretrace/`; users of the built or installed `ctrace` need no Python installation.
+
+
+### Build and verify
+
Build and verify the selected configuration:
```bash
@@ -156,44 +239,48 @@ cmake --build build --parallel 4
ctest --test-dir build --output-on-failure
```
-With the Python analyzer enabled, for example:
+## Analyzers
-```bash
-./build/ctrace --input app.py --invoke coretrace-python-analyzer
-```
+Select one or more analyzers with `--invoke`, use `--static` for the static tool set, or `--dyn`
+for runtime analysis. Each tool receives the inputs of its language.
-Each input goes to the tools of its language: `.py` files to `coretrace-python-analyzer`, C
-and C++ files to the others. The Python analyzer checks the whole project a file belongs to,
-so it follows data across modules, but it only reports findings located in the files given to
-`--input`, plus those about the project itself, such as a vulnerable version pinned in
-`requirements.txt`. The project root is the nearest directory above the file that holds
-`pyproject.toml`, `setup.py`, `setup.cfg` or `.git`, else the file's own directory.
+| Analyzer | Analysis | Integration |
+| :--- | :--- | :--- |
+| [CoreTrace Stack Analyzer](#coretrace-stack-analyzer) | Static C/C++ | Built into `ctrace` |
+| [CoreTrace Concurrency Analyzer](#coretrace-concurrency-analyzer) | Static C/C++ | Built into `ctrace` |
+| [CoreTrace Runtime Analyzer](#coretrace-runtime-analyzer) | Dynamic C/C++ | Optional executable |
+| [CoreTrace Python Analyzer](#coretrace-python-analyzer) | Static Python | Optional executable |
+| [Cppcheck](#cppcheck) | Static C/C++ | External executable |
+| [Flawfinder](#flawfinder) | Static C/C++ | External executable |
+| [TscanCode](#tscancode) | Static C/C++ | External executable |
+| [IKOS](#ikos) | Static C/C++ | External executable |
-The Linux release archives (amd64, arm64) run on any distribution with glibc 2.34 or newer:
-RHEL 9 and its rebuilds (Rocky, Alma), Amazon Linux 2023, Ubuntu 22.04+, Debian 12+, Fedora
-35+. ctrace is built on Ubuntu 22.04 and carries its own libstdc++; the Python analyzer is
-built on Rocky Linux 9. Each archive is unpacked and run on bare Rocky Linux 9, Ubuntu 22.04,
-Debian 12 and Ubuntu 24.04 images, with no compiler or LLVM, before it is published.
+External executables are resolved from `tools..path`, then the copy bundled with
+`ctrace`, then `PATH`. `--static` also selects the external static tools, so they must be
+installed. For C/C++ inputs, `--static` includes IKOS. Since CoreTrace does not interpret its
+findings, these runs end incomplete (exit code 3). Use `--invoke` to select the tools available
+on your machine and gate on a verdict. See [tool configuration](docs/configuration.md#tools) for
+executable paths, additional arguments and timeouts.
-The macOS disk image runs on Apple silicon with macOS 15 or newer; the images up to v0.85.0 also
-run on macOS 14. It holds one folder laid out as the Linux archive, with the Homebrew libraries
-`ctrace` and the Python analyzer load (LLVM and Clang, Python and OpenSSL...): copy the folder
-anywhere, Homebrew is not needed. Before it is published, the image is mounted, its folder copied
-out, and run with Homebrew moved away. Its third-party libraries are listed in
-`scripts/release/third-party-macos.txt`, and their licenses, with each Homebrew formula's version,
-are under `licenses/homebrew/`.
+### CoreTrace Stack Analyzer
-Each archive carries the license of every third-party component it ships. `licenses/` holds
-those of the code compiled into `ctrace` and of the Ubuntu libraries in `lib/`, with each
-package's exact version. Each bundled analyzer holds its own under `libexec/coretrace/`.
-`scripts/release/third-party.txt` lists what ships and where its license is. The packaging, and
-the verification on each distribution, fail on a library or an executable it does not list.
+[coretrace-stack-analyzer](https://github.com/CoreTrace/coretrace-stack-analyzer) analyzes C/C++
+through LLVM IR to report stack usage, recursion risks, buffer errors, escaping stack addresses
+and resource-lifetime issues. It is linked into `ctrace` and compiles inputs in process;
+no separate analyzer executable is needed.
-Analyzing C and C++ needs no LLVM or clang installation either: Clang's own headers ship in
-`lib/clang//include` next to `bin/ctrace`, and the stack analyzer compiles in process.
-Only the C library's headers come from the system (`libc6-dev` on Debian and Ubuntu,
-`glibc-devel` on RHEL, the SDK of the Command Line Tools on macOS: `xcode-select --install`), as
-for any C build. `CT_CLANG` still selects another clang when set.
+```bash
+ctrace --input src/main.c --invoke ctrace_stack_analyzer
+```
+
+The orchestrator's tool name is `ctrace_stack_analyzer`. Configure its analysis profile,
+models, stack limit and SMT settings in the
+[`stack_analyzer` section](docs/configuration.md#stack_analyzer). Use `--compile-commands`
+to supply your project's compilation database.
+
+
+
+### CoreTrace Concurrency Analyzer
[coretrace-concurrency-analyzer](https://github.com/CoreTrace/coretrace-concurrency-analyzer) is
linked into `ctrace` like the stack analyzer, and compiles in process too
@@ -205,6 +292,17 @@ related location. With `--compile-commands`, the inputs are analyzed as one prog
as the database says, so a thread started in one file is related to its body in another.
`tools.coretrace-concurrency-analyzer.rules` selects its rules.
+```bash
+ctrace --input src/main.c --invoke coretrace-concurrency-analyzer
+```
+
+Configure rule selection and project analysis limits under
+[`tools.coretrace-concurrency-analyzer`](docs/configuration.md#tools).
+
+
+
+### CoreTrace Runtime Analyzer
+
`--dyn` runs [coretrace-runtime-analyzer](https://github.com/CoreTrace/coretrace-runtime-analyzer)
on each C/C++ input, which must be a whole program: it is built with CoreTrace instrumentation
and run, and the memory errors that happen (heap and stack overflows, uses after free, double
@@ -218,125 +316,188 @@ environment (`g++` on Debian and Ubuntu, `gcc-c++` on RHEL). The program runs wi
privileges, in a separate process but not in a sandbox, so the HTTP server refuses dynamic
analysis unless it is started with `--serve-allow-dynamic`.
-### RELEASES
-
-Each release attaches the Linux archives and the macOS disk image with their `.sha256`, and a
-build provenance attestation for each: a signed statement that this repository's release
-workflow built it from the tagged commit. Check a downloaded archive with the GitHub CLI:
-
```bash
-gh attestation verify coretrace--linux-amd64.tar.gz -R CoreTrace/coretrace
+ctrace --input src/main.c --invoke coretrace-runtime-analyzer
```
-The disk image is signed ad hoc, not with an Apple Developer ID, and is not notarized: macOS
-refuses to run a `ctrace` that a browser downloaded. Download it with `curl`, which does not mark
-the file, or remove the mark before opening it:
+Use [`tools.coretrace-runtime-analyzer`](docs/configuration.md#tools) to configure its executable,
+execution timeout and additional compiler arguments. `--dyn` selects the same analyzer.
-```bash
-curl -fsSLO https://github.com/CoreTrace/coretrace/releases/download//coretrace--macos-arm64.dmg
-# or, after a download in a browser:
-xattr -d com.apple.quarantine coretrace--macos-arm64.dmg
-```
+
-Every dependency the build fetches is pinned to a version tag or a commit, and every download
-to its SHA-256 (`scripts/release/check-pinned-dependencies.sh`, run by `ctest`).
+### CoreTrace Python Analyzer
+
+[coretrace-python-analyzer](https://github.com/CoreTrace/coretrace-python-analyzer) checks Python
+projects for injection vulnerabilities, dangerous API usage, exposed secrets and vulnerable
+dependencies. It follows data across functions and modules without executing the project.
-### TESTS
+Enable its standalone build as described in [Build](#build), or install the package from PyPI
+and make its command available through `PATH` or `tools.coretrace-python-analyzer.path`.
+The standalone bundle includes Python; installing from PyPI requires Python 3.11 or newer.
+
+[](https://pypi.org/project/coretrace-python-analyzer/)
+[](https://pypi.org/project/coretrace-python-analyzer/)
+
+With the Python analyzer enabled, for example:
```bash
-ctest --test-dir build # every test
-ctest --test-dir build -L unit # one component, in process
-ctest --test-dir build -L integration # ctrace, a server, a socket peer or a real tool
+./build/ctrace --input app.py --invoke coretrace-python-analyzer
```
-Coverage of CoreTrace's own code (`src/`, `include/`, `main.cpp`) needs a Clang build with
-`-DCORETRACE_COVERAGE=ON`. `scripts/ci/coverage.sh