From 1b715fbafa9ca10bcfc94598e8567201c4f388df Mon Sep 17 00:00:00 2001 From: "SND\\kernelnet_cp" Date: Fri, 15 Apr 2011 06:18:25 +0000 Subject: [PATCH] git-svn-id: https://pykd.svn.codeplex.com/svn@64017 9b283d60-5439-405e-af05-b73fd8c4d996 --- changelog | 18 ++++++++++++++++++ pykd/pykd.rc | 8 ++++---- samples/break.py | 11 ++++++----- 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a/changelog b/changelog index 07b738a..6502312 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,21 @@ +version 0.0.17 15/04/2011 +[+] added: isDumpAnalyzing function. Check if it is a dump analyzing or live debuggiv +[+] added : loadChars routine. Load raw buffer. +[+] added : docstrings for all functions and classes +[+] added : checksum() and timestamp() methods for dbgModuleClass +[+] added : callbacks for bp class ( breakpoint ) + +[~] removed : isSessionStart() function + +[~] updated : typedVarList can parse lists with LIST_ENTRY and lists with links pointing to the head of the next element + +[!] fixed : issue 8470 ( python.exe crashes after first pykd call ) +[!] fixed : issue 8614 ( go() works incorrectly while process is terminating ) +[!] fixed : issue 8499 ( !py command crashs with wrong script's path ) +[!] fixed : issue 8578 ( findModule returns None for WOW64 process ) +[!] fixed : issue 8493 ( loadPtrs returns dict instead list ) +[!] fixed : issue 8469 ( dprintln does not work in console mode ) + version 0.0.16 03/03/2011 [+] added : isValid() routine; it validates virtual address [+] added : image() and pdb() method for dbgModuleClass class. They return paths to pdb and image files. diff --git a/pykd/pykd.rc b/pykd/pykd.rc index cec5831..28e51fb 100644 --- a/pykd/pykd.rc +++ b/pykd/pykd.rc @@ -53,8 +53,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 0,0,16,0 - PRODUCTVERSION 0,0,16,0 + FILEVERSION 0,0,17,0 + PRODUCTVERSION 0,0,17,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -70,11 +70,11 @@ BEGIN BLOCK "041904b0" BEGIN VALUE "FileDescription", "pykd - python extension for windbg" - VALUE "FileVersion", "0, 0, 16, 0" + VALUE "FileVersion", "0, 0, 17, 0" VALUE "InternalName", "pykd" VALUE "OriginalFilename", "pykd.dll" VALUE "ProductName", "pykd - python extension for windbg" - VALUE "ProductVersion", "0, 0, 16, 0" + VALUE "ProductVersion", "0, 0, 17, 0" END END BLOCK "VarFileInfo" diff --git a/samples/break.py b/samples/break.py index 3526ab9..6c9d2bd 100644 --- a/samples/break.py +++ b/samples/break.py @@ -16,8 +16,7 @@ def bpCallback(): dprintln( "NtCreateFile: " + name ) - return DEBUG_STATUS_NO_CHANGE - + return DEBUG_STATUS_GO_HANDLED @@ -25,15 +24,17 @@ if not isWindbgExt(): startProcess("notepad.exe") + if not isDumpAnalyzing() and not isKernelDebugging(): nt = loadModule("ntdll") b1 = bp( nt.NtCreateFile, bpCallback ) + + # wait for user break, exceptions or process exit + go() - while go(): pass - - dprintln( "exit process" ) + dprintln( "stopped" ) else: