Quantcast
Channel: Python extension for WinDbg
Viewing all articles
Browse latest Browse all 1625

Commented Unassigned: LoadExt should throw exception when file not found [12654]

$
0
0
I made a mistake when specifying an extension to be loaded, because I didn't escape the backslashes nor used r"...".

>>> print(loadExt("C:\Windows\Microsoft.NET\Framework64\v2.0.50727\sos.dll"))
59323328

loadExt() returned a handle, although it is clear at this point that the DLL cannot be loaded, because it doesn't exist.

I would appreciate that an exception happens in the line of loadExt() and not at a later time when calling callExt():

>>> callExt(59323328, "!dumpheap -stat", "")
The call to LoadLibrary(C:\Windows\Microsoft.NET\Framework64\2.0.50727\sos.dll) failed
Win32 error 0n126
"The module could not be found."
Comments: ** Comment from web user: kernelnet **

confirmed


Viewing all articles
Browse latest Browse all 1625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>