DragonFlyBSD Kernel Audit
DF-0285 / build.sh
← back to finding ↓ download raw
#!/bin/sh
# DF-0285 build script.
# layout_proof.c : pure userspace layout-replica arithmetic (the numeric proof).
# frame_craft.c  : deterministic attacker-payload pcap builder.
# Neither touches the kernel; both build with the guest's base cc.
set -e
cd "$(dirname "$0")"
echo ">> cc -O2 -Wall -o layout_proof layout_proof.c"
cc -O2 -Wall -o layout_proof layout_proof.c
echo ">> cc -O2 -Wall -o frame_craft frame_craft.c"
cc -O2 -Wall -o frame_craft frame_craft.c
echo "BUILD_OK"