summaryrefslogtreecommitdiff
path: root/src/glibext/gbinportion.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-03-31 17:25:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-03-31 17:25:54 (GMT)
commit24096140aaa73db9e982db4437bc42a013812658 (patch)
tree78bda5c6bda0a3c798fb6201f55b9d855410a60b /src/glibext/gbinportion.h
parentdda68634391bea512a7861468fcf45f8292300bb (diff)
Handled many special cases of binary portion inclusion to get a clean tree.
Diffstat (limited to 'src/glibext/gbinportion.h')
-rw-r--r--src/glibext/gbinportion.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/glibext/gbinportion.h b/src/glibext/gbinportion.h
index a1ec105..27e7dc5 100644
--- a/src/glibext/gbinportion.h
+++ b/src/glibext/gbinportion.h
@@ -84,9 +84,6 @@ GBinPortion *g_binary_portion_new(const char *, const vmpa2t *, phys_t);
/* Etablit la comparaison ascendante entre deux portions. */
int g_binary_portion_compare(const GBinPortion **, const GBinPortion **);
-/* Détermine si une portion est comprise dans une autre. */
-int g_binary_portion_is_included(const GBinPortion **, const GBinPortion **);
-
/* Attribue une description humaine à une partie de code. */
void g_binary_portion_set_desc(GBinPortion *, const char *);
@@ -96,6 +93,12 @@ 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 *);
+/* Définit la nature de la portion en terme d'originalité. */
+void g_binary_portion_mark_as_continued(GBinPortion *, bool);
+
+/* Indique la nature de la portion en terme d'originalité. */
+bool g_binary_portion_is_continuation(const GBinPortion *);
+
/* Définit les droits associés à une partie de code. */
void g_binary_portion_set_rights(GBinPortion *, PortionAccessRights);