diff options
Diffstat (limited to 'src/arch/processor.h')
-rw-r--r-- | src/arch/processor.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/arch/processor.h b/src/arch/processor.h index 3eeefd5..d650266 100644 --- a/src/arch/processor.h +++ b/src/arch/processor.h @@ -87,11 +87,15 @@ void g_arch_processor_set_disassembled_instructions(GArchProcessor *, GArchInstr /* Fournit les instructions désassemblées pour une architecture. */ GArchInstruction *g_arch_processor_get_disassembled_instructions(const GArchProcessor *); - - /* Recherche une instruction d'après son adresse. */ GArchInstruction *g_arch_processor_find_instr_by_address(const GArchProcessor *, const vmpa2t *); +/* Fournit l'instruction qui en précède une autre. */ +GArchInstruction *g_arch_processor_get_prev_instr(const GArchProcessor *, const GArchInstruction *); + +/* Fournit l'instruction qui en suit une autre. */ +GArchInstruction *g_arch_processor_get_next_instr(const GArchProcessor *, const GArchInstruction *); + #endif /* _ARCH_PROCESSOR_H */ |