diff options
-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));*/ |