diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-01-09 19:25:41 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-01-09 19:25:41 (GMT) |
commit | 5adcf950f1f928c7127f2d694b52addf54cc04ca (patch) | |
tree | 73cc013056dae1744c13ab6c910755d5a27291a5 /plugins | |
parent | 23b50ae8e91c864d5ef800ca97fd23384502b822 (diff) |
Updated the Python API dealing with basic blocks.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/pychrysa/analysis/routine.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysa/analysis/routine.c b/plugins/pychrysa/analysis/routine.c index 1151b96..37f36a7 100644 --- a/plugins/pychrysa/analysis/routine.c +++ b/plugins/pychrysa/analysis/routine.c @@ -169,7 +169,7 @@ static PyObject *py_binary_routine_get_basic_blocks(PyObject *self, void *closur { PyObject *result; /* Eléments à retourner */ GBinRoutine *routine; /* Version native */ - GInstrBlock *blocks; /* Blocs basiques de routine */ + GBlockList *blocks; /* Blocs basiques de routine */ routine = G_BIN_ROUTINE(pygobject_get(self)); blocks = g_binary_routine_get_basic_blocks(routine); @@ -199,13 +199,13 @@ static int py_binary_routine_set_basic_blocks(PyObject *self, PyObject *value, v { GBinRoutine *routine; /* Elément à consulter */ int ret; /* Bilan de lecture des args. */ - GInstrBlock *blocks; /* Blocs basiques à intégrer */ + GBlockList *blocks; /* Blocs basiques à intégrer */ ret = PyObject_IsInstance(value, (PyObject *)get_python_instr_block_type()); if (!ret) return -1; routine = G_BIN_ROUTINE(pygobject_get(self)); - blocks = G_INSTR_BLOCK(pygobject_get(value)); + blocks = G_BLOCK_LIST(pygobject_get(value)); g_binary_routine_set_basic_blocks(routine, blocks); |