- try use full path to msec.dll: pykd.dbgCommand(".load c:\dir\msec.dll")
- try call pykd.loadExt, example:
class ext_loader:
def __init__(self, name):
self._name = name
def __enter__(self):
self._ext = pykd.loadExt(self._name)
def __exit__(self, exc_type, exc_value, exc_tb):
pykd.removeExt(self._ext)
with ext_loader(os.path.join(windbg_dir, "winext\\ext.dll")):
for line in pykd.dbgCommand("!analyze -v").split("\n"):
print line
-
check python.exe and msec.dll platform mismatch (x86/x64)