diff options
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 */ |