DF-0786 / build.sh
#!/bin/sh # build.sh — Build the DF-0786 PoC (guard-page harness + NTFS image generator) set -e # Build the C trigger/harness cc -o trigger trigger.c -Wall # Generate the NTFS image (requires Python3 on the host) if command -v python3 >/dev/null 2>&1; then python3 gen_ntfs.py ntfs.img else echo "WARNING: python3 not found — skipping NTFS image generation" echo "The harness (./trigger -h) does not need the NTFS image." fi echo "BUILD OK: trigger binary + ntfs.img (if python3 available)" |