diff options
Diffstat (limited to 'src/arch/target.c')
-rw-r--r-- | src/arch/target.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/arch/target.c b/src/arch/target.c index a863d69..056ace3 100644 --- a/src/arch/target.c +++ b/src/arch/target.c @@ -34,6 +34,7 @@ #include "operand-int.h" #include "sharing/manager.h" +#include "../analysis/routine.h" #include "../common/extstr.h" #include "../format/format.h" @@ -433,7 +434,6 @@ static char *g_target_operand_build_tooltip(const GTargetOperand *operand, const { char *result; /* Description à retourner */ SymbolType stype; /* Type de symbole identifié */ - GBinRoutine *routine; /* Routine à manipuler */ const mrange_t *srange; /* Emplacement du symbole */ GBufferCache *cache; /* Tampon de désassemblage */ size_t index; /* Indice de ligne à traiter */ @@ -449,13 +449,7 @@ static char *g_target_operand_build_tooltip(const GTargetOperand *operand, const { case STP_ROUTINE: case STP_ENTRY_POINT: - - routine = g_binary_symbol_get_routine(operand->symbol); - - result = g_binary_routine_build_tooltip(routine, binary); - - //g_object_unref(G_OBJECT(routine)); // TODO - + result = g_binary_routine_build_tooltip(G_BIN_ROUTINE(operand->symbol), binary); break; case STP_STRING: |