diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-11-11 01:22:43 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-11-11 01:22:43 (GMT) |
commit | b33a52031c0d44a79604bc8d9036c30bffd020cb (patch) | |
tree | c825e3330684ca57f7c423328cd116b2d6ec0f6a /src/analysis/routine.h | |
parent | 828124e38d266e382bb1477ef51c9fac8e81c591 (diff) |
Built some expressions for the decompilation tree.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@190 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/routine.h')
-rw-r--r-- | src/analysis/routine.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/analysis/routine.h b/src/analysis/routine.h index e2ea1cc..47de5bd 100644 --- a/src/analysis/routine.h +++ b/src/analysis/routine.h @@ -31,7 +31,8 @@ #include "variable.h" -#include "../arch/archbase.h" +#include "../arch/instruction.h" +#include "../decomp/instruction.h" @@ -143,6 +144,18 @@ char *_g_binary_routine_to_string(const GBinRoutine *, Routine2StringOptions); #define g_binary_routine_to_string(r) _g_binary_routine_to_string((r), RSO_ALL) +/* Fournit les instructions natives correspondantes. */ +GArchInstruction *g_binary_routine_get_instructions(const GBinRoutine *); + +/* Définit les instructions natives de la routine. */ +void g_binary_routine_set_instructions(GBinRoutine *, GArchInstruction *); + +/* Fournit les instructions décompilées correspondantes. */ +GDecInstruction *g_binary_routine_get_decomp_instructions(const GBinRoutine *); + +/* Définit les instructions décompilées de la routine. */ +void g_binary_routine_set_decomp_instructions(GBinRoutine *, GDecInstruction *); + #endif /* _ANALYSIS_ROUTINE_H */ |