From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.40848.1679935288218892689 for ; Mon, 27 Mar 2023 09:41:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=SOueKxO1; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A0E136137A for ; Mon, 27 Mar 2023 16:41:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12AF4C4339C for ; Mon, 27 Mar 2023 16:41:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679935287; bh=IhFLpZRFdsQGazEgV8FCXuFXwSW2Ha0jm0tI9qeTedw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=SOueKxO17lB5BHnqLHlSvafKg6dUbVYOYEYSsMxafkkIdwOJFAMgGOjpXjpnkDYdf hGv2uMNz/zm3eoMu+QHHZTSX7suN9xj7Xi0eGqvGYxDCyXEyBmxOSAYtPB2+zmcEyF 2bSFMm3pawklEzl0mlU6E8e3gj5IDikyPlfNL/H92h4UUVe5RrkIgLskrO14ouNZ1l 0tPU+31hFx03/ZV8DXWEoP4Jt7b2S2pKU6RcxEYNMJYRbuBWOz1JLKZrfgCmt0egI+ 7dXmV7Y0qtzbYvVrV7Qcybve08XgHo0gqgY6pRvsk3M/s0ZBMt1OB5o6LYT6Js224X Bq80wJFhxEeFg== Received: by mail-lj1-f176.google.com with SMTP id h9so9713083ljq.2 for ; Mon, 27 Mar 2023 09:41:26 -0700 (PDT) X-Gm-Message-State: AAQBX9cfVPgNEFTA/BP/HFlujcZRMD9K1Sg59/P6/13oaawkcfxii6Dy Lc8wQSQW4h8wsoPE9c4DE7fQe0Q1lup5+u/l1dY= X-Google-Smtp-Source: AKy350afmP2sQy5/m3MAhyOF+hsz3Csc6450DIrhf8cBhh+IC7cLxOQTN9d4qz0AKxomMEtefDofteBmoZaOGpaxxks= X-Received: by 2002:a2e:8786:0:b0:298:6f39:21de with SMTP id n6-20020a2e8786000000b002986f3921demr3756021lji.3.1679935284901; Mon, 27 Mar 2023 09:41:24 -0700 (PDT) MIME-Version: 1.0 References: <20230327110112.262503-1-ardb@kernel.org> <20230327110112.262503-15-ardb@kernel.org> <49927D70-11BA-4B5D-93B5-764A853F2ED0@posteo.de> In-Reply-To: <49927D70-11BA-4B5D-93B5-764A853F2ED0@posteo.de> From: "Ard Biesheuvel" Date: Mon, 27 Mar 2023 18:41:13 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 14/17] BaseTools/GenFw: Add DllCharacteristicsEx field to debug data To: =?UTF-8?Q?Marvin_H=C3=A4user?= Cc: edk2-devel-groups-io , Michael Kinney , Liming Gao , Jiewen Yao , Michael Kubacki , Sean Brogan , Rebecca Cran , Leif Lindholm , Sami Mujawar , Taylor Beebe , Bob Feng Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 27 Mar 2023 at 17:46, Marvin H=C3=A4user wrote= : > > Hi Ard, > > On 27. Mar 2023, at 13:01, Ard Biesheuvel wrote: > > The PE/COFF spec describes an additional DllCharacteristics field > implemented as a debug directory entry, which carries flags related to > which control flow integrity (CFI) features are supported by the binary. > > > Out of mere personal interest, is there any reference for this yet? The "= PE format" page [1] doesn't seem to have this yet. > > [1] https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#the-d= ebug-section > > https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#extended-dl= l-characteristics