From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 69115A04FF; Thu, 5 May 2022 11:30:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E40440C35; Thu, 5 May 2022 11:30:10 +0200 (CEST) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [170.10.129.74]) by mails.dpdk.org (Postfix) with ESMTP id E17B040042 for ; Thu, 5 May 2022 11:30:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651743008; 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=UwGACI+OUE6+0wDpZMufuQPpePNC/FZcgSEEoY/dIgY=; b=TaBS4O1IjyV/qXpF7SL/dHLwplZgkckaBpn7n6J6a4tklioiiMnO8OE+LIqs9ka4WAy/t2 U6NWYVnueTRU/rjgohkO6PY1ZV6H15f1gufB4rFA+WSjabkJhMJzUslk1MBcGqezPXq7p/ PkiT6EG0ZPOSdtqfOUyD+QfrJkJtIh4= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-571-TBlyfFDqMu-W6RE5hc8Lzg-1; Thu, 05 May 2022 05:30:04 -0400 X-MC-Unique: TBlyfFDqMu-W6RE5hc8Lzg-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7AF683979690; Thu, 5 May 2022 09:30:04 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.200]) by smtp.corp.redhat.com (Postfix) with ESMTP id C099854F3F5; Thu, 5 May 2022 09:30:03 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: john.mcnamara@intel.com Subject: [PATCH v2 0/2] Enable ASan in GHA Date: Thu, 5 May 2022 11:29:50 +0200 Message-Id: <20220505092952.11818-1-david.marchand@redhat.com> In-Reply-To: <20220415173127.3838-1-david.marchand@redhat.com> References: <20220415173127.3838-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Now that rte_malloc instrumentations are fixed, we can enable ASan in GHA. There are still some unit tests (relying on multiprocess) that can't reliably run with ASan enabled. Those unit tests are skipped. -- David Marchand Changes since v1: - dropped patch 2 in favor of Anatoly fix, - rebased the last patch after other unit tests fixes have been merged, David Marchand (2): test/mem: disable ASan when accessing unallocated mem ci: build some job with ASan .ci/linux-build.sh | 8 ++ .github/workflows/build.yml | 3 +- app/test/meson.build | 208 ++++++++++++++++++----------------- app/test/test_memory.c | 5 + lib/eal/common/malloc_elem.h | 10 +- lib/eal/include/rte_common.h | 13 +++ 6 files changed, 138 insertions(+), 109 deletions(-) -- 2.23.0