diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-11-29 09:33:00 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-11-29 09:33:00 (GMT) |
commit | 97d1cc10210cf4ec237e1d9a8b23b120ddef47c5 (patch) | |
tree | be02d0c99cd02917ca31541f4ff0aafa9b9903fc /src/glibext/gbinportion.h | |
parent | b4d1a25a22371fa67c5d73bc8fcca08e045556f3 (diff) |
Displayed segments in the disassembly view.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@429 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext/gbinportion.h')
-rw-r--r-- | src/glibext/gbinportion.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/glibext/gbinportion.h b/src/glibext/gbinportion.h index ac6b4fd..f92b87e 100644 --- a/src/glibext/gbinportion.h +++ b/src/glibext/gbinportion.h @@ -30,6 +30,7 @@ #include <gtk/gtk.h> +#include "gcodebuffer.h" #include "../arch/vmpa.h" #include "../common/fnv1a.h" @@ -82,6 +83,9 @@ GType g_binary_portion_get_type(void); /* Crée une description de partie de code vierge. */ GBinPortion *g_binary_portion_new(const char *); +/* Etablit la comparaison ascendante entre deux portions. */ +int g_binary_portion_compare(const GBinPortion **, const GBinPortion **); + /* Attribue une description humaine à une partie de code. */ void g_binary_portion_set_desc(GBinPortion *, const char *); @@ -103,6 +107,9 @@ PortionAccessRights g_binary_portion_get_rights(const GBinPortion *); /* Procède à l'inclusion d'une portion dans une autre. */ void g_binary_portion_include(GBinPortion *, GBinPortion *); +/* Indique le niveau de profondeur d'une portion donnée. */ +unsigned int g_binary_portion_get_level(GBinPortion *); + /* Parcours un ensemble de portions binaires. */ bool g_binary_portion_visit(GBinPortion *, visit_portion_fc, void *); @@ -118,6 +125,9 @@ bool g_binary_portion_get_addr_from_pos(GBinPortion *, gint, const GdkRectangle /* Fournit l'adresse correspondant à une position donnée. */ bool g_binary_portion_get_pos_from_addr(GBinPortion *, const vmpa2t *, const GdkRectangle *, gint *); +/* Insère dans un tampon une description de portion. */ +void g_binary_portion_print(const GBinPortion *, GCodeBuffer *, MemoryDataSize); + /* Prépare une astuce concernant une portion pour son affichage. */ gboolean g_binary_portion_query_tooltip(GBinPortion *, gint, gint, const GdkRectangle *, GtkTooltip *); |