diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-03-01 22:54:45 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-03-01 22:54:45 (GMT) |
commit | 0c638aecff9482b93621d77279ac77a8788584e9 (patch) | |
tree | c207e648c9d8f8429a29ba1c364fb2293dd4274b /plugins/mobicore | |
parent | eb68c77804d9b85bc9b3c5a87ba3f64dd83afce1 (diff) |
Given some priority to Elf PLT entries during the disassembly process.
Diffstat (limited to 'plugins/mobicore')
-rw-r--r-- | plugins/mobicore/symbols.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/mobicore/symbols.c b/plugins/mobicore/symbols.c index a0425ee..2523cbc 100644 --- a/plugins/mobicore/symbols.c +++ b/plugins/mobicore/symbols.c @@ -68,9 +68,7 @@ static void register_mclf_entry_point(GMCLFFormat *format, virt_t vaddr, phys_t /* Comptabilisation pour le désassemblage brut */ - base->entry_points = (virt_t *)realloc(base->entry_points, ++base->ep_count * sizeof(virt_t)); - - base->entry_points[base->ep_count - 1] = vaddr; + g_binary_format_register_code_point(base, vaddr, DPL_ENTRY_POINT); /* Comptabilisation en tant que symbole */ |