summaryrefslogtreecommitdiff
path: root/src/format/executable-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/executable-int.h')
-rw-r--r--src/format/executable-int.h6
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) */