ChipBench packages Ghidra, radare2, binwalk, chip-programming tools,
simulators, and firmware-unpacking utilities into one reproducible container
for analyzing raw chip dumps entirely from the command line or an AI CLI.
Headless Jython scripts drive import, forced-disassembly sweeps, live
queries, and bulk decompilation exports without any GUI.
Derived from a private engagement environment, generalized for public
release under AGPLv3. No engagement-specific artifacts are included.
💘 Generated with Crush
Assisted-by: Crush:glm-5.2
13 lines
567 B
Bash
Executable File
13 lines
567 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build the RE image only — no GUI/desktop stack started. This is all you need
|
|
# for fully chat-driven, headless analysis (re-analyze / re-q / re-export / ...).
|
|
# Use ./re-up instead if you ALSO want the Ghidra GUI over VNC.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
docker compose build
|
|
echo
|
|
echo "Image ready. Headless workflow (no GUI needed):"
|
|
echo " ./re-analyze <file-in-artifacts> # import + analyze"
|
|
echo " ./re-q <program> <command> [args...] # live query"
|
|
echo " ./re-export <program> # bulk export to ./output/"
|