summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-11-23 00:18:15 +0100
committeremkael <emkael@tlen.pl>2017-11-23 00:18:15 +0100
commit79b196c03c213418c5d8275ed889caafbcd6d4ea (patch)
tree42b4cd6919666b70d29ca042e7a39dfe30c7d452
parent2a043d57419bb4035ebafc8cd3fb20fe0e271135 (diff)
Script that puts it all togetherHEADsynced/mastermaster
-rwxr-xr-x_run.sh13
1 files changed, 13 insertions, 0 deletions
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.'