diff options
Diffstat (limited to 'plugins/readelf')
-rw-r--r-- | plugins/readelf/strtab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/readelf/strtab.c b/plugins/readelf/strtab.c index 19b44bf..262be56 100644 --- a/plugins/readelf/strtab.c +++ b/plugins/readelf/strtab.c @@ -118,7 +118,7 @@ static void parse_elf_string_table(GElfFormat *format, GPreloadInfo *info, const { irange = g_arch_instruction_get_range(instr); - symbol = g_string_symbol_new_read_only(SET_GUESS, base, irange); + symbol = g_string_symbol_new_read_only(SET_GUESS, G_KNOWN_FORMAT(base), irange); g_object_ref(G_OBJECT(symbol)); @@ -167,7 +167,7 @@ void show_elf_section_string_table(GElfFormat *format, GPreloadInfo *info, GtkSt mrange_t range; /* Espace à parcourir */ bool found; /* Détection d'une section */ - content = g_binary_format_get_content(G_BIN_FORMAT(format)); + content = g_known_format_get_content(G_KNOWN_FORMAT(format)); found = find_elf_section_range_by_name(format, ".interp", &range); |