]> git.ipfire.org Git - thirdparty/qemu.git/commit
scripts/oss-fuzz: Add crash trace minimization script
authorAlexander Bulekov <alxndr@bu.edu>
Fri, 23 Oct 2020 15:07:40 +0000 (11:07 -0400)
committerThomas Huth <thuth@redhat.com>
Mon, 26 Oct 2020 08:53:53 +0000 (09:53 +0100)
commitcd3f0686ddf3cd18f307fb9f55f9cf21bf185bbf
treee36e46c62370029edbd5eb0961763ed68f16a281
parent7c9b64ade9d1d3c69250ef1684db9c080a7b7092
scripts/oss-fuzz: Add crash trace minimization script

Once we find a crash, we can convert it into a QTest trace. Usually this
trace will contain many operations that are unneeded to reproduce the
crash. This script tries to minimize the crashing trace, by removing
operations and trimming QTest bufwrite(write addr len data...) commands.

Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Message-Id: <20201023150746.107063-12-alxndr@bu.edu>
Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/oss-fuzz/minimize_qtest_trace.py [new file with mode: 0755]