Commit Graph

105 Commits

Author SHA1 Message Date
SND\EreTIk_cp
8e0ecc1733 [+] added debug events defs
[~] addr64 conversion for module randge and get tread/process context

git-svn-id: https://pykd.svn.codeplex.com/svn@62774 9b283d60-5439-405e-af05-b73fd8c4d996
2011-03-17 09:04:28 +00:00
SND\EreTIk_cp
7f2284ca99 [+] added standart dbg-engine constants
git-svn-id: https://pykd.svn.codeplex.com/svn@62773 9b283d60-5439-405e-af05-b73fd8c4d996
2011-03-17 08:43:36 +00:00
SND\kernelnet_cp
cbd2aa5bf0 git-svn-id: https://pykd.svn.codeplex.com/svn@62129 9b283d60-5439-405e-af05-b73fd8c4d996 2011-03-03 15:47:42 +00:00
SND\kernelnet_cp
8ec2d9a02a [!] fixed : issue 8458 ( doubled output in windbg )
git-svn-id: https://pykd.svn.codeplex.com/svn@62116 9b283d60-5439-405e-af05-b73fd8c4d996
2011-03-03 08:27:39 +00:00
SND\EreTIk_cp
bb0e8328e3 [~] singleton dbgEventCallbacks and work with him moved into a class DbgEventCallbacks
git-svn-id: https://pykd.svn.codeplex.com/svn@62103 9b283d60-5439-405e-af05-b73fd8c4d996
2011-03-02 19:58:41 +00:00
SND\EreTIk_cp
b73ccc1a37 [~] dbgEventCallbacks moved to heap memory, add rererences
[~] refactered syncronisation for map of synthetic symbols
[~] refactering: events callbacks inherited from DebugBaseEventCallbacks now

git-svn-id: https://pykd.svn.codeplex.com/svn@62100 9b283d60-5439-405e-af05-b73fd8c4d996
2011-03-02 18:37:42 +00:00
SND\EreTIk_cp
b720184b4e [!] restored revisions: 62086 and 62085
git-svn-id: https://pykd.svn.codeplex.com/svn@62092 9b283d60-5439-405e-af05-b73fd8c4d996
2011-03-02 13:56:22 +00:00
SND\EreTIk_cp
45bc63ea23 [+] synthetic symbols implementation moved to different files
[~] extended API of synthetic symbols: remove by address, remove by mask, remove all, query addres for dbgModuleClass
[+] added processing debug event callbacks
[+] all synthetic symbols are restored after reload (processing debug event callback)

git-svn-id: https://pykd.svn.codeplex.com/svn@62091 9b283d60-5439-405e-af05-b73fd8c4d996
2011-03-02 13:16:42 +00:00
SND\kernelnet_cp
b84b298ea7 [+] added: startProcess routine for live user-mode debugging
[~] updated: createSession routine is depricated now
[~] updated: loadDump routine returns bool now ( not string )

git-svn-id: https://pykd.svn.codeplex.com/svn@62085 9b283d60-5439-405e-af05-b73fd8c4d996
2011-03-02 08:40:33 +00:00
SND\evtanazia_cp
004a4067ea [~] refactoring: RAII idiom is used instead of manual memory management
git-svn-id: https://pykd.svn.codeplex.com/svn@61917 9b283d60-5439-405e-af05-b73fd8c4d996
2011-02-24 10:46:00 +00:00
SND\evtanazia_cp
a4993db623 [+] Added dbgModuleClass::print()
[+] Added dbgExtensionClass::print()
[+] Added dbgBreakpointClass::print()
[+] Added dbgStackFrameClass::print()

git-svn-id: https://pykd.svn.codeplex.com/svn@61914 9b283d60-5439-405e-af05-b73fd8c4d996
2011-02-24 09:15:45 +00:00
SND\EreTIk_cp
d3a22fc0a8 [+] addSynSymbol function adds a synthetic symbol to a module by virtual address
[+] dbgModuleClass::addSynSymbol method adds a synthetic symbol by offset related to module base
[+] samples/synimp.py: add synthetic symbols for module by imports

git-svn-id: https://pykd.svn.codeplex.com/svn@61768 9b283d60-5439-405e-af05-b73fd8c4d996
2011-02-21 09:49:47 +00:00
SND\EreTIk_cp
dfbbc434d3 [+] offset into TypeInfo (for fields)
[+] method TypeInfo::build() for recursive typeClass building
[+] virtual method printSelf() for address value for typedVarClass
[~] remove trailing blanks, tabs replaced by spaces


