gen-hazards.sh (284B)
1 #!/bin/sh 2 3 set -e 4 5 JOBS="$1" 6 7 for j in $(seq $JOBS); do 8 env PATH=$PATH:$SIXGILL/bin XDB=$SIXGILL/bin/xdb.so $JS $ANALYZE gcFunctions.lst suppressedFunctions.lst gcTypes.txt $j $JOBS tmp.$j > rootingHazards.$j & 9 done 10 11 wait 12 13 for j in $(seq $JOBS); do 14 cat rootingHazards.$j 15 done