Skip to content
Browse files
Merge pull request #324 from serpilliere/jitter_handle_ret
Jitter: handle emulated funcs ret
  • Loading branch information
p-l- committed Feb 9, 2016
2 parents 0b03ea9 + f5b9017 commit 2cf69707481ba4b0dd163b49d99bc9a021162944
Showing 1 changed file with 7 additions and 2 deletions.
@@ -417,9 +417,14 @@ def handle_lib(jitter):
log.debug('%r', fname)
raise ValueError('unknown api', hex(jitter.pc), repr(fname))
ret = func(jitter)
jitter.pc = getattr(jitter.cpu,
return True

# Don't break on a None return
if ret is None:
return True
return ret

def handle_function(self, f_addr):
"""Add a brakpoint which will trigger the function handler"""

0 comments on commit 2cf6970

Please sign in to comment.