summaryrefslogtreecommitdiff
path: root/src/format/dex
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/dex')
-rw-r--r--src/format/dex/class.c4
-rwxr-xr-xsrc/format/dex/dex.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/format/dex/class.c b/src/format/dex/class.c
index 02ac19d..37fdd04 100644
--- a/src/format/dex/class.c
+++ b/src/format/dex/class.c
@@ -233,7 +233,7 @@ GDexClass *g_dex_class_new(GDexFormat *format, const class_def_item *def)
symbol = g_binary_symbol_new(STP_ROUTINE);
g_binary_symbol_attach_routine(symbol, routine);
- _g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol, false);
+ g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol);
}
@@ -256,7 +256,7 @@ GDexClass *g_dex_class_new(GDexFormat *format, const class_def_item *def)
symbol = g_binary_symbol_new(STP_ROUTINE);
g_binary_symbol_attach_routine(symbol, routine);
- _g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol, false);
+ g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol);
}
diff --git a/src/format/dex/dex.c b/src/format/dex/dex.c
index 51938f9..2897ee3 100755
--- a/src/format/dex/dex.c
+++ b/src/format/dex/dex.c
@@ -273,8 +273,6 @@ GBinFormat *g_dex_format_new(GBinContent *content, GExeFormat *parent)
if (!load_all_dex_classes(result))
goto gdfn_error;
- g_binary_format_sort_symbols(base);
-
if (!g_binary_format_complete_loading(base))
goto gdfn_error;