summaryrefslogtreecommitdiff
path: root/src/analysis/content-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-11-29 16:24:20 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-11-29 16:24:20 (GMT)
commit7fd6e0b76f33de5934fad17efb75366904a3875b (patch)
tree51ddde83844efe7a653bb33bf93e73d6323c9f45 /src/analysis/content-int.h
parent046c2cfac39e686dee65cdf54035dc5a975bc57f (diff)
Provided the list of needed shared objects for an Elf binary.
Diffstat (limited to 'src/analysis/content-int.h')
-rw-r--r--src/analysis/content-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/analysis/content-int.h b/src/analysis/content-int.h
index 4635047..7da78db 100644
--- a/src/analysis/content-int.h
+++ b/src/analysis/content-int.h
@@ -41,6 +41,9 @@ typedef void (* compute_checksum_fc) (GBinContent *, GChecksum *);
/* Détermine le nombre d'octets lisibles. */
typedef phys_t (* compute_size_fc) (const GBinContent *);
+/* Détermine la position finale d'un contenu. */
+typedef void (* compute_end_pos_fc) (const GBinContent *, vmpa2t *);
+
/* Avance la tête de lecture d'une certaine quantité de données. */
typedef bool (* seek_fc) (const GBinContent *, vmpa2t *, phys_t);
@@ -84,6 +87,7 @@ struct _GBinContentIface
compute_checksum_fc compute_checksum; /* Calcul de l'empreinte */
compute_size_fc compute_size; /* Calcul de la taille totale */
+ compute_end_pos_fc compute_end_pos; /* Calcul de position finale */
seek_fc seek; /* Avancée de tête de lecture */