Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Weft is published on crates.io:

cargo install weft-dst      # installs the `weft` binary
cargo build --release -p weft-shim   # libweft_shim.so (Linux only)

Or from source:

git clone https://github.com/arnavsinghal09/weft && cd weft
cargo install --path crates/weft-dst
cargo build --release -p weft-shim

weft run finds the shim via WEFT_SHIM, or next to the weft binary:

cp "${CARGO_TARGET_DIR:-target}/release/libweft_shim.so" "$(dirname "$(command -v weft)")/"

Interception itself needs Linux (x86-64, glibc, dynamically linked targets — see Limitations §1). On macOS, run everything inside Docker; the user guide has the exact container recipe.

Crate pages: weft-dst · weft-abi · weft-net · weft-scenario · weft-replay · weft-fuzz