From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web09.8333.1604028085565057417 for ; Thu, 29 Oct 2020 20:21:27 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: fengyunhua@byosoft.com.cn) Received: from LAPTOP2AECFQIA ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 30 Oct 2020 11:21:14 +0800 X-WM-Sender: fengyunhua@byosoft.com.cn X-WM-AuthFlag: YES X-WM-AuthUser: fengyunhua@byosoft.com.cn From: "fengyunhua" To: "'Liu, Zhiguang'" , Cc: "'Feng, Bob C'" , "'Liming Gao'" , "'Chen, Christine'" References: <20201028051318.1075-1-fengyunhua@byosoft.com.cn> <20201028051318.1075-3-fengyunhua@byosoft.com.cn> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDIvMl0gQmFzZVRvb2xzOiB1cGRhdGUgcmVwb3J0IG1hcCBmaWxlIGZvcm1hdA==?= Date: Fri, 30 Oct 2020 11:21:23 +0800 Message-ID: <000201d6ae6b$becf5200$3c6df600$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIJXJ25InH6PTTd/nn5ASempmxKQgHoU60XAqeDovipJZ5PEA== Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Hi Zhiguang, You are right, I will update the patch. Thanks Yunhua -----=D3=CA=BC=FE=D4=AD=BC=FE----- =B7=A2=BC=FE=C8=CB: Liu, Zhiguang =20 =B7=A2=CB=CD=CA=B1=BC=E4: 2020=C4=EA10=D4=C230=C8=D5 10:31 =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; fengyunhua@byosoft.com.cn =B3=AD=CB=CD: Feng, Bob C ; Liming Gao ; Chen, Christine =D6=F7=CC=E2: RE: [edk2-devel] [PATCH 2/2] BaseTools: update report map fi= le format Hi Yunhua, I believe you want to use r"\w+" to represent "Type=3DPE", but r"\w+" can = only represents '[A-Za-z0-9_]'. Maybe you can use "\w+=3D\w+" Thanks Zhiguang > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of > fengyunhua > Sent: Wednesday, October 28, 2020 1:13 PM > To: devel@edk2.groups.io > Cc: Feng, Bob C ; Liming Gao > ; Chen, Christine > Subject: [edk2-devel] [PATCH 2/2] BaseTools: update report map file form= at >=20 > update report map file format >=20 > 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(-) >=20 > diff --git a/BaseTools/Source/Python/build/BuildReport.py > b/BaseTools/Source/Python/build/BuildReport.py > index 8efa869162..57701ec3e3 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 m= ap > 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*\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 >=20 >=20 >=20 >=20 >=20 >=20