summaryrefslogtreecommitdiff
path: root/plugins/elf/dynamic.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elf/dynamic.c')
-rw-r--r--plugins/elf/dynamic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/elf/dynamic.c b/plugins/elf/dynamic.c
index 13292ec..6ab2ce2 100644
--- a/plugins/elf/dynamic.c
+++ b/plugins/elf/dynamic.c
@@ -272,7 +272,7 @@ const char **list_elf_needed_objects(const GElfFormat *format, size_t *count)
/* Seconde passe : recherche des objets requis */
- content = G_BIN_FORMAT(format)->content;
+ content = G_KNOWN_FORMAT(format)->content;
g_binary_content_compute_end_pos(content, &end);
@@ -343,7 +343,7 @@ bool resolve_plt_using_got(GElfFormat *format, virt_t *virt)
if (!g_exe_format_translate_address_into_vmpa(G_EXE_FORMAT(format), got_virt, &got_addr))
goto exit;
- content = G_BIN_FORMAT(format)->content;
+ content = G_KNOWN_FORMAT(format)->content;
/**
* Quelques pistes pour la connaissance des premières cellules d'une GOT :