[PATCH 0/3 v2] Let 64bit dbghelp handle a 32bit target

Eric Pouech eric.pouech at gmail.com
Tue Aug 31 06:20:20 CDT 2021


Allow 64bit dbghelp handle a 32bit target on WOW64 context.
The good news is that the serie is rather small.

Changes in v2:
- rebased because of conflict with Michael Stefaniuc patch
- in third patch, just offset PEB64 address to get to PEB32

A+

---

Eric Pouech (3):
      dbghelp: split storage of PE header
      dbghelp: now storing the IMAGE_OPTIONAL_HEADER in either 32bit or 64bit form
      dbghelp: fix failing SymInitialize for a live 32bit target from a 64bit caller in WOW64


 dlls/dbghelp/dbghelp.c       | 14 ++++++++++----
 dlls/dbghelp/image_private.h |  6 +++++-
 dlls/dbghelp/pe_module.c     | 37 ++++++++++++++++++++++++++----------
 3 files changed, 42 insertions(+), 15 deletions(-)




More information about the wine-devel mailing list