public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "fengyunhua" <fengyunhua@byosoft.com.cn>
To: "'Liu, Zhiguang'" <zhiguang.liu@intel.com>, <devel@edk2.groups.io>
Cc: "'Feng, Bob C'" <bob.c.feng@intel.com>,
	"'Liming Gao'" <gaoliming@byosoft.com.cn>,
	"'Chen, Christine'" <yuwei.chen@intel.com>
Subject: 回复: [edk2-devel] [PATCH 2/2] BaseTools: update report map file format
Date: Fri, 30 Oct 2020 11:21:23 +0800	[thread overview]
Message-ID: <000201d6ae6b$becf5200$3c6df600$@byosoft.com.cn> (raw)
In-Reply-To: <CY4PR11MB1687E687101654FACE0A657990150@CY4PR11MB1687.namprd11.prod.outlook.com>

Hi Zhiguang,
 You are right, I will update the patch. Thanks

Yunhua

-----邮件原件-----
发件人: Liu, Zhiguang <zhiguang.liu@intel.com> 
发送时间: 2020年10月30日 10:31
收件人: devel@edk2.groups.io; fengyunhua@byosoft.com.cn
抄送: Feng, Bob C <bob.c.feng@intel.com>; Liming Gao <gaoliming@byosoft.com.
cn>; Chen, Christine <yuwei.chen@intel.com>
主题: RE: [edk2-devel] [PATCH 2/2] BaseTools: update report map file format

Hi Yunhua,

I believe you want to use r"\w+" to represent "Type=PE", but r"\w+" can only
represents '[A-Za-z0-9_]'.
Maybe you can use "\w+=\w+"

Thanks
Zhiguang
> -----Original Message-----
> From: devel@edk2.groups.io <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 <bob.c.feng@intel.com>; Liming Gao
> <gaoliming@byosoft.com.cn>; Chen, Christine <yuwei.chen@intel.com>
> Subject: [edk2-devel] [PATCH 2/2] BaseTools: update report map file format
> 
> update report map file format
> 
> Cc: Bob Feng <bob.c.feng@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Yuwei Chen <yuwei.chen@intel.com>
> Signed-off-by: Yunhua Feng <fengyunhua@byosoft.com.cn>
> ---
>  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/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 = re.compile(r"PCD\((\w+)[.](\w+)\)")
>  gOffsetGuidPattern = re.compile(r"(0x[0-9A-Fa-f]+) ([-A-Fa-f0-9]+)")
> 
>  ## Pattern to find module base address and entry point in fixed flash map
> file
> -gModulePattern = r"\n[-
> \w]+\s*\(([^,]+),\s*BaseAddress=%(Address)s,\s*EntryPoint=%(Address)s\
> )\s*\(GUID=([-0-9A-Fa-f]+)[^)]*\)"
> +gModulePattern = r"\n[-
> \w]+\s*\(([^,]+),\s*BaseAddress=%(Address)s,\s*EntryPoint=%(Address)s,
> \s*\w+\)\s*\(GUID=([-0-9A-Fa-f]+)[^)]*\)"
>  gMapFileItemPattern = re.compile(gModulePattern % {"Address" : "(-
> ?0[xX][0-9A-Fa-f]+)"})
> 
>  ## Pattern to find all module referenced header files in source files
> --
> 2.27.0.windows.1
> 
> 
> 
> 
> 
> 




      reply	other threads:[~2020-10-30  3:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28  5:13 [PATCH 0/2] Add image type information into map file fengyunhua
2020-10-28  5:13 ` [PATCH 1/2] BaseTools: Add image type into generate " fengyunhua
2020-10-28  5:13 ` [PATCH 2/2] BaseTools: update report map file format fengyunhua
2020-10-30  2:31   ` [edk2-devel] " Zhiguang Liu
2020-10-30  3:21     ` fengyunhua [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000201d6ae6b$becf5200$3c6df600$@byosoft.com.cn' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox