aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/ffi.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbruiser/ffi.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bruiser/ffi.sh b/bruiser/ffi.sh
new file mode 100755
index 0000000..8528ae9
--- /dev/null
+++ b/bruiser/ffi.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+cd $(dirname $0)
+gcc ./bruiserffi.c -lffi -lcapstone -o ffi
+./ffi
+rm ./ffi