diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-10-19 17:17:53 +0200 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-10-19 17:17:53 +0200 |
| commit | 4d8d7e01c63c7d3ae502bc1f9caa3368d951112f (patch) | |
| tree | cefce9fa7d5a2ee36c666d24e9a8908e01924e40 /miasm2/analysis/debugging.py | |
| parent | b812647d9f85ae326411357cf3490e2db914bf03 (diff) | |
| download | miasm-4d8d7e01c63c7d3ae502bc1f9caa3368d951112f.tar.gz miasm-4d8d7e01c63c7d3ae502bc1f9caa3368d951112f.zip | |
Debugging: propagate status on breakpoint stop
Diffstat (limited to 'miasm2/analysis/debugging.py')
| -rw-r--r-- | miasm2/analysis/debugging.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/miasm2/analysis/debugging.py b/miasm2/analysis/debugging.py index 4e6982b3..592e21ff 100644 --- a/miasm2/analysis/debugging.py +++ b/miasm2/analysis/debugging.py @@ -149,6 +149,9 @@ class Debugguer(object): else: raise NotImplementedError("type res") + # Repropagate res + return res + def step(self): "Step in jit" @@ -165,9 +168,8 @@ class Debugguer(object): return res def run(self): - res = self.myjit.continue_run() - self.handle_exception(res) - return res + status = self.myjit.continue_run() + return self.handle_exception(status) def get_mem(self, addr, size=0xF): "hexdump @addr, size" |