#!/bin/sh
# DF-2245 build: compiles the standalone harness that replicates the in-kernel
# kqsort algorithm (vulnerable + fixed) and reports max recursion depth on
# several input distributions including a median-of-3 killer adversary.
set -e
cc -O2 -Wall -o kqsort_depth_harness kqsort_depth_harness.c
echo "BUILD_OK: kqsort_depth_harness"
