summaryrefslogtreecommitdiff
path: root/src/format/exe_format-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/exe_format-int.h')
-rw-r--r--src/format/exe_format-int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/format/exe_format-int.h b/src/format/exe_format-int.h
index b437087..d1f9381 100644
--- a/src/format/exe_format-int.h
+++ b/src/format/exe_format-int.h
@@ -35,6 +35,8 @@ typedef bool (* find_section_fc) (const exe_format *, const char *, off_t *, off
/* 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 **);
+/* Recherche le symbole correspondant à une adresse. */
+typedef bool (* resolve_symbol_fc) (const exe_format *, char **, SymbolType *, uint64_t *);
@@ -46,6 +48,7 @@ struct _exe_format
find_section_fc find_section; /* Recherche d'une section */
get_symbols_fc get_symbols; /* Liste des symboles présents */
+ resolve_symbol_fc resolve_symbol; /* Recherche de symboles */
};