diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-10-01 16:14:47 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-10-01 16:14:47 (GMT) |
commit | 6784e2ad98fa62cb2e7ac10a30a602c296a7b266 (patch) | |
tree | 028ddc06d7c4ac1ee0c4a4fa2cc57a04681bb015 | |
parent | d51fef170f00602744e55a8fdb21a3c7d196696a (diff) |
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
-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; } |