diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-01-30 13:41:51 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-01-30 13:41:51 (GMT) |
commit | e873101ef61b19ddf7bf1ef9230143d0735c0fd8 (patch) | |
tree | eb5853df8e98a0e5cd7bbc3425fba01998c3a79c /src/format/executable.h | |
parent | 49fcaf9ea6dc34382ac69b3eaf803c0617b652e0 (diff) |
Extended the APIs available for formats (both native and Python).
Diffstat (limited to 'src/format/executable.h')
-rw-r--r-- | src/format/executable.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/format/executable.h b/src/format/executable.h index 293a0c0..916269b 100644 --- a/src/format/executable.h +++ b/src/format/executable.h @@ -66,6 +66,9 @@ const char *g_exe_format_get_target_machine(const GExeFormat *); /* Fournit l'adresse principale associée à un format. */ bool g_exe_format_get_main_address(GExeFormat *, vmpa2t *); +/* Enregistre une portion artificielle pour le format. */ +void g_exe_format_register_user_portion(GExeFormat *, GBinPortion *); + /* Procède à l'enregistrement d'une portion dans un format. */ void g_exe_format_include_portion(GExeFormat *, GBinPortion *, const vmpa2t *); @@ -73,7 +76,7 @@ void g_exe_format_include_portion(GExeFormat *, GBinPortion *, const vmpa2t *); GBinPortion *g_exe_format_get_portions(GExeFormat *); /* Fournit les espaces mémoires des portions exécutables. */ -mrange_t *g_exe_format_get_x_ranges(GExeFormat *format, size_t *count); +mrange_t *g_exe_format_get_x_ranges(GExeFormat *, size_t *); /* Fournit l'emplacement correspondant à une position physique. */ bool g_exe_format_translate_offset_into_vmpa(GExeFormat *, phys_t, vmpa2t *); |