diff options
Diffstat (limited to 'src/format/dex/method.c')
-rw-r--r-- | src/format/dex/method.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/format/dex/method.c b/src/format/dex/method.c index 9bac013..b9023d8 100644 --- a/src/format/dex/method.c +++ b/src/format/dex/method.c @@ -221,4 +221,22 @@ GBinPart *g_dex_method_as_part(const GDexMethod *method) } +/****************************************************************************** +* * +* Paramètres : method = informations chargées à consulter. * +* lang = langage à utiliser pour la sortie humaine. * +* buffer = tampon mis à disposition pour la sortie. * +* * +* Description : Procède à la décompilation complète d'une routine donnée. * +* * +* Retour : - * +* * +* Remarques : - * +* * +******************************************************************************/ +void g_dex_method_decompile(const GDexMethod *method, GLangOutput *lang, GCodeBuffer *buffer) +{ + g_binary_routine_print_code(method->routine, lang, buffer, true); + +} |