summaryrefslogtreecommitdiff
path: root/src/analysis/routine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/routine.c')
-rw-r--r--src/analysis/routine.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/analysis/routine.c b/src/analysis/routine.c
index a33158d..4f18b59 100644
--- a/src/analysis/routine.c
+++ b/src/analysis/routine.c
@@ -60,7 +60,7 @@ struct _GBinRoutine
GArchInstruction *instr; /* Instructions natives */
GBlockList *blocks; /* Blocs basiques d'instruct° */
- GDecInstruction *dinstr; /* Instructions décompilées */
+ //GDecInstruction *dinstr; /* Instructions décompilées */
};
@@ -893,12 +893,13 @@ void g_binary_routine_set_basic_blocks(GBinRoutine *routine, GBlockList *blocks)
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
GDecInstruction *g_binary_routine_get_decomp_instructions(const GBinRoutine *routine)
{
return routine->dinstr;
}
+#endif
/******************************************************************************
@@ -913,7 +914,7 @@ GDecInstruction *g_binary_routine_get_decomp_instructions(const GBinRoutine *rou
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
void g_binary_routine_set_decomp_instructions(GBinRoutine *routine, GDecInstruction *instr)
{
if (routine->dinstr != NULL)
@@ -922,6 +923,7 @@ void g_binary_routine_set_decomp_instructions(GBinRoutine *routine, GDecInstruct
routine->dinstr = instr;
}
+#endif
/******************************************************************************
@@ -1019,7 +1021,7 @@ char *_g_binary_routine_to_string(const GBinRoutine *routine, Routine2StringOpti
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
void g_binary_routine_output_info(const GBinRoutine *routine, GLangOutput *lang, GCodeBuffer *buffer)
{
GBufferLine *line; /* Adresse d'une ligne nouvelle*/
@@ -1065,6 +1067,7 @@ void g_binary_routine_output_info(const GBinRoutine *routine, GLangOutput *lang,
//g_lang_output_end_routine_prototype(lang, buffer, line);
}
+#endif
/******************************************************************************
@@ -1081,7 +1084,7 @@ void g_binary_routine_output_info(const GBinRoutine *routine, GLangOutput *lang,
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
void g_binary_routine_print_code(const GBinRoutine *routine, GLangOutput *lang, GCodeBuffer *buffer, bool body)
{
GBufferLine *line; /* Adresse d'une ligne nouvelle*/
@@ -1126,3 +1129,4 @@ void g_binary_routine_print_code(const GBinRoutine *routine, GLangOutput *lang,
}
}
+#endif