From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 4D52FAC14DC for ; Wed, 6 Dec 2023 16:36:51 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=nVAdURYrKM8gataArEfBQUORmBRZdExryOft+uPxm+Y=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type; s=20140610; t=1701880610; v=1; b=ZlGeWlFUxBFbgHZ7FFKM+tFZyP8eDW4bhFbDdZwlmrdRcTPgVoTw/3LZwN1P2tcXY+SEEufg pXWbJBPjW0b8dKmbki+C7buAuoZbg7hSTg+Sn3bn2u8WaAqezLFM/bDgvMY7NreagS1Zy3PHKR8 MGOq+ZluQWsUz7G2r4A/kCwA= X-Received: by 127.0.0.2 with SMTP id 0KrzYY7687511x6crm9ffmyI; Wed, 06 Dec 2023 08:36:50 -0800 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.40]) by mx.groups.io with SMTP id smtpd.web11.37171.1701880609164852592 for ; Wed, 06 Dec 2023 08:36:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PEhbx2rJ2qI5Pz1cyK09YkXrSEzXlzWNHwMqaVp9iIJ+y6dHRRNOClytK2tPTAEF7l0A15gjBEG4xgOsX9S1n/G7wIqsrYUdFXuVD/RMHaIU+TiHuvOhBRnQDncFH2LBsvsP4siD7qoR7Mpmf7TvIVmFhwzywO5yX5n/b3i1IC82IU3Q/JONPxwy1f0tDiteDPacZ1B1rbWaJibWmSp1sZNsWqAS9ATyCEBq7ap1sx0v3SDs7lk7EnNXU3f70z0BqvaETVgXZzU5RUXODLMOZRYy3nQpuW7fFZ2vixaG+9PFFXqYoAzNLFy7bytBOQS2fNH4urxr23kHM4QGW9YZbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vbwVoT+41Zulz6PtzLZ8nFoPV5I26rw88fvUCRSrjAU=; b=Kzb/8Sh1eZmN54qgqGP2mes2bOB5y6xsBd7oElI4jpEEyTgq8J7E+KWd5u6Hhfk0jqoN6vtTlZRmtuedJvGdIAz9d1JjnXQhO/gSYVocxts/EOOkcRwWXte+Dt5kijX8nPaQPxLUWc8tg1055DuponLe6IIlOdMvuTeuTtlgiLFf7vPz3NgDl8pw/fZjzpDW5LgDl1LXJr9MM8VZ3Zge5VPcOblI+dWFMT2A613CeiOh8lk7jNjagWvy/goMGi0Nd4lvhW5/CqdKPRtQ3t2JEd3JReAmSlTYYvpmU/O6FmaLeFX33ms7UaDXMjyuGjvgOTsrhr8WMIc1dUXxUXG5ZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none X-Received: from PH0PR12MB7888.namprd12.prod.outlook.com (2603:10b6:510:28b::20) by MN2PR12MB4375.namprd12.prod.outlook.com (2603:10b6:208:24f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7068.25; Wed, 6 Dec 2023 16:36:44 +0000 X-Received: from PH0PR12MB7888.namprd12.prod.outlook.com ([fe80::b697:2fd4:b925:1180]) by PH0PR12MB7888.namprd12.prod.outlook.com ([fe80::b697:2fd4:b925:1180%2]) with mapi id 15.20.7046.034; Wed, 6 Dec 2023 16:36:44 +0000 From: "Jake Garver via groups.io" To: gaoliming , "devel@edk2.groups.io" CC: "michael.d.kinney@intel.com" , "zhiguang.liu@intel.com" Subject: Re: [edk2-devel] [PATCH v2] BaseStackCheckLib: Fix STACK FAULT message Thread-Topic: [PATCH v2] BaseStackCheckLib: Fix STACK FAULT message Thread-Index: AQHZ96emCrqf73ti7kyigBE4A44UCLA9yGYAgBHrrYWATSFL4w== Date: Wed, 6 Dec 2023 16:36:44 +0000 Message-ID: References: <080101d9f8db$dc3f6a10$94be3e30$@byosoft.com.cn> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR12MB7888:EE_|MN2PR12MB4375:EE_ x-ms-office365-filtering-correlation-id: 0f6a1248-cb3a-42df-8070-08dbf67988bc x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: g1PW2+3KGY8uKdiUcpPvrG/nE6f5+rqzfQOgsaADGTV6X9d6GZK4JJVSmdLKGOBEcriZ25rgLWE7hKDfncW5m9m6l3U5+IjgDVXI6qb6pLcX3ZAm73YKNlCQMNBAFp2lx10cAyqZBAp2XzhrfXIJdI8ltDmWH8gtLzLqsyzgSvJEBZJor+4nPK/CMIoKF5fFsBfmtCnvwvX0EmGZJZTXdyQNfwqYs29k0GJHUtmF6QrMzah0Hwl8AgxwNiYTj9ZHCl9O5PqvsRymsANgTCqapfClT6VTG2/YVAPESMi3taLoYP0HHIDBF559qVCP83ZRIL0GDXWgQHuHZozLScHNyCz9WyntsLDBUTSZBeNBgv3DfJJWwUIs9ztJ8zSur8woJft/HCmC/VSjxQZwkMcXHwO304A8mySt/RtEvs/JE73555zq8ly8nWqKGG0GLwGMA1F/CUQ7ut5Or0tZYkdQ6mi9jNOj6JxQ0FI1/ohR4VWLsZGsws5BPKmPF4gaUJ5Wg7yx1VEmiFMsSDrlUsWJoQ3EhYbrqCARoJwS5yVXll11sSWU5CLtHvspMLQcCnMqdAjVxihApaJKL0XQL2CF2Jrqy/e+yfRe4cj0lJoce3b6FYDHWqb3p8I0DmH3xyuwnMBABb/x7qiBy7P6C1que3tkqFHdhBb53v3bGRmuoHY= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?SDdPemd2djhIdzFxYkdwOEJXMFhZdWJpWUx4d2ZVZUlpK0JCcDVNclVkRlIw?= =?gb2312?B?Q0oreUFTdE8ydXp5S3llOUwwN2Qvd2tzYy9aZ1J1L1B2ZGJSdVI4NHNtUElN?= =?gb2312?B?UmQ4ZW5DY0VlMDRCWkwwMVhRS0VDcXNuajFXTEhzay8zT2hHak52TEdmWTNC?= =?gb2312?B?ZWhCYW04OExIMVJiN3MrWmtsN2RzbVpMUUNEdExrRWZDeENxTGpvSXVGREF5?= =?gb2312?B?RVA3aDdicHdWU0xUaTVjempLeDU1bHQzdUw4dUVpaFoxZFRqem95UU1iTHd2?= =?gb2312?B?VWYwQzFtUlNkNFFGZFhXVVd0VWtVRG1tWW9EWVRKL2RNcmorajlaeTlIRmFv?= =?gb2312?B?bGMrTnZoRGJvaFRVSkFkZEtveVZWY2NCcmwxemp5TEhJY0xTallVdjN0NVYy?= =?gb2312?B?YUdwaWtWTUljNnlOWFR0T0xkOVVjKzFOYk13QXllUUlvS2Y4T0d5QnMrejhS?= =?gb2312?B?TndLUFJZenh1SDlVYjBDdDY1ay9RdGVaR0ZMdjRrQ0RXd3JxT2IzWmUrYUNv?= =?gb2312?B?TWZaaFVUNU9TNHhVTEQyUDJBMG9sZGhERlhCeE4vbzdVVjA2Unh1UitsbTNq?= =?gb2312?B?cFo3MjM1WmlLcUd4bFVpQlBCM3lRaEJqR2JDR01PWFprdmwwamNZMmQ1Ymd5?= =?gb2312?B?M21wc0VlbnZJMFJyWWVBek9aTUkwRnZ6UkRtUXFaQm5kYjFh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lQS8wa3YzNkxNVWFZ?= =?gb2312?B?Y05pRGJPZVVrS2RXb2puWXUvNTAzeTdwbTZUcnlULzQydE1qaXE3VFd2ZGh6?= =?gb2312?B?VGoyaURsczJhY3Uydkl0S2VjNFByTGp5RFFibTN5TnI5M1RiYlpNZmoyTEJu?= =?gb2312?B?c3l0bnZ5MFRUNHFPcmhNT0xuZCs3czJTMVh0bmRhNzIreEUxYWwrL0cwNnF6?= =?gb2312?B?eDJOQnBxeE9mNHVaWS94bU51aTdabU5OYlliOVNFSi9Bd1krV2dNRm5BZklL?= =?gb2312?B?Z3ZRd2E0TUhaYXhmQlQ0cGtDL3Vsa3NlRnI5YldTTmVsckVuWGxyeXZTMWkx?= =?gb2312?B?R3hWMUVVYk9VMkxCTEtJV1dTdEFvemhYeU11VDZpai9EblJiMS9tczU2SWs2?= =?gb2312?B?b3Z6L3ErbGVseXZNc2thQU1QdzdXWDM4aER6UytMV3R0dGZLRWVSNFVyZ2RN?= =?gb2312?B?M3VHQTdmajVIYXY5UmFESzhyaFVQY0xKb2x2VWtEL0dmTGcxS2dGZG56WDR3?= =?gb2312?Q?bQqE=3D?= MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR12MB7888.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f6a1248-cb3a-42df-8070-08dbf67988bc X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2023 16:36:44.8135 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 26bqFpGjitgWNRUhHKG36dFuSkJxkVUrMF98hXbP6jnhGtgHkYtITXtdQ7K0eqBP X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4375 Precedence: Bulk 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,jake@nvidia.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: qFVDo3HP8ChTqmuCIYrSPXpNx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_PH0PR12MB78883DC4BA9F87F37DF1D88CAD84APH0PR12MB7888namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=ZlGeWlFU; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io --_000_PH0PR12MB78883DC4BA9F87F37DF1D88CAD84APH0PR12MB7888namp_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 QW55IGZ1cnRoZXIgY29tbWVudHMgb24gdGhpcyBjaGFuZ2U/DQoNCkknZCBsaWtlIHRvIGdldCBp dCBtZXJnZWQuDQoNClRoYW5rcywNCkpha2UNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fDQpGcm9tOiBKYWtlIEdhcnZlciA8amFrZUBudmlkaWEuY29tPg0KU2VudDogV2VkbmVzZGF5 LCBPY3RvYmVyIDE4LCAyMDIzIDEwOjQ1IEFNDQpUbzogZ2FvbGltaW5nIDxnYW9saW1pbmdAYnlv c29mdC5jb20uY24+OyBkZXZlbEBlZGsyLmdyb3Vwcy5pbyA8ZGV2ZWxAZWRrMi5ncm91cHMuaW8+ DQpDYzogbWljaGFlbC5kLmtpbm5leUBpbnRlbC5jb20gPG1pY2hhZWwuZC5raW5uZXlAaW50ZWwu Y29tPjsgemhpZ3VhbmcubGl1QGludGVsLmNvbSA8emhpZ3VhbmcubGl1QGludGVsLmNvbT4NClN1 YmplY3Q6IFJlOiB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91cC4KVmlldy9SZXBseSBPbmxpbmUgKCMxMTIxMzEpOiBodHRwczovL2VkazIuZ3JvdXBzLmlv L2cvZGV2ZWwvbWVzc2FnZS8xMTIxMzEKTXV0ZSBUaGlzIFRvcGljOiBodHRwczovL2dyb3Vwcy5p by9tdC8xMDIwNDAzNDIvNzY4NjE3NgpHcm91cCBPd25lcjogZGV2ZWwrb3duZXJAZWRrMi5ncm91 cHMuaW8KVW5zdWJzY3JpYmU6IGh0dHBzOi8vZWRrMi5ncm91cHMuaW8vZy9kZXZlbC91bnN1YiBb cmViZWNjYUBvcGVuZncuaW9dCi09LT0tPS09LT0tPS09LT0tPS09LT0tCgoNCg== --_000_PH0PR12MB78883DC4BA9F87F37DF1D88CAD84APH0PR12MB7888namp_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Any further c= omments on this change?

I'd like to get it merged.

Thanks,
Jake

From: Jake Garver <jake@= nvidia.com>
Sent: Wednesday, October 18, 2023 10:45 AM
To: gaoliming <gaoliming@byosoft.com.cn>; devel@edk2.groups.io= <devel@edk2.groups.io>
Cc: michael.d.kinney@intel.com <michael.d.kinney@intel.com>; z= higuang.liu@intel.com <zhiguang.liu@intel.com>
Subject: Re: [PATCH v2] BaseStackCheckLib: Fix STACK FAULT message
 
Thanks for the review, Liming Gao.

Any further comments on this change?

Thanks,
Jake

From: gaoliming <gaoli= ming@byosoft.com.cn>
Sent: Saturday, October 7, 2023 1:05 AM
To: Jake Garver <jake@nvidia.com>; devel@edk2.groups.io <de= vel@edk2.groups.io>
Cc: michael.d.kinney@intel.com <michael.d.kinney@intel.com>; z= higuang.liu@intel.com <zhiguang.liu@intel.com>
Subject: =BB=D8=B8=B4: [PATCH v2] BaseStackCheckLib: Fix STACK FAULT= message
 
External email: Use caution opening links or att= achments


Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

> -----=D3=CA=BC=FE=D4=AD=BC=FE-----
> =B7=A2=BC=FE=C8=CB: Jake Garver <jake@nvidia.com>
> =B7=A2=CB=CD=CA=B1=BC=E4: 2023=C4=EA10=D4=C26=C8=D5 0:19
> =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io
> =B3=AD=CB=CD: michael.d.kinney@intel.com; gaoliming@byosoft.com.cn; > zhiguang.liu@intel.com; Jake Garver <jake@nvidia.com>
> =D6=F7=CC=E2: [PATCH v2] BaseStackCheckLib: Fix STACK FAULT message >
> __builtin_return_address returns a pointer, not a string.  Fix th= e STACK
> FAULT message in BaseStackCheckLib appropriately.
>
> Signed-off-by: Jake Garver <jake@nvidia.com>
> ---
>  MdePkg/Library/BaseStackCheckLib/BaseStackCheckGcc.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckGcc.c
> b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckGcc.c
> index 0d2918668e..ea168841b6 100644
> --- a/MdePkg/Library/BaseStackCheckLib/BaseStackCheckGcc.c
> +++ b/MdePkg/Library/BaseStackCheckLib/BaseStackCheckGcc.c
> @@ -6,6 +6,7 @@
>   to exiting the function. If the "canary" is over= written
__stack_chk_fail()
>   is called. This is GCC specific code.
>
> + Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights<= br> reserved.
>   Copyright (c) 2012, Apple Inc. All rights reserved.<BR&= gt;
>   SPDX-License-Identifier: BSD-2-Clause-Patent
>
> @@ -34,7 +35,7 @@ __stack_chk_fail (
>  {
>    UINT8  DebugPropertyMask;
>
> -  DEBUG ((DEBUG_ERROR, "STACK FAULT: Buffer Overflow in
> function %a.\n", __builtin_return_address (0)));
> +  DEBUG ((DEBUG_ERROR, "STACK FAULT: Buffer Overflow at 0x%= p.\n",
> RETURN_ADDRESS (0)));
>
>    //
>    // Generate a Breakpoint, DeadLoop, or NOP based on = PCD settings even
> if
> --
> 2.34.1



_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#112131) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_PH0PR12MB78883DC4BA9F87F37DF1D88CAD84APH0PR12MB7888namp_--