diff options
-rw-r--r-- | plugins/elf/symbols.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/elf/symbols.c b/plugins/elf/symbols.c index 1cc0280..1b47616 100644 --- a/plugins/elf/symbols.c +++ b/plugins/elf/symbols.c @@ -327,12 +327,14 @@ static bool load_all_elf_basic_entry_points(GElfFormat *format) ep = virt_64; } - if (!status) break; + if (status) + { + snprintf(fullname, sizeof(fullname), "%s%u", prefix, i); - snprintf(fullname, sizeof(fullname), "%s%u", prefix, i); + routine = try_to_demangle_routine(fullname); + register_elf_entry_point(fmt, ep, 0, routine); - routine = try_to_demangle_routine(fullname); - register_elf_entry_point(fmt, ep, 0, routine); + } } |