diff options
Diffstat (limited to 'src/format/executable-int.h')
-rw-r--r-- | src/format/executable-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/format/executable-int.h b/src/format/executable-int.h index 8a5f197..64050e3 100644 --- a/src/format/executable-int.h +++ b/src/format/executable-int.h @@ -35,6 +35,9 @@ /* Indique le type d'architecture visée par le format. */ typedef const char * (* get_target_machine_fc) (const GExeFormat *); +/* Fournit l'adresse principale associée à un format. */ +typedef bool (* get_main_addr_fc) (GExeFormat *, vmpa2t *); + /* Etend la définition des portions au sein d'un binaire. */ typedef void (* refine_portions_fc) (GExeFormat *); @@ -68,6 +71,7 @@ struct _GExeFormatClass GBinFormatClass parent; /* A laisser en premier */ get_target_machine_fc get_machine; /* Architecture ciblée */ + get_main_addr_fc get_main_addr; /* Obtention d'adresse première*/ refine_portions_fc refine_portions; /* Décrit les portions binaires*/ translate_phys_fc translate_phys; /* Correspondance phys -> vmpa */ |