Skip to content

Commit

Permalink
Minimal optimization for command pince-dissect-code
Browse files Browse the repository at this point in the history
  • Loading branch information
korcankaraokcu committed Feb 21, 2017
1 parent d05f142 commit 1f2c6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libPINCE/gdb_python_scripts/GDBCommandExtensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def is_memory_valid(self, int_address):
self.memory.seek(int_address)
except ValueError:
try: # I really don't know how but gdb actually manages to read addresses bigger than sys.maxsize
gdb.execute("x/xb " + hex(int_address))
gdb.execute("x/1xb " + hex(int_address))
return True
except:
return False
Expand Down

0 comments on commit 1f2c6f4

Please sign in to comment.