summaryrefslogtreecommitdiff
path: root/src/format/dex
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-05-12 21:28:01 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-05-12 21:28:01 (GMT)
commit5fce21379baac06b7b9359c4b0fcb7fb3867c301 (patch)
tree19bf2943fe5a8a46bae227b8863bc9714fb3ec66 /src/format/dex
parent8ee7fc5db965adaa835ca87bb3d2e2d43e52fbbb (diff)
Added the ELF strings to the preloaded instruction list.
Diffstat (limited to 'src/format/dex')
-rwxr-xr-xsrc/format/dex/dex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/format/dex/dex.c b/src/format/dex/dex.c
index e34318f..b0b32a7 100755
--- a/src/format/dex/dex.c
+++ b/src/format/dex/dex.c
@@ -32,6 +32,7 @@
#include "dex-int.h"
#include "pool.h"
+#include "../../plugins/pglist.h"
@@ -287,6 +288,8 @@ GBinFormat *g_dex_format_new(GBinContent *content, GExeFormat *parent, GtkStatus
if (!load_all_dex_classes(result, gid, status))
goto gdfn_error;
+ preload_binary_format(PGA_FORMAT_PRELOAD, base, base->info, status);
+
if (!g_executable_format_complete_loading(exe_format, status))
goto gdfn_error;