diff options
Diffstat (limited to 'plugins/elf')
| -rw-r--r-- | plugins/elf/symbols.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/elf/symbols.c b/plugins/elf/symbols.c index a7cf05c..6d037cb 100644 --- a/plugins/elf/symbols.c +++ b/plugins/elf/symbols.c @@ -1195,11 +1195,11 @@ static bool register_elf_entry_point(GElfFormat *format, virt_t vaddr, GBinRouti      result = g_exe_format_translate_address_into_vmpa(G_EXE_FORMAT(format), final_vaddr, &addr);      if (!result) goto exit; -    base = G_BIN_FORMAT(format); -      /* Comptabilisation en tant que symbole */ -    if (g_binary_format_find_symbol_at(G_BIN_FORMAT(format), &addr, &symbol)) +    base = G_BIN_FORMAT(format); + +    if (g_binary_format_find_symbol_at(base, &addr, &symbol))      {          /**           * On ne relâche pas tout de suite le symbole trouvé, afin de le traiter  | 
