summaryrefslogtreecommitdiff
path: root/src/format/exe_format.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2008-09-06 13:56:57 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2008-09-06 13:56:57 (GMT)
commitf14993aac5b0b4b7ae174f27e4d1f0f540057c58 (patch)
treefcb3ef8e5b2965a79f7ae9984e1c0c783f5530eb /src/format/exe_format.c
parentada3040b9b2b6d0a2d6e2157b3f79e772e36b2d7 (diff)
Added a panel allowing to browse found symbols.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@24 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/exe_format.c')
-rw-r--r--src/format/exe_format.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/format/exe_format.c b/src/format/exe_format.c
index 48a4d4c..5cbaba5 100644
--- a/src/format/exe_format.c
+++ b/src/format/exe_format.c
@@ -51,3 +51,25 @@ bool find_exe_section(const exe_format *format, const char *target, off_t *offse
return format->find_section(format, target, offset, size, voffset);
}
+
+
+/******************************************************************************
+* *
+* Paramètres : format = informations chargées à consulter. *
+* labels = liste des commentaires à insérer. [OUT] *
+* types = type des symboles listés. [OUT] *
+* offsets = liste des indices des commentaires. [OUT] *
+* *
+* Description : Récupère tous les symboles présents dans le contenu binaire. *
+* *
+* Retour : Nombre d'éléments mis en place. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+size_t get_exe_symbols(const exe_format *format, char ***labels, SymbolType **types, uint64_t **offsets)
+{
+ return format->get_symbols(format, labels, types, offsets);
+
+}