diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-09-24 21:18:51 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-09-24 21:18:51 (GMT) |
commit | 3c970a0a1b74a1991be303132221329f3eef0b91 (patch) | |
tree | 7f3c9e8969f5c5c9fe1188c762dda0668c6f9ff6 /src/analysis/content.h | |
parent | 65a4b8d9c1929fb7b171d630d336519fc4d418ef (diff) |
Prevented out of bounds access when moving the reading position forwards.
Diffstat (limited to 'src/analysis/content.h')
-rw-r--r-- | src/analysis/content.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analysis/content.h b/src/analysis/content.h index f1e5bbf..4ec4f61 100644 --- a/src/analysis/content.h +++ b/src/analysis/content.h @@ -69,6 +69,9 @@ const gchar *g_binary_content_get_checksum(GBinContent *); /* Détermine le nombre d'octets lisibles. */ phys_t g_binary_content_compute_size(const GBinContent *); +/* Avance la tête de lecture d'une certaine quantité de données. */ +bool g_binary_content_seek(const GBinContent *, vmpa2t *, phys_t); + /* Donne accès à une portion des données représentées. */ const bin_t *g_binary_content_get_raw_access(const GBinContent *, vmpa2t *, phys_t); |