diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-11-02 16:28:11 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-11-02 16:28:11 (GMT) |
commit | 6169203f33bb5b6f73371b6837ad9d6efd94d854 (patch) | |
tree | 07c783206e2f783e8af248bd5a389f6eafaebc8b /src/arch/instruction.h | |
parent | 4d79b56c6f901bae58384e0b612c408506c40741 (diff) |
Built a linked list of disassembled instructions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@186 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/instruction.h')
-rw-r--r-- | src/arch/instruction.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h index 2314a56..a9e2bd2 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -96,4 +96,18 @@ bool g_arch_instruction_is_return(const GArchInstruction *instr); +/* -------------------- TRAITEMENT DES INSTRUCTIONS PAR ENSEMBLE -------------------- */ + + +/* Ajoute une instruction à un ensemble existant. */ +void g_arch_instruction_add_to_list(GArchInstruction **, GArchInstruction *); + +/* Fournit l'élement suivant un autre pour un parcours. */ +GArchInstruction *g_arch_instruction_get_next_iter(GArchInstruction *, const GArchInstruction *, vmpa_t); + +/* Recherche une instruction d'après son adresse. */ +GArchInstruction *g_arch_instruction_find_by_address(GArchInstruction *, vmpa_t, bool); + + + #endif /* _ARCH_INSTRUCTION_H */ |