dwarf-assembly/benching/csmith/csmith-bench.sh
2018-06-04 16:56:53 +02:00

5 lines
155 B
Bash
Executable file

#!/bin/bash
csmith "$@" | \
sed 's/#include "csmith.h"/#include <bench.h>\n#include <csmith.h>/g' |\
sed 's/return /bench_unwinding(); return /g'