Skip to content

Open a trace

Choose a .bin file in the standalone Tauri desktop application for graphical exploration, or run the Tenet backend directly:

Terminal window
./tenet /path/to/trace.bin

Without analysis or service options, the backend enters the terminal TUI by default; it does not open a graphical interface. Trace data stays on your local computer, and the documentation site receives nothing.

The first open scans the record stream and builds a persistent RocksDB index in <trace-name>.tenet/ beside the trace. It indexes instruction offsets, anchors, register writes, memory history and embedded code. Large traces can take a minute or more. Later opens reuse the index and cached pass results.

Do not routinely delete this directory: it also stores bookmarks, the last cursor position and pass-result blobs. Tenet validates the index against the trace and rebuilds stale data when required.

Only one Tenet backend process may open a given trace at a time because all modes share its index and session state. If another Tenet backend process—a Tauri sidecar, TUI, batch, RPC, or MCP instance—owns it, Tenet reports the owner PID, host, mode, and open time. Exit that process; do not delete the lock file. The operating system file lock is released automatically when the process exits, including after a crash or forced termination.

A trace with HF_HAS_CODE normally disassembles without an image. For sampling or legacy traces with missing bytes, provide the matching Mach-O or ELF image (PE image fallback is not currently supported):

Terminal window
./tenet trace.bin --image /path/to/binary

The image must correspond to the recorded module. Tenet maps runtime PCs using module_slide and uses the image only as a code/string fallback.

After opening, confirm:

  1. The instruction timeline has a non-zero count.
  2. PCs and module metadata look plausible.
  3. Register values change while moving through the timeline.
  4. Instructions disassemble, or an external image is configured.
  5. Functions and XRefs complete without an evidence warning.

Then continue with Explore an execution or Analyze a trace.