#!/usr/bin/env bash
# Adversarial-input regression test for rustrip.
#
# Delegates to the cross-platform Python harness so process-exit and timeout
# handling remain identical on Unix, Windows, and macOS.
#
# Usage: bash scripts/adversarial_test.sh <path-to-rustrip-binary>

set -euo pipefail

here="$(cd "$(dirname "$0")" && pwd)"
exec python3 "$here/adversarial_test.py" "${1:-./target/release/rustrip}"
