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 /src | |
parent | 23b50ae8e91c864d5ef800ca97fd23384502b822 (diff) |
Updated the Python API dealing with basic blocks.
Diffstat (limited to 'src')
-rw-r--r-- | src/analysis/disass/block.h | 6 | ||||
-rw-r--r-- | src/analysis/routine.h | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/analysis/disass/block.h b/src/analysis/disass/block.h index 5168a86..49c6a14 100644 --- a/src/analysis/disass/block.h +++ b/src/analysis/disass/block.h @@ -78,11 +78,11 @@ const bitfield_t *g_basic_block_get_domination(const GBasicBlock *); #define G_TYPE_BLOCK_LIST g_block_list_get_type() -#define G_BLOCK_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_block_list_get_type(), GBasicBlock)) +#define G_BLOCK_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_block_list_get_type(), GBlockList)) #define G_IS_BLOCK_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_block_list_get_type())) -#define G_BLOCK_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_BLOCK_LIST, GBasicBlockClass)) +#define G_BLOCK_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_BLOCK_LIST, GBlockListClass)) #define G_IS_BLOCK_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_BLOCK_LIST)) -#define G_BLOCK_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_BLOCK_LIST, GBasicBlockClass)) +#define G_BLOCK_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_BLOCK_LIST, GBlockListClass)) /* Description d'une liste de blocs basiques (instance) */ diff --git a/src/analysis/routine.h b/src/analysis/routine.h index 48cec13..9e09a6f 100644 --- a/src/analysis/routine.h +++ b/src/analysis/routine.h @@ -34,11 +34,8 @@ #include "variable.h" #include "disass/block.h" #include "../arch/processor.h" -//#include "../arch/instruction.h" -typedef struct _GArchInstruction GArchInstruction; - /* Type de routine traitée */ typedef enum _RoutineType |