DF-0771 / build.sh
#!/bin/sh # DF-0771 build script — compiles the deterministic harness and the # crafted-image corruptor. Both build as the unprivileged user (maxx). set -e cd "$(dirname "$0")" echo ">> building deterministic harness (df0771_harness)" cc -O2 -Wall -o df0771_harness df0771_harness.c echo ">> building crafted-image corruptor (corrupt) + kernel iscsi_crc32" cc -O2 -Wall -o corrupt corrupt.c echo ">> build OK" ls -l df0771_harness corrupt |