<div dir="ltr"><div dir="ltr">On Sat, May 14, 2022 at 6:29 PM Zebediah Figura <<a href="mailto:zfigura@codeweavers.com">zfigura@codeweavers.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">...<br>Using the PE executable format is not actually necessary to accomplish <br>
this (even for proper WoW64 support, I believe—though someone should <br>
correct me if I'm wrong. At least it's not necessary for obvious <br>
reasons.) ...</div></blockquote><div><br></div><div>This is correct, out of morbid curiosity (back when I still had some free time) I wrote a prototype "Linux WoW64" wrapper and I can say that this 100% works without doing anything in PE.  I say morbid curiosity because I made this tool able to simultaneously load 32-bit and 64-bit libraries in the same program and be able to create 32-bit thunks from a library's headers and that whole process is ... interesting.<br></div><div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">...<br>
Hope this was helpful for someone. I know Erich wrote a similar writeup, <br>
but there were a couple of missing bits in that I wanted to clarify as well.<br></blockquote><div><br></div><div>Heh, good memory - my "writeup" was more of a TLDR for end-users.  This is _far_ more complete and covers a lot of the technical issues that get solved along the way.</div><div><br></div><div>Best,</div><div>Erich<br></div></div></div>