Commit 16b32350 authored by David Schulz's avatar David Schulz
Browse files

Debugger: Catch memory read exceptions in getJumpAddress

Throwing an exception in these cases is not uncommon and should
be handled properly.

Change-Id: I8d4377bf26a4e31971da724904dd5ea5f01a95e1
Reviewed-by: Christian Stenger's avatarChristian Stenger <>
parent cafd4a46
......@@ -1497,7 +1497,10 @@ class DumperBase:
def getJumpAddress_x86(dumper, address):
relativeJumpCode = 0xe9
jumpCode = 0xff
data = dumper.readRawMemory(address, 6)
data = dumper.readRawMemory(address, 6)
return 0
primaryOpcode = data[0]
if primaryOpcode == relativeJumpCode:
# relative jump on 32 and 64 bit with a 32bit offset
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment