summaryrefslogtreecommitdiff
path: root/plugins/readelf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-18 21:50:26 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-18 21:50:26 (GMT)
commit041056d04032d41a5c092c62cbfd67b199094991 (patch)
treea294afa55e307fe68617f80af3e9999ad7fa28b6 /plugins/readelf
parent4f18f051936f633473c365d4c91ef7e77fa7feee (diff)
Updated the Python API for string symbols.
Diffstat (limited to 'plugins/readelf')
-rw-r--r--plugins/readelf/strtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/readelf/strtab.c b/plugins/readelf/strtab.c
index 2420da6..19b44bf 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(base, irange, SET_GUESS);
+ symbol = g_string_symbol_new_read_only(SET_GUESS, base, irange);
g_object_ref(G_OBJECT(symbol));