Environment variables
These variables are the documented operator-facing controls. Backend-development and test variables exist in the source, but they are not a stable interface.
| Variable | Purpose |
|---|---|
FAT_DATA_DIR | Use an unversioned, reviewed runtime-data tree directly. Takes precedence over bundled and managed data. |
FAT_COLOR | always forces ANSI color; never disables it. Help and reports stay plain when piped. |
FAT_PYTHON | Python interpreter for optional Python-backed workflows, including an isolated angr environment. |
FAT_EXTRACT_TIMEOUT | Default external-extraction timeout in seconds. --extract-timeout overrides it; 0 disables the timeout. |
FAT_REHOSTING_PACKS | Colon-separated directories searched for local rehosting packs after --packs-dir. |
FAT_EXT2_BUILDER_IMAGE | Operator-provided, digest-pinned image used for the macOS ext2 builder. FAT does not pull it. |
GHIDRA_HOME | Ghidra installation used by headless analysis and taint normalization. |
Runtime-data resolution
FAT_DATA_DIR is one input to runtime-data discovery. The full resolution order is:
- command-level path;
FAT_DATA_DIR;- executable-relative
<exe_dir>/share/fat; - executable-relative
<exe_dir>/../share/fat; - platform user data;
- a marked development checkout (debug builds only).
fat data status reports which origin supplied the active tree. See Runtime data.
Python and angr
FAT_PYTHON should point at an isolated environment with the optional dependencies installed:
python3 -m venv "$HOME/.local/share/fat-angr-venv"
"$HOME/.local/share/fat-angr-venv/bin/python" -m pip install angr pyyaml
export FAT_PYTHON="$HOME/.local/share/fat-angr-venv/bin/python"
fat doctor --strict checks core prerequisites; it does not validate the optional angr environment.
Rehosting packs
FAT_REHOSTING_PACKS uses the platform path separator (: on Unix). Directories are searched in order after any --packs-dir arguments. Embedded BMC profiles are not discovered this way; they require explicit --pack selection.