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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/format/executable-int.h b/src/format/executable-int.h
index bb46248..704466e 100644
--- a/src/format/executable-int.h
+++ b/src/format/executable-int.h
@@ -52,6 +52,9 @@ typedef bool (* translate_phys_fc) (const GExeFormat *, phys_t, vmpa2t *);
/* Fournit l'emplacement correspondant à une adresse virtuelle. */
typedef bool (* translate_virt_fc) (const GExeFormat *, virt_t, vmpa2t *);
+/* Fournit l'emplacement d'une section donnée. */
+typedef bool (* get_range_by_name_fc) (const GExeFormat *, const char *, mrange_t *);
+
/* Format d'exécutable générique (instance) */
@@ -77,6 +80,8 @@ struct _GExeFormatClass
translate_phys_fc translate_phys; /* Correspondance phys -> vmpa */
translate_virt_fc translate_virt; /* Correspondance virt -> vmpa */
+ get_range_by_name_fc get_range_by_name; /* Emplacement de sections */
+
};