summaryrefslogtreecommitdiff
path: root/plugins/elf
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/elf
parent4f18f051936f633473c365d4c91ef7e77fa7feee (diff)
Updated the Python API for string symbols.
Diffstat (limited to 'plugins/elf')
-rw-r--r--plugins/elf/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/elf/strings.c b/plugins/elf/strings.c
index 7a2b34a..9b14753 100644
--- a/plugins/elf/strings.c
+++ b/plugins/elf/strings.c
@@ -359,7 +359,7 @@ static bool do_elf_string_loading(GElfLoading *loading, GElfFormat *format, phys
{
range = g_arch_instruction_get_range(instr);
- symbol = g_string_symbol_new_read_only(base, range, SET_GUESS);
+ symbol = g_string_symbol_new_read_only(SET_GUESS, base, range);
g_object_ref(G_OBJECT(symbol));