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

New Post: Cannot get command output

$
0
0
  • 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)

Viewing all articles
Browse latest Browse all 1625

Trending Articles



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