From nobody Mon Feb 9 22:38:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1658509768; cv=none; d=zohomail.com; s=zohoarc; b=S/vin4prpDbNgoaJxPZ0QuxWXQziKg+wtCASMs8Btx32ltAawz39LNpypxOr2KkQWqZmO8xmIQo3uMStdwQOTQqlZfxDtxsjJ3yvmW0vIUEXbpXvCgdr2FcxzFI3xStuIutMD+L/1iFf7MAUd/1q1Nj0k2qFSR/atISpe7iDYrA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658509768; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=QIe3GqZfn4ySK6BpRC1oz1OEETJCzYLqg2tOgkwe3oM=; b=nksCcRtnkAmvR8kyt50RsIqIvPzxw819BH+UZjoSNSpoquRfbFoOVRfpEGwRe24ZSKR/iG3SEmDhzOS2UB9+d3JAT/wKVuDwF1l5q2YqIxpMZFOJeirVSc1vXZ098JHctsHyP/WqslwqRtx42Brk54F70E6f9/4HIK/WQcxjzsU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1658509768121415.6038269748642; Fri, 22 Jul 2022 10:09:28 -0700 (PDT) Received: from localhost ([::1]:37482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEw9W-0001tb-7E for importer@patchew.org; Fri, 22 Jul 2022 13:09:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEw5I-0002Iz-Vo for qemu-devel@nongnu.org; Fri, 22 Jul 2022 13:05:05 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:36048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEw5H-0000fi-4K for qemu-devel@nongnu.org; Fri, 22 Jul 2022 13:05:04 -0400 Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-212-taDpcqScPA-qFQT1UAKA-g-1; Fri, 22 Jul 2022 13:04:59 -0400 Received: by mail-ej1-f71.google.com with SMTP id ji2-20020a170907980200b0072b5b6d60c2so2142572ejc.22 for ; Fri, 22 Jul 2022 10:04:58 -0700 (PDT) Received: from goa-sendmail ([93.56.169.184]) by smtp.gmail.com with ESMTPSA id kx6-20020a170907774600b0072b3182368fsm2198701ejc.77.2022.07.22.10.04.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 10:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1658509500; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QIe3GqZfn4ySK6BpRC1oz1OEETJCzYLqg2tOgkwe3oM=; b=c99W640u0+EF+2cTKt/GkUb8lqVSMLrAxVJ55QlTLLjT+VZVPYWKw6+ZSxLgo6ZdYD86QS pLJpPZYgEDtBFYR0Lwb2bMw9XreBjGsT9SzG+JG4L2y2D9tWtf91QzH8i5ym8ZRJRbOpMx vgfAv1jOwkDXOupd+6M4XYbU0pj3plE= X-MC-Unique: taDpcqScPA-qFQT1UAKA-g-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QIe3GqZfn4ySK6BpRC1oz1OEETJCzYLqg2tOgkwe3oM=; b=Je6OWQm8cD0AbGNbOaXaNLQDsHgT9G7lN5/TothdLZ5cQ1Erp2kEMb352grTWiEzJ5 zbBm7ThsNGtNvtrE3FDyaCA+fjVfsIVejnAJSVFrYSCRFzOqyhFtPHU73tuSF/ujq8qU Tii+138dhWshmuWaJQrWzDEcDSwNbWTstN6ZIMvsz2AtEqV7ISTBS8sVvf852TxF6caa TJZpKoGKkUQEl3h2bXURw0RJRsO9OYjB9wkYb/OYIbyfWPqIdqwR8cXxhXguFXnWqMt3 tRxNdSgOvcEEjPU7cm1vGHhKnAgVzOlK0U0ClDM/m+gcFMTOmMl61915AuAWFgyqAxWe FFWg== X-Gm-Message-State: AJIora/ydpv96vS99T2SMRuC4CpSCcyjvGsxrY3a2IbZ171SybHPf3VP 1UZx9Cx7588F/kQAsF+ErsKIujirCW+XL9U+NMJ63Sr7sl7QxBBkZ2yqmT3t36C7yy4xp1YM8Fk QlNjaRthJsIj/MhlY1G9epcdFY1ADMOQtSCrWEG4er7EbCsrWkC0bq/xzgJmCaSeYL2g= X-Received: by 2002:a17:907:60cc:b0:72b:40a8:a5b with SMTP id hv12-20020a17090760cc00b0072b40a80a5bmr624632ejc.379.1658509497293; Fri, 22 Jul 2022 10:04:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vBKP52JveUe93H/JHjs6AGifaaaxQXuZtwWrug1lbvlLzFGXkJtk5jyvsvic+errKTwMYGsA== X-Received: by 2002:a17:907:60cc:b0:72b:40a8:a5b with SMTP id hv12-20020a17090760cc00b0072b40a80a5bmr624608ejc.379.1658509496986; Fri, 22 Jul 2022 10:04:56 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: Alexander Bulekov Subject: [PULL 3/8] oss-fuzz: remove binaries from qemu-bundle tree Date: Fri, 22 Jul 2022 19:04:44 +0200 Message-Id: <20220722170449.853222-4-pbonzini@redhat.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220722170449.853222-1-pbonzini@redhat.com> References: <20220722170449.853222-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1658509770211100001 Content-Type: text/plain; charset="utf-8" oss-fuzz is finding possible fuzzing targets even under qemu-bundle/.../bin= , but they cannot be used because the required shared libraries are missing. Since the fuzzing targets are already placed manually in $OUT, the bindir and libexec= dir subtrees are not needed; remove them. Cc: Alexander Bulekov Signed-off-by: Paolo Bonzini --- scripts/oss-fuzz/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/oss-fuzz/build.sh b/scripts/oss-fuzz/build.sh index 2656a89aea..5ee9141e3e 100755 --- a/scripts/oss-fuzz/build.sh +++ b/scripts/oss-fuzz/build.sh @@ -87,8 +87,10 @@ if [ "$GITLAB_CI" !=3D "true" ]; then make "-j$(nproc)" qemu-fuzz-i386 V=3D1 fi =20 -# Prepare a preinstalled tree +# Place data files in the preinstall tree make install DESTDIR=3D$DEST_DIR/qemu-bundle +rm -rf $DEST_DIR/qemu-bundle/opt/qemu-oss-fuzz/bin +rm -rf $DEST_DIR/qemu-bundle/opt/qemu-oss-fuzz/libexec =20 targets=3D$(./qemu-fuzz-i386 | awk '$1 ~ /\*/ {print $2}') base_copy=3D"$DEST_DIR/qemu-fuzz-i386-target-$(echo "$targets" | head -n 1= )" --=20 2.36.1