Closed kbara closed 9 years ago
Reduction with creduce went badly.
% cat reduce126.sh
#!/bin/bash
rm -f bug126out.txt
ulimit -t 1
pwd
if
! ~/igalia/pflua/tools/pflua-optimize --match-packet 13965 ~/igalia/pflua-bench/savefiles/wingolog.org.pcap bug126.ast > bug126out.txt && \
grep "Packet results did not match" bug126out.txt
then exit 0
else exit 1
fi
LUA_PATH='~/igalia/pflua/src/?.lua;~/igalia/pflua/tests/?.lua' creduce --skip-initial-passes --verbose reduce126.sh bug126.ast
wc bug126.best bug126.orig
111 556 5039 bug126.best
238 556 7363 bug126.orig
did it work at all or did it just not produce good results?
It mangled the formatting, and was still about 5/7th of the size.
This bug hasn't been thoroughly investigated, but has been fixed by an optimizer change since it was reported.