diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-08-31 15:56:10 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-08-31 15:56:10 (GMT) |
commit | ed4bb73e5d68c1f81b8e0c3210aa221ec6f2675b (patch) | |
tree | 006a4641fc7a5c820d6a4253ff75e79ef01e368b /src/format/executable-int.h | |
parent | 4658d4fa406bad4abe36a76746412cf02c984af0 (diff) |
Loaded a binary strip into the editor.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@358 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/executable-int.h')
-rw-r--r-- | src/format/executable-int.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/format/executable-int.h b/src/format/executable-int.h index 49b5275..6b843a5 100644 --- a/src/format/executable-int.h +++ b/src/format/executable-int.h @@ -38,6 +38,9 @@ typedef FormatTargetMachine (* get_target_machine_fc) (const GExeFormat *); /* Fournit l'adresse mémoire du point d'entrée du programme. */ typedef vmpa_t (* get_entry_point_fc) (const GExeFormat *); +/* Etend la définition des portions au sein d'un binaire. */ +typedef void (* refine_portions_fc) (const GExeFormat *, GBinPortion *); + /* Fournit les références aux zones de code à analyser. */ typedef GBinPart ** (* get_parts_fc) (const GExeFormat *, size_t *); @@ -57,11 +60,14 @@ struct _GExeFormat get_target_machine_fc get_machine; /* Architecture ciblée */ get_entry_point_fc get_entry_point; /* Obtention du point d'entrée */ + refine_portions_fc refine_portions; /* Décrit les portions binaires*/ get_parts_fc get_parts; /* Liste des parties binaires */ translate_addr_fc translate_addr; /* Correspondance addr -> pos */ translate_off_fc translate_off; /* Correspondance pos -> addr */ + GBinPortion *portions; /* Morceaux binaires distincts */ + }; /* Format d'exécutable générique (classe) */ |