Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ispras/casr/llms.txt
Use this file to discover all available pages before exploring further.
casr-cli is the primary interface for inspecting CASR crash reports. It can:
- View a single
.casrepfile in an interactive terminal UI (tree or slider layout) or dump it as plain text to stdout. - Summarise a directory of
.casrepfiles, printing per-cluster crash counts and severity breakdowns. - Convert a single report or an entire directory of reports to SARIF format for loading into IDEs such as VS Code or JetBrains.
Synopsis
Options
View mode when opening a single
.casrep file.| Value | Description |
|---|---|
tree | Full-screen collapsible tree view. Navigate with arrow keys; press q to quit. |
slider | Side-by-side panel view: a scrollable field list on the left, field content on the right. |
stdout | Dump the report as human-readable text to stdout and exit. |
When printing joint statistics for a directory, skip reports whose crash line has
already been counted. This gives a deduplicated view of distinct crash sites.
Output path for the generated SARIF file. Requires
--source-root. When this flag is
provided, casr-cli converts reports to SARIF and exits — no TUI is shown.The root directory of the source code as it appears in the
.casrep crash lines.
Used by the SARIF generator to resolve file URIs. Required when --sarif is specified.Name of the tool that produced the crashes, embedded in the SARIF
tool.driver.name
field. Useful for distinguishing findings from different fuzzers in the same SARIF
viewer.A path prefix to strip from crash paths when printing joint directory statistics.
Has no effect on SARIF generation. Can also be set via the
CASR_STRIP_PATH
environment variable.View a Single Report
Open a report in the default tree view:View Joint Statistics for a Directory
Pass a directory to print a per-cluster summary.casr-cli recursively walks all clN
subdirectories and prints each crash with its severity, description, and crash line:
Convert to SARIF
Convert an entire directory of reports to a single SARIF file:Notes
Loading SARIF into an IDE — The generated
.sarif file can be loaded directly
into VS Code with the
SARIF Viewer extension,
or into JetBrains IDEs via the
SARIF plugin. Each finding links
back to the source line where the crash occurred, letting you navigate from the SARIF
report straight to the vulnerable code.Directory structure expected for statistics — When pointing
casr-cli at a
directory, it only processes subdirectories whose names start with cl (e.g. cl1,
cl2). If the directory contains .casrep files directly at the top level (no clN
subdirectories), casr-cli will treat the directory itself as a single implicit
cluster.