diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-09-28 21:48:37 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-09-28 21:48:37 (GMT) |
commit | 3ea1d4c6cf82a75409b667b8fe20fc0718e5d922 (patch) | |
tree | 880977b870697b95dfc69944fb7cd30a7678120c | |
parent | 7b99c255f7b5a6cd82196d8ae396b5cf991f9784 (diff) |
Annotated only existing dex class data.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | plugins/readdex/class.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,10 @@ 16-09-28 Cyrille Bagard <nocbos@gmail.com> + * plugins/readdex/class.c: + Annotate only existing dex class data. + +16-09-28 Cyrille Bagard <nocbos@gmail.com> + * src/gui/panels/symbols.c: Update and improve the symbols panel. diff --git a/plugins/readdex/class.c b/plugins/readdex/class.c index 64be347..b011ad8 100644 --- a/plugins/readdex/class.c +++ b/plugins/readdex/class.c @@ -210,7 +210,8 @@ bool annotate_dex_class_defs(const GDexFormat *format, GtkStatusStack *status) def = g_dex_class_get_definition(class); - result = annotate_dex_class_data(format, class, def->class_data_off); + if (def->class_data_off > 0) + result = annotate_dex_class_data(format, class, def->class_data_off); /* TODO : g_object_unref(G_OBJECT(class));*/ |