From 79b196c03c213418c5d8275ed889caafbcd6d4ea Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 23 Nov 2017 00:18:15 +0100 Subject: Script that puts it all together --- _run.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 _run.sh diff --git a/_run.sh b/_run.sh new file mode 100755 index 0000000..61b39b4 --- /dev/null +++ b/_run.sh @@ -0,0 +1,13 @@ +echo 'Generating random numbers from original code:' +./test.sh results-original +echo 'Original code generating DONE' +echo 'Generating random numbers from patched code:' +./test.sh results-patched -patched +echo 'Patched code generating DONE' +find -name \*.dump | while read DUMPFILE +do + echo -n 'Analyzing bitwise differences (diffusion) for ' $DUMPFILE '...' + python analyze.py $DUMPFILE > $DUMPFILE.diffs + echo ' DONE' +done +echo 'Analysis finished.' -- cgit v1.2.3