about summary refs log tree commit diff stats
path: root/example/jitter/mips32.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2015-10-27 22:48:56 +0100
committerserpilliere <serpilliere@users.noreply.github.com>2015-10-27 22:48:56 +0100
commit3f9071a50671bb7a72d68e2dece83795aa9f9728 (patch)
tree0772e7aa28487f314206b9d5658981a56162d865 /example/jitter/mips32.py
parent6e0eb4f5eb8c53fc6002b955b96a5c06213d220f (diff)
parent5dbf046bbe07a28485a84eca14405d271d1ea7fa (diff)
downloadmiasm-3f9071a50671bb7a72d68e2dece83795aa9f9728.tar.gz
miasm-3f9071a50671bb7a72d68e2dece83795aa9f9728.zip
Merge pull request #244 from a-vincent/allow_int_base_selection
In interactive use, allow C-like prefixes to choose the base of integers
Diffstat (limited to 'example/jitter/mips32.py')
-rw-r--r--example/jitter/mips32.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/jitter/mips32.py b/example/jitter/mips32.py
index e41096cc..20d451ab 100644
--- a/example/jitter/mips32.py
+++ b/example/jitter/mips32.py
@@ -38,7 +38,7 @@ def code_sentinelle(jitter):
     return True
 
 def jit_mips32_binary(args):
-    filepath, entryp = args.binary, int(args.addr, 16)
+    filepath, entryp = args.binary, int(args.addr, 0)
     myjit = machine.jitter(jit_type = args.jitter)
     myjit.init_stack()