From 6784e2ad98fa62cb2e7ac10a30a602c296a7b266 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Thu, 1 Oct 2015 16:14:47 +0000 Subject: Provided the real number of loaded classes instead of 0. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@582 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/format/dex/dex.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 647cb42..cb8407c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 15-10-01 Cyrille Bagard + * src/format/dex/dex.c: + Provide the real number of loaded classes instead of 0. + +15-10-01 Cyrille Bagard + * plugins/mobicore/mclf.c: * src/analysis/variable.c: * src/arch/dalvik/decomp/invoke.c: diff --git a/src/format/dex/dex.c b/src/format/dex/dex.c index 35ffe47..afd9db1 100755 --- a/src/format/dex/dex.c +++ b/src/format/dex/dex.c @@ -514,11 +514,7 @@ char *_g_data_type_to_string(const GDataType *type, bool simple) size_t g_dex_format_count_classes(const GDexFormat *format) { - return 0; - -#if 0 - return format->classes_count; -#endif + return format->header.class_defs_size; } -- cgit v0.11.2-87-g4458