diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-12-13 11:54:32 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-12-13 11:54:32 (GMT) |
commit | 7468875c1022337efbff78069d715672ae083150 (patch) | |
tree | 0a8e5ce9cce113506a601539c9aa0a1b4ae48680 /src/format/executable-int.h | |
parent | c6409e2c6a390a7cca40da8572c93a5268e90a27 (diff) |
Loaded and saved binary parts.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@140 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/executable-int.h')
-rw-r--r-- | src/format/executable-int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/format/executable-int.h b/src/format/executable-int.h index ca8b7d5..e4b18a4 100644 --- a/src/format/executable-int.h +++ b/src/format/executable-int.h @@ -41,6 +41,9 @@ typedef vmpa_t (* get_entry_point_fc) (const GExeFormat *); /* Fournit les références aux zones de code à analyser. */ typedef GBinPart ** (* get_parts_fc) (const GExeFormat *, size_t *); +/* Fournit l'adresse virtuelle correspondant à une position. */ +typedef bool (* translate_off_fc) (const GExeFormat *, off_t, vmpa_t *); + @@ -53,6 +56,8 @@ struct _GExeFormat get_entry_point_fc get_entry_point; /* Obtention du point d'entrée */ get_parts_fc get_parts; /* Liste des parties binaires */ + translate_off_fc translate; /* Correspondance pos -> addr */ + }; /* Format d'exécutable générique (classe) */ |