about summary refs log tree commit diff
path: root/utils/libtokencap/make_dict.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/libtokencap/make_dict.sh')
-rw-r--r--utils/libtokencap/make_dict.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/utils/libtokencap/make_dict.sh b/utils/libtokencap/make_dict.sh
deleted file mode 100644
index 92c383fa..00000000
--- a/utils/libtokencap/make_dict.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-LD_PRELOAD_PATH="/path/to/libtokencap.so"
-AFL_TOKEN_FILE=${PWD}/temp_output.txt
-AFL_DICT_FILE=$(basename ${target_output})
-target_bin="/path/to/target/program"
-target_output="/path/to/target/output"
-timeout_sec="5"
-
-{
-touch $AFL_TOKEN_FILE
-for i in $(find ${target_output} -type f -name "id*"); do
-	LD_PRELOAD=${LD_PRELOAD_PATH} \
-	timeout -s SIGKILL ${timeout_sec} \
-	${target_bin} ${i}
-done
-} >${AFL_TOKEN_FILE}
-
-sort -u ${AFL_TOKEN_FILE} >${AFL_DICT_FILE}.dict