aboutsummaryrefslogblamecommitdiffstats
path: root/bruiser/cap.sh
blob: 0eb48011bb2f94e085b36488370fdf185e3286af (plain) (tree)
1
2
3
4
5
6





                                                                                                   
#!/bin/bash
cd $(dirname $0)
clang -c ./asmrewriter.c -o asmrewriter.o
clang ./bruisercapstone.c -L/usr/local/lib64 -lcapstone -lkeystone -llua asmrewriter.o -o bcapstone
./bcapstone || exit 1
rm ./bcapstone