diff options
Diffstat (limited to 'src/arch/instruction.h')
-rw-r--r-- | src/arch/instruction.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h index b570d92..a4ea1b5 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -66,12 +66,13 @@ void g_arch_instruction_append_suffix(GArchInstruction *, const char *); typedef enum _ArchInstrFlag { AIF_NONE = (0 << 0), /* Aucune information */ - AIF_ROUTINE_START = (1 << 0) /* Début de routine */ + AIF_ROUTINE_START = (1 << 0), /* Début de routine */ + AIF_RETURN_POINT = (1 << 1) /* Retour de fonction appelée */ } ArchInstrFlag; /* Ajoute une information complémentaire à une instruction. */ -void g_arch_instruction_set_flag(GArchInstruction *, ArchInstrFlag); +bool g_arch_instruction_set_flag(GArchInstruction *, ArchInstrFlag); /* Fournit les informations complémentaires d'une instruction. */ ArchInstrFlag g_arch_instruction_get_flags(const GArchInstruction *); @@ -179,12 +180,6 @@ typedef union _link_extra_info /* Informe sur une éventuelle référence à une autre instruction. */ InstructionLinkType g_arch_instruction_get_link(const GArchInstruction *, vmpa_t *); -/* Précise si l'instruction correspond à un retour de fonction. */ -bool g_arch_instruction_define_as_return(GArchInstruction *, bool); - -/* Indique si l'instruction correspond à un retour de fonction. */ -bool g_arch_instruction_is_return(const GArchInstruction *instr); - /* Etablit un lien entre deux instructions. */ void g_arch_instruction_link_with(GArchInstruction *, GArchInstruction *, InstructionLinkType, ...); |