summaryrefslogtreecommitdiff
path: root/src/arch/processor-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-12-14 23:30:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-12-14 23:30:12 (GMT)
commitdb1a6171007a6641a4659392c9bcc05670396643 (patch)
treed011651b8b73b2a28d01e416d613d63bf5b0b4e6 /src/arch/processor-int.h
parentba6ca32c37c5db2582a015ed15d6ba128c36968e (diff)
Provided an iterator for instructions.
Diffstat (limited to 'src/arch/processor-int.h')
-rw-r--r--src/arch/processor-int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/processor-int.h b/src/arch/processor-int.h
index 8631731..b170cad 100644
--- a/src/arch/processor-int.h
+++ b/src/arch/processor-int.h
@@ -87,6 +87,11 @@ struct _GArchProcessor
GArchInstruction **instructions; /* Instructions désassemblées */
size_t instr_allocated; /* Taille de la liste allouée */
size_t instr_count; /* Taille de la liste aplatie */
+ unsigned int stamp; /* Marque de suivi des modifs */
+ GMutex mutex; /* Verrou pour l'accès */
+#ifndef NDEBUG
+ gint locked; /* Statut d'accès à la liste */
+#endif
instr_coverage *coverages; /* Liste de couvertures */
size_t cov_allocated; /* Taille de la liste allouée */