-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to find a way to copy WinDbgX dbgeng's DLLs instead of legacy WinDbg #196
Comments
Detect if the App is installed in PowerShell: Get-AppxPackage -AllUsers | Select-Object -ExpandProperty PackageFullName | Where-Object { $_ -like 'windbg' } To copy the files into another directory: Then probably its needed to identify if x86 or x64 or arm. In my case |
Hmmm that would be a bug - let me check this tonight.
Cheers
…On Sun, Feb 25, 2024 at 2:13 PM Tobias Mayer ***@***.***> wrote:
When I place the found dll's into the wtf.exe directory, it will overwrite
them with the SDK's:
grafik.png (view on web)
<https://github.com/0vercl0k/wtf/assets/15239745/a0b164fd-9589-4846-ae2f-a2b6e0013617>
—
Reply to this email directly, view it on GitHub
<#196 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALIORIE7GGU6255VVFUELDYVOZR5AVCNFSM6AAAAABDWAHGUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRTGA3TQNZZG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Perhaps it would be useful to add some metadata to a state capture (via snapshot) that indicates the exact dbgeng version being used. If a different version is found by wtf when starting to fuzz then emit a warning. I don't know how granular the reported version of dbgeng is in the extension APIs, but I guess you can just use |
Currently,
wtf
tries to find thedbgeng.dll
DLLs in a path where the WinDbg that ships with the SDK is (cf https://github.com/0vercl0k/wtf/blob/main/src/wtf/debugger.h#L139).This is problematic for users when they use the 'new WinDbg' to generate a dump file which is in a format that the WinDbg from the SDK doesn't understand. Those users see the below error message which is confusing:
Fixing it manually require to grab the
dbgeng.dll
& cie and copy them over wherewtf
is but it is manual.In theory if I find a way to detect if the WinDbg from the AppStore is installed and where, using those DLLs would always work as they'd be able to load dumps generated from old WinDbg, and the new ones. The issues that I have are:
I guess if 1) is solved, we could try to copy the files for the users and if we fail we could tell them to copy the files over themselves or run as admin.
The text was updated successfully, but these errors were encountered: