DragonFlyBSD Kernel Audit
DF-0983 / build.sh
← back to finding ↓ download raw
1
2
3
4
5
6
7
8
#!/bin/sh
# DF-0983 build — userspace harness replicating urtwn_efuse_read/_data.
# Build the vulnerable variant (hv) and the FIXED variant (hf, -DFIXED).
set -e
cd "$(dirname "$0")"
cc -O2 -Wall -o hv urtwn_efuse_harness.c
cc -O2 -Wall -DFIXED -o hf urtwn_efuse_harness.c
echo "built: hv (vulnerable) hf (fixed)"