summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.'