diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-05-08 08:01:03 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-05-08 08:01:03 (GMT) |
commit | 9a548294c18ae04ef00ee0227ada8eb8b050b5fa (patch) | |
tree | c8651fc1fb70579a5bd3f3a61ba04f13ae58efb5 /src/format/dex/method.c | |
parent | 13be5aa2ac44f7bfc70ee25e7ba20ae2adf58ad5 (diff) |
Ensured a Dex routine is not abstract nor native before adding a symbol into the disassembled code.
Diffstat (limited to 'src/format/dex/method.c')
-rw-r--r-- | src/format/dex/method.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/format/dex/method.c b/src/format/dex/method.c index c803bd0..be99479 100644 --- a/src/format/dex/method.c +++ b/src/format/dex/method.c @@ -294,6 +294,25 @@ const encoded_method *g_dex_method_get_dex_info(const GDexMethod *method) * * * Paramètres : method = représentation interne de la méthode à consulter. * * * +* Description : Indique si du code est rattaché à une méthode Dex. * +* * +* Retour : true si la méthode n'est pas abstraite ni native. * +* * +* Remarques : - * +* * +******************************************************************************/ + +bool g_dex_method_has_dex_body(const GDexMethod *method) +{ + return method->has_body; + +} + + +/****************************************************************************** +* * +* Paramètres : method = représentation interne de la méthode à consulter. * +* * * Description : Fournit les indications Dex relatives au corps de la méthode.* * * * Retour : Données brutes du binaire. * |