#!/bin/bash -x

SYD_DIR="/srv/syd"
SYD_BIN="${SYD_DIR}/syd"

case "${1:-}" in
  runner)
      exec "${SYD_BIN}" -q -pkcov /syz-executor.orig "$@"
      ;;
  *)
      exec /syz-executor.orig "$@"
      ;;
esac
