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 /src/format/format-int.h | |
parent | eb68c77804d9b85bc9b3c5a87ba3f64dd83afce1 (diff) |
Given some priority to Elf PLT entries during the disassembly process.
Diffstat (limited to 'src/format/format-int.h')
-rw-r--r-- | src/format/format-int.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/format/format-int.h b/src/format/format-int.h index d5ee2b4..c8f2b1a 100644 --- a/src/format/format-int.h +++ b/src/format/format-int.h @@ -54,7 +54,7 @@ typedef void (* format_complete_analysis_fc) (GBinFormat *, wgroup_id_t, GtkStat /* Rythme des allocations pour les entrées de code */ -#define EXTRA_POINT_BLOCK 100 +#define EXTRA_POINT_BLOCK 20 /* Description d'une erreur */ @@ -75,13 +75,9 @@ struct _GBinFormat GBinContent *content; /* Contenu binaire à étudier */ - virt_t *entry_points; /* Points d'entrée du code */ - size_t ep_count; /* Nombre de ces points */ - - virt_t *extra_points; /* Autres débuts de code */ - size_t xp_allocated; /* Taille d'inscription allouée*/ - size_t xp_count; /* Nombre de points enregistrés*/ - + virt_t *start_points[DPL_COUNT]; /* Départ de désassemblage */ + size_t pt_allocated[DPL_COUNT]; /* Taille d'inscription allouée*/ + size_t pt_count[DPL_COUNT]; /* Nombre de points enregistrés*/ GRWLock pt_lock; /* Accès à la liste des points */ GPreloadInfo *info; /* Préchargements du format */ |