-
Notifications
You must be signed in to change notification settings - Fork 101
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
Make enum for psuedo registers #42
Comments
Thank you for the feedback! I'm curious about your scenario: you are using DbgShell from C#? (I tried to write DbgProvider.dll with the idea that one might want to do that, but I haven't really ever done it save from within DbgShell itself) In this case, that function is pretty much a straight pass-through to dbgeng. I could scrape through And you could also write your own wrapper function with your own enum. |
If you mean as a standalone application, I am but basically just as a prototyping aid. But I am prototyping C# Cmdlets, so similar to what DbgShell itself does. My main objection to the magic strings is that they lack discoverability - you have to be familiar with DbgEng supports to consume them at all. A secondary concern is that they have been chosen favoring brevity over clarity; However, after thinking on your target platform comment, I realized that |
The raw info is available in the |
As per my pull request, it has to be the "offer a different option" route - |
Save my conscience from the magic string!
DbgPseudoRegisterInfo.GetDbgPsedoRegisterInfo(Debugger, "$peb").Value
The text was updated successfully, but these errors were encountered: