Okay, I tried to add the above line and it always returns -
Call IDebugAdvanced::Request failed
HRESULT 0x8000ffff
I tried to load a few other extensions just to check if it was able to load but no success.
The code is pretty simple right now -
from pykd import *
bugcheckData = json.loads(sys.argv[1]) # has bugcheck info and dump file location
initialize()
extHandle = loadExt(r"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winxp\kdexts.dll") ## Fails here
loadDump(bugcheckData['dump'])
commandOutput = callExt(extHandle, 'irp ' + str(bugcheckData['Arg4'])) ##This maybe wrong but it does not reach here
print commandOutput
Call IDebugAdvanced::Request failed
HRESULT 0x8000ffff
I tried to load a few other extensions just to check if it was able to load but no success.
The code is pretty simple right now -
from pykd import *
bugcheckData = json.loads(sys.argv[1]) # has bugcheck info and dump file location
initialize()
extHandle = loadExt(r"C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\winxp\kdexts.dll") ## Fails here
loadDump(bugcheckData['dump'])
commandOutput = callExt(extHandle, 'irp ' + str(bugcheckData['Arg4'])) ##This maybe wrong but it does not reach here
print commandOutput