Add Debugger.attach + simple single_step implementation

This commit is contained in:
Clement Rouault
2016-07-06 11:00:30 +02:00
parent 886b445e0e
commit 2d1f93da45
2 changed files with 35 additions and 7 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ class PrintUnicodeString(windows.debug.Breakpoint):
calc = windows.test.pop_calc_32(dwCreationFlags=DEBUG_PROCESS)
d = MyDebugger(calc, already_debuggable=True)
d = MyDebugger(calc)
d.add_bp(PrintUnicodeString("ntdll.dll!LdrLoadDll", argument_position=2))
d.loop()