diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-10-16 16:03:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-10-16 16:03:28 (GMT) |
commit | 6f9563a0184e36fab8d0c2c38d151827784e331e (patch) | |
tree | 2d0e13667bc9efcc0f26c17572c9d38dabd89db7 /src/analysis/routine.h | |
parent | c7a14e50bd002e3922969e9bae7816753aefb073 (diff) |
Properly output routines documentation.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@268 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/routine.h')
-rw-r--r-- | src/analysis/routine.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/analysis/routine.h b/src/analysis/routine.h index 3622630..a13c460 100644 --- a/src/analysis/routine.h +++ b/src/analysis/routine.h @@ -142,11 +142,6 @@ void g_binary_routine_register_if_needed(GBinRoutine *, size_t, bool); /* Donne l'indice d'une variable dans la liste d'une routine. */ size_t g_binary_routine_get_var_index_from_offset(const GBinRoutine *, size_t, bool); -/* Décrit le prototype de la routine sous forme de caractères. */ -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 *); @@ -159,6 +154,14 @@ 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 *); +/* Décrit le prototype de la routine sous forme de caractères. */ +char *_g_binary_routine_to_string(const GBinRoutine *, Routine2StringOptions); + +#define g_binary_routine_to_string(r) _g_binary_routine_to_string((r), RSO_ALL) + +/* Procède à l'impression de la description d'une routine. */ +void g_binary_routine_output_info(const GBinRoutine *, GLangOutput *, GCodeBuffer *); + /* Procède à l'impression de la décompilation d'une routine. */ void g_binary_routine_print_code(const GBinRoutine *, GLangOutput *, GCodeBuffer *, bool); |