summaryrefslogtreecommitdiff
path: root/src/format/format-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-10-13 23:30:30 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-10-13 23:30:30 (GMT)
commit18beadb4192144b00c06769645befb17ae1ce98e (patch)
tree9d29be95f3343bf8126ca99c42907242ceb57714 /src/format/format-int.h
parent7800159c1dd6538f0ee9d026cf3f121a488dd647 (diff)
Kept all information about real addresses for routine symbols (ARM vs Thumb).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@593 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/format-int.h')
-rw-r--r--src/format/format-int.h8
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*/