Eyra graph example
This package compiles ../graph-pure/src/main.rs directly, with the Eyra opt-in described by ../../xtask/libc-build/README.md. Eyra is enabled by default in this sibling, so the unchanged analysis build arguments also select it. The package and binary names stay graph-pure, so the analysis root stays graph-pure[bin=graph_pure]@0.1.0::main.
Run from the Heimdall repository:
cargo xtask libc-build --libc eyra --debug limited --context examples examples/graph-pure-eyra
The explicit context copies the surrounding examples directory because the main source is shared. Use the generated, pinned workspace for the subsequent Mímir build, with the same complete RUSTFLAGS line that the xtask prints:
unset CARGO_ENCODED_RUSTFLAGS
export RUSTFLAGS="-C relocation-model=static -C target-feature=+crt-static -C llvm-args=-enable-tail-merge=false -C llvm-args=-opt-disable=tailcallelim -Z merge-functions=disabled -Z plt=yes"
export CARGO_PROFILE_RELEASE_DEBUG=limited
# Run inside the generated graph-pure-eyra workspace, with Mímir's tools on PATH.
cargo mimir make --with-c --holes --out /path/to/new-cell \
--root 'graph-pure[bin=graph_pure]@0.1.0::main' \
-- --target x86_64-unknown-linux-gnu --release
Keep all six option pairs for both the program and its rebuilt standard library. The make inherits the caller's flags; it does not add the Eyra switches itself. Choose an output directory that does not exist. Paths and switches affect the ELF bytes, so a pinned-cell replay must also use that cell's documented paths and vDSO.
This reconstructs the input of the lost eyra-dbg-g2 source checkout from the versioned base program. It does not claim byte identity with that old cell.