qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/7] fuzz: improve crash case minimization
@ 2021-01-08  2:44 Qiuhao Li
  2021-01-08  3:12 ` [PATCH v5 1/7] fuzz: accelerate non-crash detection Qiuhao Li
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Qiuhao Li @ 2021-01-08  2:44 UTC (permalink / raw)
  To: alxndr, qemu-devel
  Cc: thuth, Qiuhao Li, darren.kenny, bsd, stefanha, pbonzini

Extend and refine the crash case minimization process.

Test input:
  Bug 1909261 full_reproducer
  6500 QTest instructions (write mostly)

Refined (-M1 minimization level) vs. Original version:
  real  38m31.942s  <-- real  532m57.192s
  user  28m18.188s  <-- user  89m0.536s
  sys   12m42.239s  <-- sys   50m33.074s
  2558 instructions <-- 2846 instructions

Test Enviroment:
  i7-8550U, 16GB LPDDR3, SSD 
  Ubuntu 20.04.1 5.4.0-58-generic x86_64
  Python 3.8.5

v5:
  Fix: send SIGKILL on timeout
  Fix: rename minimization functions

v4:
  Fix: messy diff in [PATCH v3 4/7]

v3:
  Fix: checkpatch.pl errors

v2: 
  New: [PATCH v2 1/7]
  New: [PATCH v2 2/7]
  New: [PATCH v2 4/7]
  New: [PATCH v2 6/7]
  New: [PATCH v2 7/7]
  Fix: [PATCH 2/4] split using binary approach
  Fix: [PATCH 3/4] typo in comments
  Discard: [PATCH 1/4] the hardcoded regex match for crash detection
  Discard: [PATCH 4/4] the delaying minimizer
  
Thanks for the suggestions from:
  Alexander Bulekov

Qiuhao Li (7):
  fuzz: accelerate non-crash detection
  fuzz: double the IOs to remove for every loop
  fuzz: split write operand using binary approach
  fuzz: remove IO commands iteratively
  fuzz: set bits in operand of write/out to zero
  fuzz: add minimization options
  fuzz: heuristic split write based on past IOs

 scripts/oss-fuzz/minimize_qtest_trace.py | 257 ++++++++++++++++++-----
 1 file changed, 210 insertions(+), 47 deletions(-)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-01-08  6:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-08  2:44 [PATCH v5 0/7] fuzz: improve crash case minimization Qiuhao Li
2021-01-08  3:12 ` [PATCH v5 1/7] fuzz: accelerate non-crash detection Qiuhao Li
2021-01-08  3:12 ` [PATCH v5 2/7] fuzz: double the IOs to remove for every loop Qiuhao Li
2021-01-08  3:12 ` [PATCH v5 3/7] fuzz: split write operand using binary approach Qiuhao Li
2021-01-08  3:12 ` [PATCH v5 4/7] fuzz: remove IO commands iteratively Qiuhao Li
2021-01-08  3:12 ` [PATCH v5 5/7] fuzz: set bits in operand of write/out to zero Qiuhao Li
2021-01-08  3:12 ` [PATCH v5 6/7] fuzz: add minimization options Qiuhao Li
2021-01-08  3:12 ` [PATCH v5 7/7] fuzz: heuristic split write based on past IOs Qiuhao Li
2021-01-08  4:30 ` [PATCH v5 0/7] fuzz: improve crash case minimization Alexander Bulekov
2021-01-08  6:19   ` Qiuhao Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).