Windbg hangs forever when using <tab> in !py

Hi, Windbg hangs forever and stops responding when <tab> is pressed inside the python interpreter (started with "!py"). The only solution I found is to kill windbg and restart it. Steps to reprod...

Id #14127 | Release: None | Updated: Today at 3:43 PM by kernelnet | Created: Fri at 9:20 AM by bchesley

[0.3.x] failed to iterate over array

it seems iteration over array is infinte It is expected this script prints out exactly 10 element. In fact the output very long arr = typedVar("UInt1B[10]", address): for x in arr: print(x)

Id #14120 | Release: None | Updated: Jul 25 at 7:51 AM by kernelnet | Created: Jul 20 at 10:05 PM by ussrhero

from_address crashes when accessing structure members

Hi, First I'm starting a kernel-mode debugging and entering a process context, while the ntdll.dll is loaded at an address 00007fff`aa2b0000, which is shown below. The dd command verifies that thi...

Id #14118 | Release: None | Updated: Jul 18 at 7:45 PM by evelyette | Created: Jul 16 at 8:00 PM by evelyette

eventHandler.onLoadModule always gets called with module name as empty string in kernel debugging

Target OS: Windows 10 RS2 x64 Detailed: Windows 10 Kernel Version 15063 MP (8 procs) Free x64 Product: WinNt, suite: TerminalServer SingleUserTS Built by: 15063.0.amd64fre.rs2_release....

Id #14112 | Release: None | Updated: Jul 25 at 7:51 AM by kernelnet | Created: Jun 21 at 11:00 PM by chengdagong

[pykd_ext_2.0] !py command crashes if a script does not exist

Only for python 3.0 0:000> !py -2 script not found 0:000> !py -3 c0000005 Exception in debugger extension. PC: 00000000`00000000 VA: 00000000`00000000 R/W...

Id #14104 | Release: None | Updated: May 16 at 3:51 PM by kernelnet | Created: May 15 at 7:08 PM by ussrhero

Crash when printing unicode

Hello! I have clear WinDbg (x32) installation Latest version of pykd (PYKD BOOTSTRAPPER 2.0 + PYKD and the lastest python 2.7 got this crash: c0000005 Exception in debugger exte...

Id #14093 | Release: None | Updated: Apr 20 at 11:31 PM by ussrhero | Created: Apr 19 at 1:15 PM by grechkoed

[0.3.x] printing bitfield raises exception

>>> print str(structWithBitField) struct/class: Test at 0x0 +0000 a : Int4B:4 Invalid memory >>> print str(structWithBitField.a) Traceback (most recent call last): Fil...

Id #14091 | Release: None | Updated: Apr 23 at 8:57 PM by ussrhero | Created: Apr 18 at 8:29 PM by ussrhero

[0.3.x] printing Long var raises exception

Raises exception: print( typedVar("Long", offset) ) Traceback (most recent call last): File "<stdin>", line 1, in <module> pykd.DbgException: File: typedvar.cpp Line: 571 Not Implemented Work...

Id #14087 | Release: None | Updated: Apr 11 at 8:11 AM by kernelnet | Created: Apr 7 at 11:00 PM by ussrhero

invalid sys.argv values

I'm trying to use sys.argv to pass parameters to my script. However, the values are garbage. Here's a sample script to reproduce the issue: import sys print(sys.argv) Now in windbg: kd> !py C:\te...

Id #14086 | Release: None | Updated: Apr 7 at 7:41 PM by ussrhero | Created: Apr 7 at 9:32 AM by bchesley

[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: Apr 11 at 8:11 AM by kernelnet | Created: Mar 23 at 1:53 PM by kernelnet