diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-12-15 13:40:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-12-15 13:40:28 (GMT) |
commit | 124c8410dbfcad59d66b850c50c96ec73a607ab7 (patch) | |
tree | b7127c66abfccd11b9126741e2809a893ee44143 /src/arch/instriter.h | |
parent | db1a6171007a6641a4659392c9bcc05670396643 (diff) |
Defined proper accesses to instructions loaded by a processor.
Diffstat (limited to 'src/arch/instriter.h')
-rw-r--r-- | src/arch/instriter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/instriter.h b/src/arch/instriter.h index b9c7621..74e853d 100644 --- a/src/arch/instriter.h +++ b/src/arch/instriter.h @@ -42,6 +42,12 @@ instr_iter_t *create_instruction_iterator(GArchProcessor *, size_t); /* Détruit un itérateur mis en place. */ void delete_instruction_iterator(instr_iter_t *); +/* Fournit l'instruction courante de l'itérateur. */ +GArchInstruction *get_instruction_iterator_current(instr_iter_t *); + +/* Fournit l'instruction qui en précède une autre. */ +GArchInstruction *get_instruction_iterator_prev(instr_iter_t *); + /* Fournit l'instruction qui en suit une autre. */ GArchInstruction *get_instruction_iterator_next(instr_iter_t *); |