diff options
Diffstat (limited to 'src/format/format-int.h')
-rw-r--r-- | src/format/format-int.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/format/format-int.h b/src/format/format-int.h index 3e6ed9c..f97a4ad 100644 --- a/src/format/format-int.h +++ b/src/format/format-int.h @@ -36,6 +36,10 @@ typedef void (* format_decompile_fc) (const GBinFormat *, GCodeBuffer *, const char *); +/* Rythme des allocations pour les entrées de code */ +#define EXTRA_POINT_BLOCK 100 + + /* Format binaire générique (instance) */ struct _GBinFormat { @@ -46,6 +50,10 @@ struct _GBinFormat 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*/ + GBinSymbol **symbols; /* Liste des symboles trouvés */ size_t symbols_count; /* Quantité de ces symboles */ GRWLock syms_lock; /* Accès à la liste de symboles*/ |