[Bug 50195] x64dbg snapshots >= 2020-11-12_05-12 need ntdll.dll.NtDebugActiveProcess implementation to debug process via attach

WineHQ Bugzilla wine-bugs at winehq.org
Mon Feb 1 17:31:21 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50195

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|https://sourceforge.net/pro |https://web.archive.org/web
                   |jects/x64dbg/files/snapshot |/20210127234740/https://git
                   |s/snapshot_2020-11-12_05-12 |hub.com/x64dbg/x64dbg/relea
                   |.zip/download               |ses/download/snapshot/snaps
                   |                            |hot_2021-01-14_13-25.zip

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

this is fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/46b84e7a83beae7484e6daac16739a2b9238f68e
("ntdll: Implement NtDebugActiveProcess() and NtRemoveProcessDebug().") and
related commits in the series.

Thanks Alexandre.

--- snip ---
$ git remote -v
...
origin    git://source.winehq.org/git/wine.git (fetch)

$ git log --oneline 46b84e7a83b^...7999af82448
7999af82448 ntdll: Implement NtWaitForDebugEvent().
d848a25b765 ntdll: Implement DbgUiConvertStateChangeStructure().
c8f5cced471 ntdll: Implement NtDebugContinue().
7bebf7db8c2 ntdll: Implement NtSetInformationDebugObject().
46b84e7a83b ntdll: Implement NtDebugActiveProcess() and NtRemoveProcessDebug().
--- snip ---

Latest x64dbg snapshot used for testing:

https://web.archive.org/web/20210127234740/https://github.com/x64dbg/x64dbg/releases/download/snapshot/snapshot_2021-01-14_13-25.zip

Prerequisite:

* workaround for bug 45916 (WINEDLLOVERRIDES=msvcr120,msvcp120=n,b)

Tests with x32dbg:

* start 32-bit process in debugger (entry point)
* attaching to running 32-bit process (pause/breakin)
* symbol loading (Wine builtins PDB)
* further debugging (stepping, breakpoints)

Tests with x64dbg:

* start 64-bit process in debugger (entry point)
* attaching to running 64-bit process (pause/breakin)
* symbol loading (Wine builtins PDB)
* further debugging (stepping, breakpoints)

Felt a bit like unwrapping late christmas gift ;-)

$ sha1sum snapshot_2021-01-14_13-25.zip 
e39756243f419db6f4d2213227ab266ae0618163  snapshot_2021-01-14_13-25.zip

$ du -sh snapshot_2021-01-14_13-25.zip 
32M    snapshot_2021-01-14_13-25.zip

$ wine --version
wine-6.1-38-gcfbbde2abce

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list