From nobody Tue Feb 10 04:12:40 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+96098+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+96098+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linux.microsoft.com ARC-Seal: i=1; a=rsa-sha256; t=1667937125; cv=none; d=zohomail.com; s=zohoarc; b=JBbsTd7f7jLnfTHOaLr5xqbg/TVA5WQjd2DARKz91TIXXw+484qqUk6XWnBl4f+OCGrlu4j1FcCzWPXVoWqkAOI1a2+6cOBMzgh+xkwhyS8Z9Scy97UB3qjWTLht3n8mPEM/Les02e6+Z0WpyZcpOrDn4BV66T2CJaY2vIsuknA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1667937125; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=5xueRxKU+/5Mgb1SPp+WeYgxOw867KEte7wSjN1YlCI=; b=OsOsk/b2ZcJ+V5SMYsI/wB4MKnjh01Q6jh690eoURlxLLOo13db3RYGEkbOKudnJtMya74sYPRjOtLOjY0/xJUQExdO2iV9qbonwEtlgGA+OXUGQD3eoOjVzS75h4MbHNm5DdZv4pz1u4Cv98Y9veTFjQPEk4QuK56Lvqb76oMA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+96098+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1667937125392276.9298251232443; Tue, 8 Nov 2022 11:52:05 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id gqLXYY1788612x34y4ncP3qd; Tue, 08 Nov 2022 11:52:05 -0800 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web09.1819.1667937124242413704 for ; Tue, 08 Nov 2022 11:52:04 -0800 X-Received: from localhost.localdomain (unknown [47.201.8.94]) by linux.microsoft.com (Postfix) with ESMTPSA id 2FB9120B9F82; Tue, 8 Nov 2022 11:52:03 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 2FB9120B9F82 From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Sean Brogan , Michael D Kinney Subject: [edk2-devel] [PATCH v1 2/2] edk2.qls: Allow error severity results and add new queries Date: Tue, 8 Nov 2022 14:51:32 -0500 Message-Id: <20221108195132.1463-3-mikuback@linux.microsoft.com> In-Reply-To: <20221108195132.1463-1-mikuback@linux.microsoft.com> References: <20221108195132.1463-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mikuback@linux.microsoft.com X-Gm-Message-State: ZTh8I4HYURrZcbmx8o5ZrIJVx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1667937125; bh=Q4lL1AylPWioOLnOK5nXsex5UMwwed7hnkLbbGBmaiQ=; h=Cc:Date:From:Reply-To:Subject:To; b=IcpFpt5IKANun/uS5xmWw/tmRIchpjtvWqzWZ5kTtGe1NCK2Hu1+PnvbAzENuRyIjoh xQ1ookDEqMbc41WF8bnNnGuDiwhgLW5zfNAYIWI7wH57nRmGxc/aCvnccnywf+cOi1DBu ZMuwaLfB6PyJYoqQJL9YTxD7UwQs+4XcF1s= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1667937126463100001 Content-Type: text/plain; charset="utf-8" From: Michael Kubacki The query cpp/conditionallyuninitializedvariable was initially enabled with the CodeQL code because work was in progress on those changes. The results were filtered out so CodeQL passed so we could verify the CodeQL workflow without impacting CI results. This change allows error severity messages and substitutes that query with two queries that do not return failures. This allows these queries to find future problems and prepares the CodeQL workflow to catch future failures as queries are enabled. Cc: Sean Brogan Cc: Michael D Kinney Signed-off-by: Michael Kubacki --- .github/codeql/codeql-config.yml | 1 - .github/codeql/edk2.qls | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-confi= g.yml index 3e27c2fb0d28..a51db141ebe3 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.yml @@ -25,6 +25,5 @@ queries: query-filters: - exclude: problem.severity: - - error - warning - recommendation diff --git a/.github/codeql/edk2.qls b/.github/codeql/edk2.qls index 0efc7dca52db..ef9aae790f5f 100644 --- a/.github/codeql/edk2.qls +++ b/.github/codeql/edk2.qls @@ -9,4 +9,6 @@ # Enable individual queries below. =20 - include: - id: cpp/conditionallyuninitializedvariable + id: cpp/infinite-loop-with-unsatisfiable-exit-condition +- include: + id: cpp/overflow-buffer --=20 2.28.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#96098): https://edk2.groups.io/g/devel/message/96098 Mute This Topic: https://groups.io/mt/94898437/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-