summaryrefslogtreecommitdiff
path: root/plugins/elf/loading.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elf/loading.c')
-rw-r--r--plugins/elf/loading.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/elf/loading.c b/plugins/elf/loading.c
index 181c864..976dd49 100644
--- a/plugins/elf/loading.c
+++ b/plugins/elf/loading.c
@@ -422,7 +422,7 @@ GElfLoading *g_elf_loading_new_for_strings(GElfFormat *format, phys_t begin, phy
result->global_end = gb_end;
result->global_addr = addr;
- result->content = g_binary_format_get_content(G_BIN_FORMAT(format));
+ result->content = g_known_format_get_content(G_KNOWN_FORMAT(format));
init_vmpa(&pos, gb_start, addr);
@@ -590,7 +590,7 @@ const char *g_elf_loading_build_name(const GElfLoading *loading, uint32_t name,
{
init_vmpa(&pos, loading->str_start + name, VMPA_NO_VIRTUAL);
- content = G_BIN_FORMAT(format)->content;
+ content = G_KNOWN_FORMAT(format)->content;
result = (const char *)g_binary_content_get_raw_access(content, &pos, 1);
@@ -739,7 +739,7 @@ GBinSymbol *g_elf_loading_build_plt_symbol(const GElfLoading *loading, uint64_t
init_vmpa(&pos, offset, VMPA_NO_VIRTUAL);
base = G_BIN_FORMAT(format);
- content = base->content;
+ content = G_KNOWN_FORMAT(base)->content;
raw_label = (const char *)g_binary_content_get_raw_access(content, &pos, 1);