Technical Manual & API

ROCHE DOCUMENTATION

Learn how to run byte-level static analysis, execute multi-threaded stateful fuzzing campaigns, and synthesize Foundry regression test suites.

Quickstart & Installation

Deploy Roche's bare-silicon EVM static analyzer and fuzzer in seconds.

1. Quick Install via Shell

Installs the pre-compiled, hardened native Roche binary into ~/.local/bin:

bash
curl -sSL https://raw.githubusercontent.com/creatorofaurad/Roche/main/install.sh | bash
roche --version

2. Building from Source (Zig 0.16.0+)

Compile the zero-heap ReleaseFast binary directly from source:

bash
git clone https://github.com/creatorofaurad/Roche.git
cd Roche
zig build -Doptimize=ReleaseFast
./zig-out/bin/roche --help

3. Running Your First Invariant Fuzzing Pass

Point Roche directly at any compiled Solidity contract or JSON artifact:

bash
# Run static analysis
roche audit out/AgglayerBridge.sol/AgglayerBridge.json

# Run stateful invariant fuzzing
roche fuzz out/AgglayerBridge.sol/AgglayerBridge.json --assertions --test-limit 50000