Skip to content
Snippets Groups Projects
Commit 3077743e authored by an7s's avatar an7s
Browse files

baseline zipr configs for test driver

Former-commit-id: e7d5ca9b51ba6c0c74f4683b4e1266bb62a6cd27
parent 60ff7171
No related branches found
No related tags found
No related merge requests found
#orig_progs="xcalc xeyes nano"
orig_progs="bzip2 cal du egrep fgrep grep ls objdump readelf sort tar tcpdump touch"
#orig_progs="objdump"
if [ -d tmp_test_area ]; then
rm -fr tmp_test_area
......@@ -35,8 +36,12 @@ do
#
# change options here for different kinds of protections
#
$PEASOUP_HOME/tools/ps_analyze.sh `which $prog` $protected --backend zipr --tempdir $temp_dir > test_${prog}.ps.log 2>&1
# FIX_CALLS_FIX_ALL_CALLS=1 $PEASOUP_HOME/tools/ps_analyze.sh `which $prog` $protected --backend zipr --step selective_cfi=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
# FIX_CALLS_FIX_ALL_CALLS=1 $PEASOUP_HOME/tools/ps_analyze.sh `which $prog` $protected --backend zipr --step selective_cfi=on --step-option selective_cfi:--color --step-option selective_cfi:--no-protect-jumps --tempdir $temp_dir > test_${prog}.ps.log 2>&1
timeout 900 $PEASOUP_HOME/tools/ps_analyze.sh `which $prog` $protected --backend zipr --step kill_deads=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
# FIX_CALLS_FIX_ALL_CALLS=1 $PEASOUP_HOME/tools/ps_analyze.sh `which $prog` $protected --backend zipr --step selective_cfi=on --step-option selective_cfi:--color --tempdir $temp_dir > test_${prog}.ps.log 2>&1
# timeout 900 $PEASOUP_HOME/tools/ps_analyze.sh `which $prog` $protected --backend zipr --step kill_deads=on --tempdir $temp_dir > test_${prog}.ps.log 2>&1
if [ ! $? -eq 0 ]; then
echo "TEST ${prog}: FAILED to peasoupify"
progs_fail="$progs_fail $prog"
......
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