summaryrefslogtreecommitdiff
path: root/src/format/symbol.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-12-14 23:32:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-12-14 23:32:23 (GMT)
commita1c2bc0c3b6f4b4fda9c50beeb09a1f699419e2a (patch)
tree7856d9bc8fd702d0499f8a09156a555406eaaea9 /src/format/symbol.h
parent16d37d997b84c75c1f9b877fe446b3b3e5ce2495 (diff)
Shown label of loaded symbols when possible.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@441 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/symbol.h')
-rw-r--r--src/format/symbol.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/format/symbol.h b/src/format/symbol.h
index 91268f1..76bf46b 100644
--- a/src/format/symbol.h
+++ b/src/format/symbol.h
@@ -65,6 +65,9 @@ GType g_binary_symbol_get_type(void);
/* Crée un nouveau symbole d'exécutable. */
GBinSymbol *g_binary_symbol_new(SymbolType, const char *, vmpa_t);
+/* Compare deux symboles d'exécutable selon leurs propriétés. */
+int g_binary_symbol_cmp(const GBinSymbol **, const GBinSymbol **);
+
/* Fournit le type du symbole. */
SymbolType g_binary_symbol_get_target_type(const GBinSymbol *);
@@ -74,6 +77,9 @@ const char *g_binary_symbol_to_string(const GBinSymbol *);
/* Fournit l'adresse associée à un symbole. */
vmpa_t g_binary_symbol_get_address(const GBinSymbol *); ///////////////////
+/* Fournit un étiquette pour viser un symbole. */
+const char *g_binary_symbol_get_label(const GBinSymbol *);
+
/* Fournit l'emplacement où se situe un symbole. */
const mrange_t *g_binary_symbol_get_range(const GBinSymbol *);