diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | src/format/dex/dex.c | 6 |
2 files changed, 6 insertions, 5 deletions
@@ -1,5 +1,10 @@ 15-10-01 Cyrille Bagard <nocbos@gmail.com> + * src/format/dex/dex.c: + Provide the real number of loaded classes instead of 0. + +15-10-01 Cyrille Bagard <nocbos@gmail.com> + * 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; } |