git-svn-id: https://pykd.svn.codeplex.com/svn@61693 9b283d60-5439-405e-af05-b73fd8c4d996
2011-02-19 15:45:04 +00:00
SND\EreTIk_cp
5879200d07 [+] part of functional (work with types) moved from typedVarClass into base class: typeClass
[-] remove field m_size, which is duplicated in TypeInfo m_typeInfo
 [+] added function getTypeClass() - create instance of typeClass by module an type name

git-svn-id: https://pykd.svn.codeplex.com/svn@61649 9b283d60-5439-405e-af05-b73fd8c4d996
2011-02-18 20:56:26 +00:00
SND\kernelnet_cp
1604ec506e [+] added : image() and pdb() method for dbgModuleClass class. They return paths to pdb and image files.
git-svn-id: https://pykd.svn.codeplex.com/svn@61168 9b283d60-5439-405e-af05-b73fd8c4d996
2011-02-08 07:36:12 +00:00
SND\kernelnet_cp
c74a81d560 [+] added : isValid() routine; it validates virtual address
git-svn-id: https://pykd.svn.codeplex.com/svn@61122 9b283d60-5439-405e-af05-b73fd8c4d996
2011-02-07 07:59:22 +00:00
SND\kernelnet_cp
e65c2bf418 [+] added : locals() routine; it returns local var for current scope
git-svn-id: https://pykd.svn.codeplex.com/svn@61030 9b283d60-5439-405e-af05-b73fd8c4d996
2011-02-04 07:44:15 +00:00
SND\kernelnet_cp
8cab8ae27d [!] fixed : issue #8236 ( dprint/dprintln/print doesn't work with unicode string )
git-svn-id: https://pykd.svn.codeplex.com/svn@60725 9b283d60-5439-405e-af05-b73fd8c4d996
2011-01-26 16:17:33 +00:00
SND\kernelnet_cp
664b047dce [+] added : typedVarArray routine
git-svn-id: https://pykd.svn.codeplex.com/svn@60656 9b283d60-5439-405e-af05-b73fd8c4d996
2011-01-24 16:41:47 +00:00
SND\kernelnet_cp
25e7428ac1 [!] fixed: previous revision
git-svn-id: https://pykd.svn.codeplex.com/svn@60263 9b283d60-5439-405e-af05-b73fd8c4d996
2011-01-17 07:31:35 +00:00
SND\kernelnet_cp
b4898cff7e [+] added : __getattribute__ method for dbgModuleClass class to simplify access to module symbols's offsets
git-svn-id: https://pykd.svn.codeplex.com/svn@60262 9b283d60-5439-405e-af05-b73fd8c4d996
2011-01-17 07:17:16 +00:00
SND\kernelnet_cp
efdf59111b [[+] added : __str__ method for typedVar class, so it can be outputed by print operator
git-svn-id: https://pykd.svn.codeplex.com/svn@60159 9b283d60-5439-405e-af05-b73fd8c4d996
2011-01-14 17:58:28 +00:00
SND\kernelnet_cp
0e12bf9fab [!] fixed: previous revision
git-svn-id: https://pykd.svn.codeplex.com/svn@59902 9b283d60-5439-405e-af05-b73fd8c4d996
2011-01-08 13:43:40 +00:00
SND\kernelnet_cp
af3e45bae6 [!] bug fixed: issue #8103 ( !py windbg extension imports modules into the global space )
git-svn-id: https://pykd.svn.codeplex.com/svn@59901 9b283d60-5439-405e-af05-b73fd8c4d996
2011-01-08 13:27:38 +00:00
SND\EreTIk_cp
44aeda68fb [~] eval() renamed to expr()
git-svn-id: https://pykd.svn.codeplex.com/svn@59311 9b283d60-5439-405e-af05-b73fd8c4d996
2010-12-29 13:59:23 +00:00
SND\kernelnet_cp
8b43407e91 [+] added : eval routine for evaluation windbg expression
git-svn-id: https://pykd.svn.codeplex.com/svn@59202 9b283d60-5439-405e-af05-b73fd8c4d996
2010-12-27 08:02:19 +00:00
SND\kernelnet_cp
37f46bc097 [!] changed : debugger routines name made shorter ( step, trace, bp )
git-svn-id: https://pykd.svn.codeplex.com/svn@59200 9b283d60-5439-405e-af05-b73fd8c4d996
2010-12-27 07:32:04 +00:00
SND\kernelnet_cp
c486a6c782 [+] added : ptrMWord, ptrSignMWord for reading target's machine word ( 32 or 64 bits ) from memory
git-svn-id: https://pykd.svn.codeplex.com/svn@58965 9b283d60-5439-405e-af05-b73fd8c4d996
2010-12-20 16:46:21 +00:00
SND\kernelnet_cp
ca6c731376 [+] added : go, stepin, stepover routine for control execution
[+] added : dbgBreakpointClass class for control breakpoints

git-svn-id: https://pykd.svn.codeplex.com/svn@58740 9b283d60-5439-405e-af05-b73fd8c4d996
2010-12-14 16:14:14 +00:00
SND\kernelnet_cp
470e376d73 [+] added : getCurrentPorcess, setCurrentProcess routines
git-svn-id: https://pykd.svn.codeplex.com/svn@58080 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-26 15:26:00 +00:00
SND\kernelnet_cp
40960bd9b7 [+] added : getProcessorMode, setProcessorMode routines;
git-svn-id: https://pykd.svn.codeplex.com/svn@58076 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-26 13:55:09 +00:00
SND\kernelnet_cp
b6eaf03db1 [+] added: getThreadList routine; returns thread object's ptr list
git-svn-id: https://pykd.svn.codeplex.com/svn@58073 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-26 11:25:41 +00:00
SND\kernelnet_cp
ed85fb9787 [+] added: isKernelDebugging routine
git-svn-id: https://pykd.svn.codeplex.com/svn@57937 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-22 15:10:25 +00:00
SND\kernelnet_cp
17c51fac01 [!] bug fixed: issue #7717 ( !py command failed to find standart modules )
[!] bug fixed: issue #7718 ( sys.argv[0] does not contain script name )

git-svn-id: https://pykd.svn.codeplex.com/svn@57921 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-22 08:47:24 +00:00
SND\kernelnet_cp
2599f9885f [!] bug fixed: issue #7697 ( raw_input does not work )
git-svn-id: https://pykd.svn.codeplex.com/svn@57920 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-22 07:47:59 +00:00
SND\kernelnet_cp
55040a78e3 [+] added: windbgIn windbgOut class for redirecting in/out from stdin/stdout
git-svn-id: https://pykd.svn.codeplex.com/svn@57811 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-19 15:51:19 +00:00
SND\kernelnet_cp
69e93336d9 [+] added: loadCStr, loadWStr routine added ( loading c-style string )
git-svn-id: https://pykd.svn.codeplex.com/svn@57285 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-09 09:33:19 +00:00
SND\kernelnet_cp
3eb6130c69 [!] bug fixed: issue #7528 ( loadBytes raises error "did not match C++ signature" )
git-svn-id: https://pykd.svn.codeplex.com/svn@56809 9b283d60-5439-405e-af05-b73fd8c4d996
2010-11-01 07:53:55 +00:00
SND\kernelnet_cp
477da2e29f [+] added: !pythonpath windbg command - print enviroment var $pythonpath
[+] added: !py windbg command uses $pythonpath var for search scripts





git-svn-id: https://pykd.svn.codeplex.com/svn@56329 9b283d60-5439-405e-af05-b73fd8c4d996
2010-10-25 07:54:10 +00:00
SND\kernelnet_cp
f8341a1a6d [+] added: ptrSize routine ( returns pointer's size at the target platform )
git-svn-id: https://pykd.svn.codeplex.com/svn@55110 9b283d60-5439-405e-af05-b73fd8c4d996
2010-09-15 11:40:35 +00:00
SND\kernelnet_cp
eba80f2426 [+] added: sizeof routine ( returns size of type )
[+] added: sizeof method for typedVarClass ( return size of var in memory )

git-svn-id: https://pykd.svn.codeplex.com/svn@55065 9b283d60-5439-405e-af05-b73fd8c4d996
2010-09-14 09:09:15 +00:00
SND\kernelnet_cp
0bfbcf2390 [+] added: getImplicitThread routine( get address of the current thread )
[+] added: setImplicitThread routine ( change current thread context )
[+] added: dbgStackFrameClass class ( information about stack frame )
[+] added: getCurrentStack routine ( get current stack as collections of dbgStackFrameClass object )

git-svn-id: https://pykd.svn.codeplex.com/svn@54280 9b283d60-5439-405e-af05-b73fd8c4d996
2010-08-20 12:09:45 +00:00
SND\kernelnet_cp
d2e5dacb50 [+] added: loadLinkedList routine
[+] added: getPdbFile routine
[+] added: reloadSymbols

git-svn-id: https://pykd.svn.codeplex.com/svn@54138 9b283d60-5439-405e-af05-b73fd8c4d996
2010-08-16 15:04:22 +00:00
SND\kernelnet_cp
0f9c2e1e2c [+] added: dbgExtensionClass class for calling windbg extension command from python script
git-svn-id: https://pykd.svn.codeplex.com/svn@53831 9b283d60-5439-405e-af05-b73fd8c4d996
2010-08-09 07:28:59 +00:00
SND\kernelnet_cp
26b5fb69a1 [!] bug fixed: issue #6812 ( windbg ext command !py does not work with full path )
git-svn-id: https://pykd.svn.codeplex.com/svn@53644 9b283d60-5439-405e-af05-b73fd8c4d996
2010-08-05 17:05:35 +00:00
SND\kernelnet_cp
6e7d492e18 [+] added: !pycmd command for windbg extension
git-svn-id: https://pykd.svn.codeplex.com/svn@53591 9b283d60-5439-405e-af05-b73fd8c4d996
2010-08-04 15:26:17 +00:00
SND\kernelnet_cp
8c58567865 [!] bug fixed: #6769 Args parsing is not supporting quoting
git-svn-id: https://pykd.svn.codeplex.com/svn@53515 9b283d60-5439-405e-af05-b73fd8c4d996
2010-08-03 10:18:44 +00:00
SND\kernelnet_cp
4f95f0e722 [+] added: loadTypedVarList routine
[!] fixed: typedVar

git-svn-id: https://pykd.svn.codeplex.com/svn@53270 9b283d60-5439-405e-af05-b73fd8c4d996
2010-07-29 17:49:08 +00:00
SND\kernelnet_cp
9d45f0c24a [+] added: loadAnsiStr
[+] fixed: issue #6747 ( windbg script's call parameters passing into python script added )


git-svn-id: https://pykd.svn.codeplex.com/svn@53258 9b283d60-5439-405e-af05-b73fd8c4d996
2010-07-29 14:39:49 +00:00
SND\kernelnet_cp
2575bd6bfa [+] loadUnicodeString routine added
git-svn-id: https://pykd.svn.codeplex.com/svn@53157 9b283d60-5439-405e-af05-b73fd8c4d996
2010-07-28 14:42:05 +00:00
SND\kernelnet_cp
ebf8275a94 [+] routines for loading integer value by pointer ( PtrByte, PtrSignByte, PtrWord ... )
[!] bugfix: typedVar


git-svn-id: https://pykd.svn.codeplex.com/svn@53137 9b283d60-5439-405e-af05-b73fd8c4d996
2010-07-28 10:07:43 +00:00
SND\kernelnet_cp
4547274ef0 [+] routines for loading array with sign extending( loadSignBytes, loadSignWords ... ) added
git-svn-id: https://pykd.svn.codeplex.com/svn@53055 9b283d60-5439-405e-af05-b73fd8c4d996
2010-07-27 11:36:17 +00:00
SND\kernelnet_cp
a95075cb6f [+] routines for loading array ( loadBytes, loadWords ... ) added
[+] sample added

git-svn-id: https://pykd.svn.codeplex.com/svn@53051 9b283d60-5439-405e-af05-b73fd8c4d996
2010-07-27 10:24:50 +00:00
SND\kernelnet_cp
5f7636ac4b ready for release
git-svn-id: https://pykd.svn.codeplex.com/svn@52944 9b283d60-5439-405e-af05-b73fd8c4d996
2010-07-26 10:55:12 +00:00
SND\kernelnet_cp
9e57e58b88 git-svn-id: https://pykd.svn.codeplex.com/svn@50344 9b283d60-5439-405e-af05-b73fd8c4d996 2010-07-06 14:49:02 +00:00