summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/disass/block.h6
-rw-r--r--src/analysis/routine.h3
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