diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-02-12 04:43:01 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-02-12 04:43:01 (GMT) |
commit | 4ff5e12f57a4c54e19a7ba987d243e5f86341aeb (patch) | |
tree | 7bb21628e753cf70e294567e782a1c1331804c35 /plugins/elf/dynamic.c | |
parent | 3674529a39efe30672fd386ae25367fea1502a69 (diff) |
Refreshed the code registering Elf entry points.
Diffstat (limited to 'plugins/elf/dynamic.c')
-rw-r--r-- | plugins/elf/dynamic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/elf/dynamic.c b/plugins/elf/dynamic.c index c6fce14..13292ec 100644 --- a/plugins/elf/dynamic.c +++ b/plugins/elf/dynamic.c @@ -333,15 +333,15 @@ bool resolve_plt_using_got(GElfFormat *format, virt_t *virt) result = false; if (!find_elf_program_by_type(format, PT_DYNAMIC, &dynamic)) - goto rpug_exit; + goto exit; if (!_find_elf_dynamic_item_by_type(format, &dynamic, DT_PLTGOT, &pltgot)) - goto rpug_exit; + goto exit; got_virt = ELF_DYN(format, pltgot, d_un.d_ptr); if (!g_exe_format_translate_address_into_vmpa(G_EXE_FORMAT(format), got_virt, &got_addr)) - goto rpug_exit; + goto exit; content = G_BIN_FORMAT(format)->content; @@ -377,7 +377,7 @@ bool resolve_plt_using_got(GElfFormat *format, virt_t *virt) } - rpug_exit: + exit: return result; |