First try at single_step and memory breakpoints in Debugger + test

This commit is contained in:
Clement Rouault
2016-07-07 17:43:28 +02:00
parent cf6c48b418
commit 9a980d87b3
7 changed files with 596 additions and 330 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ def hexdump(string, start_addr=0):
class CodeTesteur(dbg.Debugger):
def __init__(self, process, code, register_start={}):
super(CodeTesteur, self).__init__(process, already_debuggable=True)
super(CodeTesteur, self).__init__(process)
self.initial_code = code
code += "\xcc"