dwarf-assembly/benching/csmith/csmith-bench.sh

6 lines
154 B
Bash
Raw Normal View History

2018-05-15 18:09:01 +02:00
#!/bin/bash
csmith "$@" | \
sed 's/#include "csmith.h"/#include "bench.h"\n#include "csmith.h"/g' |\
sed 's/return /bench_unwinding(); return/g'