summaryrefslogtreecommitdiff
path: root/plugins/readdex
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-21 12:08:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-21 12:08:29 (GMT)
commit7e5b1add6fdeb74b2356acf8ccf7009f45cfa85e (patch)
treeb7373554017e97fcbe24db79d9818272764e858d /plugins/readdex
parent5dd935b27a765177960bdfe4d2fcb296cbbd41da (diff)
Changed the hierarchy of format objects.
Diffstat (limited to 'plugins/readdex')
-rw-r--r--plugins/readdex/ids.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/readdex/ids.c b/plugins/readdex/ids.c
index 72c4072..1d5f687 100644
--- a/plugins/readdex/ids.c
+++ b/plugins/readdex/ids.c
@@ -30,6 +30,7 @@
#include <i18n.h>
#include <arch/instructions/raw.h>
+#include <format/known.h>
#include <format/symbol.h>
#include <plugins/dex/dex_def.h>
#include <plugins/fmtp/parser.h>
@@ -254,7 +255,7 @@ bool annotate_dex_string_ids(const GDexFormat *format, GPreloadInfo *info, GtkSt
uleb128_t length; /* Taille de la chaîne en cours*/
GArchInstruction *instr; /* Instruction décodée */
- content = g_binary_format_get_content(G_BIN_FORMAT(format));
+ content = g_known_format_get_content(G_KNOWN_FORMAT(format));
header = g_dex_format_get_header(format);
endian = g_binary_format_get_endianness(G_BIN_FORMAT(format));