How to find out the source code function from compiled running address
Bernhard Übelacker
bernhardu at mailbox.org
Tue Aug 30 15:09:26 CDT 2016
Am 30.08.2016 um 21:03 schrieb Bruno Jesus:
> wined3d.dll:7EBCEF19 mov eax, [ebp+8]
> wined3d.dll:7EBCEF1C mov eax, [eax+0EC54h]
> wined3d.dll:7EBCEF22 mov edx, [ebp-0Ch]
> wined3d.dll:7EBCEF25 shl edx, 2
> wined3d.dll:7EBCEF28 add eax, edx
> wined3d.dll:7EBCEF2A mov eax, [eax]
>
> Is there anyway to find out where is this function in the source code?
Hello Bruno,
probably you can run your test program with the gdb debugger:
$ wine winedbg --gdb d3d8_test.exe.so
...
0025:0026: loads DLL C:\windows\system32\wined3d.dll @0x7ec20000 (0<0>)
...
Wine-gdb> info symbol 0x7ec2EF19
init_output_registers + 1172 in section .text of /.../dlls/wined3d/wined3d.dll.so
Hope this helps you.
Kind regards,
Bernhard
More information about the wine-devel
mailing list