mirror of https://github.com/openXC7/prjxray.git
int_loop: move todo copy to makefile so it always exists
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
92e728a1a1
commit
71e90747d7
|
|
@ -53,9 +53,11 @@ build/pips_int_l.txt: $(XRAY_DIR)/fuzzers/piplist.tcl
|
|||
|
||||
build/todo.txt: build/pips_int_l.txt $(XRAY_DIR)/fuzzers/int_maketodo.py
|
||||
# Doesn't pushdb until very end. Compare against db so far
|
||||
python3 $(XRAY_DIR)/fuzzers/int_maketodo.py --db-dir build $(MAKETODO_FLAGS) >build/todo_all.txt
|
||||
python3 $(XRAY_DIR)/fuzzers/int_maketodo.py --db-dir build $(MAKETODO_FLAGS) |sort >build/todo_all.txt
|
||||
cat build/todo_all.txt | sort -R > build/todo.txt.tmp
|
||||
mv build/todo.txt.tmp build/todo.txt
|
||||
mkdir -p build/$(ITER)
|
||||
cp build/todo_all.txt build/todo.txt build/$(ITER)/
|
||||
|
||||
# XXX: conider moving to script
|
||||
run:
|
||||
|
|
|
|||
|
|
@ -50,9 +50,11 @@ build/$(PIP_TYPE)_l.txt: $(XRAY_DIR)/fuzzers/piplist.tcl
|
|||
|
||||
# Used 1) to see if we are done 2) pips to try in generate.tcl
|
||||
build/todo.txt: build/$(PIP_TYPE)_l.txt $(XRAY_DIR)/fuzzers/int_maketodo.py
|
||||
python3 $(XRAY_DIR)/fuzzers/int_maketodo.py --pip-type $(PIP_TYPE) $(MAKETODO_FLAGS) >build/todo_all.txt
|
||||
python3 $(XRAY_DIR)/fuzzers/int_maketodo.py --pip-type $(PIP_TYPE) $(MAKETODO_FLAGS) |sort >build/todo_all.txt
|
||||
cat build/todo_all.txt | sort -R | head -n$(TODO_N) > build/todo.txt.tmp
|
||||
mv build/todo.txt.tmp build/todo.txt
|
||||
mkdir -p build/$(ITER)
|
||||
cp build/todo_all.txt build/todo.txt build/$(ITER)/
|
||||
|
||||
# XXX: conider moving to script
|
||||
run:
|
||||
|
|
|
|||
|
|
@ -59,8 +59,6 @@ while true; do
|
|||
exit 1
|
||||
fi
|
||||
|
||||
cp build/todo.txt todo/${i}.txt;
|
||||
cp build/todo_all.txt todo/${i}_all.txt;
|
||||
if ${MAKE} ITER=$i database; then
|
||||
if $iter_pushdb ; then
|
||||
${MAKE} pushdb
|
||||
|
|
|
|||
Loading…
Reference in New Issue