diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-03-01 22:54:45 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-03-01 22:54:45 (GMT) |
commit | 0c638aecff9482b93621d77279ac77a8788584e9 (patch) | |
tree | c207e648c9d8f8429a29ba1c364fb2293dd4274b /plugins/pychrysalide/format | |
parent | eb68c77804d9b85bc9b3c5a87ba3f64dd83afce1 (diff) |
Given some priority to Elf PLT entries during the disassembly process.
Diffstat (limited to 'plugins/pychrysalide/format')
-rw-r--r-- | plugins/pychrysalide/format/format.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysalide/format/format.c b/plugins/pychrysalide/format/format.c index 6cd706c..3709f6d 100644 --- a/plugins/pychrysalide/format/format.c +++ b/plugins/pychrysalide/format/format.c @@ -118,16 +118,16 @@ static bool define_python_binary_format_constants(PyTypeObject *); static PyObject *py_binary_format_register_code_point(PyObject *self, PyObject *args) { unsigned long long pt; /* Adresse virtuelle du point */ - int entry; /* Nature du point fourni */ + unsigned long level; /* Nature du point fourni */ int ret; /* Bilan de lecture des args. */ GBinFormat *format; /* Format de binaire manipulé */ - ret = PyArg_ParseTuple(args, "Kp", &pt, &entry); + ret = PyArg_ParseTuple(args, "Kk", &pt, &level); if (!ret) return NULL; format = G_BIN_FORMAT(pygobject_get(self)); - g_binary_format_register_code_point(format, pt, entry); + g_binary_format_register_code_point(format, pt, level); Py_RETURN_NONE; |