about summary refs log tree commit diff stats
path: root/miasm2/jitter/vm_mngr_py.c
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/jitter/vm_mngr_py.c')
-rw-r--r--miasm2/jitter/vm_mngr_py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/jitter/vm_mngr_py.c b/miasm2/jitter/vm_mngr_py.c
index 5f25b707..35633b7f 100644
--- a/miasm2/jitter/vm_mngr_py.c
+++ b/miasm2/jitter/vm_mngr_py.c
@@ -235,7 +235,7 @@ PyObject* vm_get_mem(VmMngr* self, PyObject* args)
 
        ret = vm_read_mem(&self->vm_mngr, addr, &buf_out, size);
        if (ret < 0) {
-	       RAISE(PyExc_TypeError,"Cannot find address");
+	       RAISE(PyExc_RuntimeError,"Cannot find address");
        }
 
        obj_out = PyString_FromStringAndSize(buf_out, size);