summaryrefslogtreecommitdiff
path: root/_run.sh
blob: 61b39b4f173c8db875fcc82eb3ee4d31283b805e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.'