mirror of https://github.com/openXC7/prjxray.git
20 lines
387 B
Bash
Executable File
20 lines
387 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Development script to re-run segment generation on specimens
|
|
# Works against most but not all fuzzers
|
|
|
|
set -ex
|
|
|
|
FUZDIR=$PWD
|
|
pushd build
|
|
|
|
for f in $(find -name design.bits |sort) ; do
|
|
pushd $(dirname $f)
|
|
python3 $FUZDIR/generate.py
|
|
popd
|
|
done
|
|
popd
|
|
|
|
${XRAY_SEGMATCH} -o build/tmp.segbits $(find build -name 'segdata_*.txt' |sort)
|
|
cat build/tmp.segbits
|
|
|