summaryrefslogtreecommitdiff
path: root/src/analysis/content-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/content-int.h')
-rw-r--r--src/analysis/content-int.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/analysis/content-int.h b/src/analysis/content-int.h
index c5b1659..36168be 100644
--- a/src/analysis/content-int.h
+++ b/src/analysis/content-int.h
@@ -62,6 +62,12 @@ typedef bool (* read_u32_fc) (const GBinContent *, vmpa2t *, SourceEndian, uint3
/* Lit un nombre non signé sur huit octets. */
typedef bool (* read_u64_fc) (const GBinContent *, vmpa2t *, SourceEndian, uint64_t *);
+/* Lit un nombre non signé encodé au format LEB128. */
+typedef bool (* read_uleb128_fc) (const GBinContent *, vmpa2t *, uleb128_t *);
+
+/* Lit un nombre signé encodé au format LEB128. */
+typedef bool (* read_leb128_fc) (const GBinContent *, vmpa2t *, leb128_t *);
+
/* Accès à un contenu binaire quelconque (interface) */
struct _GBinContentIface
@@ -85,6 +91,9 @@ struct _GBinContentIface
read_u32_fc read_u32; /* Lecture de 32 bits */
read_u64_fc read_u64; /* Lecture de 64 bits */
+ read_uleb128_fc read_uleb128; /* Lecture d'un LEB non signé */
+ read_leb128_fc read_leb128; /* Lecture d'un LEB signé */
+
};