From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00,HK_RANDOM_FROM, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 219EBC433E0 for ; Fri, 8 Jan 2021 05:12:31 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A021423383 for ; Fri, 8 Jan 2021 05:12:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A021423383 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bu.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:59108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxk4b-0005ir-M4 for qemu-devel@archiver.kernel.org; Fri, 08 Jan 2021 00:12:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxjSe-0003SY-UM for qemu-devel@nongnu.org; Thu, 07 Jan 2021 23:33:17 -0500 Received: from relay68.bu.edu ([128.197.228.73]:50909) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxjSd-000723-HX for qemu-devel@nongnu.org; Thu, 07 Jan 2021 23:33:16 -0500 X-Envelope-From: alxndr@bu.edu X-BU-AUTH: mozz.bu.edu [128.197.127.33] Received: from BU-AUTH (localhost.localdomain [127.0.0.1]) (authenticated bits=0) by relay68.bu.edu (8.14.3/8.14.3) with ESMTP id 1084WnJI024103 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NO); Thu, 7 Jan 2021 23:32:52 -0500 Date: Thu, 7 Jan 2021 23:32:49 -0500 From: Alexander Bulekov To: Qiuhao Li Subject: Re: [PATCH v4 0/7] fuzz: improve crash case minimization Message-ID: <20210108043249.4owrvkyihr7ro5ef@mozz.bu.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=128.197.228.73; envelope-from=alxndr@bu.edu; helo=relay68.bu.edu X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HK_RANDOM_ENVFROM=0.001, HK_RANDOM_FROM=0.998, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thuth@redhat.com, qemu-devel@nongnu.org, darren.kenny@oracle.com, bsd@redhat.com, stefanha@redhat.com, pbonzini@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 201229 1239, Qiuhao Li wrote: > Extend and refine the crash case minimization process. > Hi Qiuhao, For this whole series: Tested-by: Alexander Bulekov Thank you for this effort! - it is a big improvement over what we had. -Alex > 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 > > 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: loop the remove minimizer and refactoring > 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, 209 insertions(+), 48 deletions(-) > > -- > 2.25.1 >