Quantcast
Channel: Python extension for WinDbg
Viewing all articles
Browse latest Browse all 1625

New Post: How to set break point callback handler

$
0
0
For pykd 0.3.x:
0:000> x ntdll!NtCreateFile
00000000`77601800 ntdll!NtCreateFile = <no type information>
0:000> .load pykd.pyd
0:000> !py
Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> def bp_handler():
...   print( "bp_handler" )
...   return Break
... 
>>> setBp(0x77601800, bp_handler)
2147483649L
>>> exit()
0:000> g
bp_handler
ntdll!NtCreateFile:
00000000`77601800 4c8bd1          mov     r10,rcx

Viewing all articles
Browse latest Browse all 1625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>