[0.3.x] printing struct with zero length field raise exception

struct Test { int field1; int field2[0]; } g_test = { 100 }; v = typedVar('g_test') print v.field1 # work OK print v.field1[0] # raised exception "memory accessor range error" prin...

Id #14139 | Release: None | Updated: Oct 7 at 9:48 PM by ussrhero | Created: Oct 7 at 6:02 PM by ussrhero

[0.3.x] failed to create module object if it's header is paged out

1: kd> db 0xffffd1b230a30000 L4 ffffd1b2`30a30000 ?? ?? ?? ?? ???? 1: kd> lmva 0xffffd1b230a30000 start end module name ffffd1b...

Id #14138 | Release: None | Updated: Oct 7 at 8:48 PM by ussrhero | Created: Oct 7 at 11:46 AM by kernelnet

[pykd_bootstrapper_2.0] second load of pykd leads to hung up

0:000> .load pykd 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. ...

Id #14137 | Release: None | Updated: Oct 5 at 6:59 PM by kernelnet | Created: Oct 5 at 6:59 PM by kernelnet

[0.3.x] memory leak in typeInfo

This python code has not GC ref leak, but process memory is leaking very fast from pykd import * heap = module('ntdll').type('_HEAP') while True:   fields = heap.fields()

Id #14135 | Release: None | Updated: Oct 3 at 10:01 PM by kernelnet | Created: Oct 3 at 10:01 PM by kernelnet

[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 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