#!/bin/sh
# DF-1075 build script — builds both the buggy-pattern and fixed-pattern harness modules
# Must be run as root inside the DragonFlyBSD guest (needs kernel build infrastructure).
set -e
echo "=== Building buggy-pattern harness (will panic when loaded) ==="
cd /root/poc_df1075 && make
echo "=== Building fixed-pattern harness (will NOT panic when loaded) ==="
cd /root/poc_df1075_fixed && make
echo "=== Both modules built ==="
