diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-12-25 16:31:33 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-12-25 16:31:33 (GMT) |
commit | 19e1a97fafb1b73d0efcd995b31951daf1a5c661 (patch) | |
tree | 9cbc897ddb1d3005fb8dadfa3ad830c607acdddd /src/format/format.c | |
parent | 9cab778bfaaca2589a383445e8569d99d73374d5 (diff) |
Cleaned all the code for immediate operands.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@444 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/format.c')
-rw-r--r-- | src/format/format.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/format/format.c b/src/format/format.c index cb43a94..8e1b9f4 100644 --- a/src/format/format.c +++ b/src/format/format.c @@ -180,6 +180,25 @@ const bin_t *g_binary_format_get_content(const GBinFormat *format, off_t *length /****************************************************************************** * * +* Paramètres : format = description de l'exécutable à consulter. * +* * +* Description : Fournit l'adresse mémoire du point d'entrée d'un binaire. * +* * +* Retour : Adresse de mémoire virtuelle, voire VMPA_NO_VIRTUAL. * +* * +* Remarques : - * +* * +******************************************************************************/ + +virt_t g_binary_format_get_entry_point(const GBinFormat *format) +{ + return format->entry_point; + +} + + +/****************************************************************************** +* * * Paramètres : format = informations chargées à compléter. * * symbol = symbole à ajouter à la liste. * * * |