From 3ea1d4c6cf82a75409b667b8fe20fc0718e5d922 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Wed, 28 Sep 2016 23:48:37 +0200 Subject: Annotated only existing dex class data. --- ChangeLog | 5 +++++ plugins/readdex/class.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 00d6f56..78421b8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 16-09-28 Cyrille Bagard + * plugins/readdex/class.c: + Annotate only existing dex class data. + +16-09-28 Cyrille Bagard + * 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));*/ -- cgit v0.11.2-87-g4458