From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.20788.1604967299344981941 for ; Mon, 09 Nov 2020 16:14:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=EMFBN8SI; spf=pass (domain: intel.com, ip: 134.134.136.20, mailfrom: bob.c.feng@intel.com) IronPort-SDR: HbFn8o5sREcwycE2szOE6rAg9zsvjR3vwEvDW/sl+97MpjraNKX+eAJMqZaa2TKdVacPwJv1JH oqxAmi4w9JIg== X-IronPort-AV: E=McAfee;i="6000,8403,9800"; a="156896527" X-IronPort-AV: E=Sophos;i="5.77,464,1596524400"; d="scan'208";a="156896527" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Nov 2020 16:14:57 -0800 IronPort-SDR: lSh7QdNzoVTKk02owqPRoGbXnktkPAThAro+tYFG4oPZMtWHNqkpTuQ5bZRR3c2J2sXQJKKOBF 1rW4LCapLpWQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,464,1596524400"; d="scan'208";a="322636277" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga003.jf.intel.com with ESMTP; 09 Nov 2020 16:14:57 -0800 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 9 Nov 2020 16:14:56 -0800 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 9 Nov 2020 16:14:56 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 9 Nov 2020 16:14:56 -0800 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.45) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 9 Nov 2020 16:14:55 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XWW8ARPjJWQeru42LuZrNpfQuvHS/O6IcH4S8ui/lLYdON3hoEsV5wjI+AFP+P6iJ4R30ezupFx+RBqKftoCgajWyR/mF67Ylde6pJaQA/CLyA6FVbUO1BZpLnwL/DkETI2vLTbOJKYoe8sjCCvlxV9kwMst/VTZbulhtTW1mHXCC7LcHsD6xq6QKtapVe78td2xQuFgMi021dm0op80jynGWL4zkdA6usclawB+SO5nzKMXXXfa8FxGlULgDjMnFLETWJG5h7JoQ4y3q5JwwvhtrG25+324cN0sL6u46ZJMEDU7aA0J9oh1E9XccFVdFKQwuzxw5faib14k+e974g== 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-SenderADCheck; bh=cgItzRZOAmYiqgHAu2rz1z6b8oXPGht4XU+kQeip98g=; b=iAzfy7q2fGGsi9shzOXansvAPOwPTn68xE3RcamiGFXPUP0KFJKHIsT4XEg1Ea3O/f1smnu8esObYi27m3qJVQ19qdgwSUQwFPEotJ+A3CPiVizt29QeXN/6VKx3z/NC/dNHJzJk11LlUItCQxUc4qQfJCuuP7p4mEZIQILj2nQessAZVTWcHqhozp8TLuqw5t59kShtqnIXMU3pVFMVVVswZsj/CcS6xZxMj75VlYaRu/izmRQVl0hzuXkeizJ0dw3fhlyJUBr51X85yhWMrUJTrjgJRKBIuM99T/N9XktTlwKN8UHRySaPrt5JzqjUjAx302optIIox8CC/lg5yA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cgItzRZOAmYiqgHAu2rz1z6b8oXPGht4XU+kQeip98g=; b=EMFBN8SIBzYVzaR1/Lmt/l5NJ0VEVSDUtSAyDb6B07nQ4jiEOzEA8sLxL1h+zHDaywQcxOgqXs7U3Rw9DDcyFaUQA/CPwkDBP4aPO/E5/uBQenbhU4Ie9bGAJCWGpcvg8f5AdNdINtfztRhON3sid0yUcrhI9IojLgE+PTgaw2k= Received: from BY5PR11MB4070.namprd11.prod.outlook.com (2603:10b6:a03:181::16) by BYAPR11MB2776.namprd11.prod.outlook.com (2603:10b6:a02:c8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.21; Tue, 10 Nov 2020 00:14:53 +0000 Received: from BY5PR11MB4070.namprd11.prod.outlook.com ([fe80::8842:3f1e:4ffc:32c1]) by BY5PR11MB4070.namprd11.prod.outlook.com ([fe80::8842:3f1e:4ffc:32c1%3]) with mapi id 15.20.3541.025; Tue, 10 Nov 2020 00:14:53 +0000 From: "Bob Feng" To: Yunhua Feng , "devel@edk2.groups.io" CC: Liming Gao , "Chen, Christine" Subject: Re: [PATCH v3 2/2] BaseTools: Update report map file format Thread-Topic: [PATCH v3 2/2] BaseTools: Update report map file format Thread-Index: AQHWtm+YrnIQR+ODAESgPHMOCzFGi6nAgApQ Date: Tue, 10 Nov 2020 00:14:53 +0000 Message-ID: References: <20201109080802.2217-1-fengyunhua@byosoft.com.cn> <20201109080802.2217-3-fengyunhua@byosoft.com.cn> In-Reply-To: <20201109080802.2217-3-fengyunhua@byosoft.com.cn> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: byosoft.com.cn; dkim=none (message not signed) header.d=none;byosoft.com.cn; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ef4463f5-582c-4eba-53c0-08d8850da5c3 x-ms-traffictypediagnostic: BYAPR11MB2776: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:612; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: JQL7fyplf+i6vtqIejxvIK0ktjrwvDIwEg7IrIyKJZbNpPT3uscSmadjbKt0BGG2NI9VfuHmJ4pCo6ZKn4AlknA3Y5tUL72lB+jzgNQc8O2IwsTfRN85R5SBsnX+rqUVhVCNTrfj82nJSTxouUjym8Ww6YeEUR23JQ/H4kokDaDPqwMPYHuMtwBdbuW1IYmWNM8liMb00ZmTY96Og3uivaTiLTLq8Eaoe64RAKGOmx/6zwSj9UOhcc9y0ioNJ7wsCKPiXMnNuvwnABgGpuQbTgkgcr1/YcysV9NJpbxcC1ia4uA7MHTctZpEftIY8hDUBHlRhMQ0El8dm+dT4ybNPOsz5Ct7lmQfCVWPt+gvh9V/8zfL/77deKVUYUaYYY8sx0NShTTWbYPBsrvCxSRcfw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR11MB4070.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(376002)(396003)(366004)(346002)(39860400002)(33656002)(2906002)(76116006)(66446008)(66946007)(66476007)(66556008)(64756008)(316002)(86362001)(52536014)(54906003)(71200400001)(110136005)(7696005)(478600001)(26005)(186003)(15650500001)(4326008)(107886003)(83380400001)(8936002)(8676002)(966005)(55016002)(53546011)(6506007)(5660300002)(9686003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: 3KSGqZu5wnsx0rptLQyJUNCVV36sTMegvevf3NMgBc86C3DdBoiExXT4OAzKWTfzLae1YnZTxQyYgqXTXZMtEdLHTazXNrDuHglEOL4i2my/ltd+DdUmN+nZm2X6E3mSZorHYlFl9KCTe6/79KR8KXKOTo4AxJldC3FxEeQVpwb0u9LiX7U6e70Aczg6JbC0SysufqbvmuYDjUvrjgGBnBgmK+y5WWhKhdCS/nC3eyzsjHqqrLnDoHAIM+0QLOcFk/NOqlvPL+5Usf95MV+vyl5/j+e76579ze028J+RbW3/rSzorWOSK3LnN++EkW51HBg6pL3kUBav9NEMhclPThh7QAIGiW8n3ZVsbYG2gOnJw3XT6lCjDilIf2Gbg3MMvK2DIKF0NEGhCpDPuB3daF87QgLjQiuOozb41aN5HgUuLyL5NYKYQo+xo2Nn7R6jCQ0D8NnRD2AslPK2d4zpJDtoeeVdvNyN63KgRKX1Hr6Zf+YCXYff7eOIHEtK6a0nz8aFGSRis938Hm6GhevuB63RH2GlMylQ+roMBBMavBT7VbIFTKbYNgA+L8O9ECP5IE41AJPmWVMxRa37GurnUcdNCd3gOi1k/Rn9/fBanzhMuJu5VHN8jOqumruF2ad0TSuNuN/pijacfPabH6ZJoQ== MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB4070.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef4463f5-582c-4eba-53c0-08d8850da5c3 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Nov 2020 00:14:53.4286 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: e/2lQZ9duwin8vqNyqjdWt3Do+8wf8+dOX4Y4ET3p2X1wZrvugGiGdwgfzF/oo+t4AHkpYkDe0y5FoYDHAJYSQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB2776 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bob Feng -----Original Message----- From: Yunhua Feng =20 Sent: Monday, November 9, 2020 4:08 PM To: devel@edk2.groups.io Cc: Feng, Bob C ; Liming Gao ; Chen, Christine Subject: [PATCH v3 2/2] BaseTools: Update report map file format REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2977 For a source-level BIOS debugger the .map files are quite useful with one m= ajor shortcoming: the debugger cannot know, solely from the .map file, the = format (PE/COFF vs. TE) of the image included in the final BIOS ROM Update report map file format Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Signed-off-by: Yunhua Feng --- BaseTools/Source/Python/build/BuildReport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/Python/build/BuildReport.py b/BaseTools/Sourc= e/Python/build/BuildReport.py index 8efa869162..330234e5af 100644 --- a/BaseTools/Source/Python/build/BuildReport.py +++ b/BaseTools/Source/Python/build/BuildReport.py @@ -60,7 +60,7 @@ gPcdGuidPattern =3D re.compile(r"PCD\((\w+)[.](\w+)\)") gOffsetGuidPattern =3D re.compile(r"(0x[0-9A-Fa-f]+) ([-A-Fa-f0-9]+)") =20 ## Pattern to find module base address and entry point in fixed flash map = file -gModulePattern =3D r"\n[-\w]+\s*\(([^,]+),\s*BaseAddress=3D%(Address)= s,\s*EntryPoint=3D%(Address)s\)\s*\(GUID=3D([-0-9A-Fa-f]+)[^)]*\)" +gModulePattern =3D r"\n[-\w]+\s*\(([^,]+),\s*BaseAddress=3D%(Address)s,\s*= EntryPoint=3D%(Address)s,\s*Type=3D\w+\)\s*\(GUID=3D([-0-9A-Fa-f]+)[^)]*\)" gMapFileItemPattern =3D re.compile(gModulePattern % {"Address" : "(-?0[xX]= [0-9A-Fa-f]+)"}) =20 ## Pattern to find all module referenced header files in source files -- 2.27.0.windows.1