You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had figured that the inconsistent handling between addresses with only decimal digits was just an unfortunate cost of PowerShell, until I saw the AddressTransformation... so I poked at it a bit more:
if((pso.BaseObjectisint)||(pso.BaseObjectislong)||(pso.BaseObjectisdouble)||(pso.BaseObjectisfloat)){// This will get what the user actually typed (if it was typed).varasTyped=LanguagePrimitives.ConvertTo<string>(pso);
And the problem is that the comment is wrong in the case of pipelining: if the value was piped in, LanguagePrimitives.ConvertTosucceeds in returning a string, but that string does not match what was originally typed (it's been converted into a decimal string representation instead of the "0x..." that was typed). :'(
I have some ideas of some more tricks we could play.
For the Read-DbgMemory -Address 17409680 case, the problem was that var pso = inputData as PSObject; returned null - Powershell is just passing in a boxed int, not a PSObject.
Unfortunately this uses private reflection, and there are still cases
that it can't handle.
Also fixed a sign extension booboo.
Helps with #46, but we can't totally fix it without some changes in
PowerShell.
Unfortunately this uses private reflection, and there are still cases
that it can't handle.
Also fixed a sign extension booboo.
Helps with #46, but we can't totally fix it without some changes in
PowerShell.
I had figured that the inconsistent handling between addresses with only decimal digits was just an unfortunate cost of PowerShell, until I saw the AddressTransformation... so I poked at it a bit more:
The text was updated successfully, but these errors were encountered: