summaryrefslogtreecommitdiff
path: root/src/glibext/gbinportion.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-07-15 09:58:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-07-15 09:58:58 (GMT)
commit52d721c47cce927345cb5e66674ca2cc48d75349 (patch)
treefbfb4e38586f96f17e282b45851c70edaa5e0536 /src/glibext/gbinportion.h
parentf3184725ec750317c04f1989ac83c2bbc75865a9 (diff)
Truncated binary portions to fit the binary content size if needed.
Diffstat (limited to 'src/glibext/gbinportion.h')
-rw-r--r--src/glibext/gbinportion.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glibext/gbinportion.h b/src/glibext/gbinportion.h
index 9f22e3d..14a6960 100644
--- a/src/glibext/gbinportion.h
+++ b/src/glibext/gbinportion.h
@@ -99,6 +99,9 @@ const char *g_binary_portion_get_desc(const GBinPortion *);
/* Fournit l'emplacement d'une partie de code binaire. */
const mrange_t *g_binary_portion_get_range(const GBinPortion *);
+/* Assure qu'une portion ne dépasse pas une position donnée. */
+bool g_binary_portion_limit_range(GBinPortion *, phys_t);
+
/* Définit la nature de la portion en terme d'originalité. */
void g_binary_portion_mark_as_continued(GBinPortion *, bool);