[PATCH 2/2] wdscore: Add CurrentIP stub.

Mohamad Al-Jaf mohamadaljaf at gmail.com
Mon Dec 27 22:00:19 CST 2021


I don't understand this, I thought disassembly of Microsoft DLLs wasn't
allowed? Why then does the example show assembly code of the undocumented
function?

On Fri, Dec 24, 2021 at 9:54 PM Mohamad Al-Jaf <mohamadaljaf at gmail.com>
wrote:

> Yeah, that's also what the wiki says:
> https://wiki.winehq.org/Wine_Developer's_Guide/Other_Debugging_Techniques
>
> But it also says that some functions can be wrongly interpreted as having
> more arguments than originally thought.
>
> Honestly, I have no idea how to begin this, my knowledge of assembly is
> rudimentary. I see that WineDbg has a disassemble option, but I'm not sure
> how to use it in this context.
>
> If you could guide me through this so that I can learn, I'd really
> appreciate it.
>
> On Fri, Dec 24, 2021 at 5:28 PM Zebediah Figura (she/her) <
> zfigura at codeweavers.com> wrote:
>
>> On 12/23/21 19:43, Mohamad Al-Jaf wrote:
>> > Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51850
>> > Signed-off-by: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
>> > ---
>> > The function is undocumented. It does not seem to
>> > take any arguments, but I don't know how to verify
>> > this without a doubt.
>>
>> The most effective way I'm aware of is to call it on i386 and check the
>> stack alignment.
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20211227/2c91e3b8/attachment.htm>


More information about the wine-devel mailing list