[0.3.x] getTypeFromSouce crashes on invalid struct definitions

0:000> !py Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsol...

Id #14079 | Release: None | Updated: Thu at 1:54 PM by kernelnet | Created: Thu at 1:53 PM by kernelnet

[0.3.2] getTypeFromSource crashes windbg on <ntddk.h>

This code raises debug exception: print getTypeFromSource("#include <ntddk.h>\n", "_KPROCESS", '-I\"C:/Program Files (x86)/Windows Kits/10/Include/10.0.14393.0/km') 80000003 Exception in C:\proj\p...

Id #14070 | Release: None | Updated: Mar 9 at 4:51 PM by kernelnet | Created: Feb 28 at 5:31 PM by ussrhero

[0.3.x] getLocal() works inproperly

subj

Id #14069 | Release: None | Updated: Mar 9 at 4:51 PM by kernelnet | Created: Feb 28 at 5:23 PM by ussrhero

[0.3.x, 0.2.x] windbg hangs and crashes on threads and timers

when executing a simple python script like the following, windbg executes the first line of code in the threaded function, then hangs and crashes itself import pykd from threading import Thread de...

Id #14067 | Release: None | Updated: Feb 25 at 3:09 PM by ussrhero | Created: Feb 25 at 4:32 AM by vicks16

[pykd_ext_2.0] dbgCommand('q') leads to windbg hung

Run this script: pykd.dbgCommand('q') Expected: debug session is closed In fact: windbg is hang

Id #14066 | Release: None | Updated: Feb 24 at 12:17 PM by ussrhero | Created: Feb 23 at 10:39 AM by ussrhero

[0.3.x] unhandled exception after use bp with dbgCommand

0:000> !py Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsol...

Id #14061 | Release: None | Updated: Feb 21 at 9:20 PM by ussrhero | Created: Feb 21 at 5:27 PM by ussrhero

[0.3.x] dbgCommand skips text output from breakpoints

>bp ntdll!NtCreateFile "py C:/temp/test.py" >g ntdll!NtCreateFile: "string from test.py" <-- as expected >!py >>>dbgCommand("bp ntdll!NtCreateFile \"!py C:/temp/test.py\"") >>>quit() ntdll!NtCr...

Id #14060 | Release: None | Updated: Feb 21 at 9:19 PM by ussrhero | Created: Feb 21 at 5:19 PM by ussrhero

[pykd_bootstrapper] '!py C:' crashes windbg

subj

Id #14058 | Release: None | Updated: Feb 20 at 7:25 AM by kernelnet | Created: Feb 19 at 7:18 AM by ussrhero

[0.3.x] Inline Function Debugging

Test: class CTest { public: ~CTest() { __debugbreak(); } }; int wmain(__in int argc, __in PWSTR argv[]) { std::list<CTest> TestList; TestList.emplace_back(); return ...

Id #14057 | Release: None | Updated: Feb 18 at 6:44 AM by ussrhero | Created: Feb 17 at 9:20 AM by EreTIk

E_FAIL on dbgCommand in breakpoint

When executing pykd.dbgCommand('th') from a breakpoint handler in the kernel I get an HRESULT E_FAIL 0x80004005 error. PyKD version 0.3.1.9, debugger and debuggee are both Windows 7 SP1 x64. If the...

Id #14044 | Release: None | Updated: Jan 17 at 7:22 PM by ussrhero | Created: Jan 17 at 6:52 PM by zeroSteiner