summaryrefslogtreecommitdiff
path: root/src/format/exe_format-int.h
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-int.h
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-int.h')
-rw-r--r--src/format/exe_format-int.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/format/exe_format-int.h b/src/format/exe_format-int.h
index a8333de..b437087 100644
--- a/src/format/exe_format-int.h
+++ b/src/format/exe_format-int.h
@@ -32,6 +32,10 @@
/* Recherche une section donnée au sein de binaire. */
typedef bool (* find_section_fc) (const exe_format *, const char *, off_t *, off_t *, uint64_t *);
+/* Récupère tous les symboles présents dans le contenu binaire. */
+typedef size_t (* get_symbols_fc) (const exe_format *, char ***, SymbolType **, uint64_t **);
+
+
/* Support générique d'un format d'exécutable */
@@ -41,6 +45,7 @@ struct _exe_format
off_t length; /* Taille de ce contenu */
find_section_fc find_section; /* Recherche d'une section */
+ get_symbols_fc get_symbols; /* Liste des symboles présents */
};