#!/bin/sh
# DF-0873 build -- compile the trigger, harness, and escalation exploit.
set -e
cd "$(dirname "$0")"
cc -O2 -Wall -o trigger trigger.c
cc -O2 -Wall -o harness harness.c
cc -no-pie -O2 -o exploit exploit.c
echo "BUILD_OK"
ls -l trigger harness exploit