#!/bin/sh
# DF-2687 PoC build (inside the guest; the PoC itself is unprivileged)
set -e
cc -O2 -Wall -o /tmp/df2687 df2687.c
# forensic decoder (optional, needs the struct layout; root not required)
cc -O1 -D_KERNEL_STRUCTURES -o /tmp/forensic forensic.c 2>/dev/null || true
echo "BUILD OK"
