summaryrefslogtreecommitdiff
path: root/src/common/leb128.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-11-03 14:00:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-11-03 14:00:29 (GMT)
commit54d05927811a59db294af8a24258c0b837360492 (patch)
tree527064eea471829b12f3b0f5a5b2278cbe4524c2 /src/common/leb128.h
parentc24b37fd74ae12a90669731f150ac99213fad5b6 (diff)
Load and store various values.
Diffstat (limited to 'src/common/leb128.h')
-rw-r--r--src/common/leb128.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/leb128.h b/src/common/leb128.h
index f438068..0313f5c 100644
--- a/src/common/leb128.h
+++ b/src/common/leb128.h
@@ -58,6 +58,12 @@ bool read_uleb128(uleb128_t *, const bin_t *, phys_t *, phys_t);
/* Lit un nombre signé encodé au format LEB128. */
bool read_leb128(leb128_t *, const bin_t *, phys_t *, phys_t);
+/* Charge un nombre non signé encodé au format LEB128. */
+bool load_uleb128(uleb128_t *, int);
+
+/* Sauvegarde un nombre non signé encodé au format LEB128. */
+bool store_uleb128(const uleb128_t *, int);
+
/* Encode un nombre non signé encodé au format LEB128. */
bool pack_uleb128(const uleb128_t *, packed_buffer_t *);