Skip to content
Snippets Groups Projects
Commit c80ab884 authored by jdh8d's avatar jdh8d
Browse files

script to do concolic testing on an exe

parent 404acbf5
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
/block_copy.c -text
/chopzero.c -text
/concolic_test_handshake.c -text
/do_concolic.sh -text
/fptest.c -text
/generate_exe.sh -text
/getsyms.sh -text
......
#!/bin/sh
exe=$1
$STRATAFIER/do_stratafy.sh $exe
strata_exe=new.exe
whoami=`whoami`
start_ea=`nm $exe|egrep " main$"|cut -f1 -d" "`
echo Removing all ipc queues.
for i in `ipcs -q|grep $whoami |cut -d" " -f 2`;
do
ipcrm -q $i
done
STRATA_GRACE=1 controller --start $start_ea $strata_exe
echo cleaning up
killall -q controller
killall -q $strata_exe
echo Removing all ipc queues.
for i in `ipcs -q|grep $whoami |cut -d" " -f 2`;
do
ipcrm -q $i
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment