]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/PeCoffGetEntryPointLib: Add PeCoffSerachImageBase()
authorJeff Fan <jeff.fan@intel.com>
Sat, 1 Apr 2017 05:29:00 +0000 (13:29 +0800)
committerJeff Fan <jeff.fan@intel.com>
Fri, 7 Apr 2017 01:43:36 +0000 (09:43 +0800)
commit412e9dea4b7e6a84bc7125088ac4b08365d9646c
tree59935a877306f45124bdcc7f5e2e1c06c62a64d6
parenta30d5f9f90e64c25eb1d4c6adad1ccae682ca59f
MdePkg/PeCoffGetEntryPointLib: Add PeCoffSerachImageBase()

This new API only works on DEBUG build. It will search the PE/COFF image base
forward the input address in this PE/COFF image and returns it.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
MdePkg/Include/Library/PeCoffGetEntryPointLib.h
MdePkg/Library/BasePeCoffGetEntryPointLib/PeCoffGetEntryPoint.c