[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: Thu at 10:05 PM by ussrhero | Created: Thu 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: Tue at 7:45 PM by evelyette | Created: Sun at 8:00 PM by evelyette

use of remoteConnect() after initialize() generates eception

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 #14113 | Release: None | Updated: Jul 3 at 12:02 PM by ussrhero | Created: Jun 23 at 7:17 PM by chengdagong

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: Jun 22 at 8:36 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 not_exist.py script not found 0:000> !py -3 not_exist.py c0000005 Exception in pykd.py 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 0.3.2.4) and the lastest python 2.7 got this crash: c0000005 Exception in pykd.py 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