diff options
Diffstat (limited to 'plugins/elf/format.c')
-rw-r--r-- | plugins/elf/format.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/elf/format.c b/plugins/elf/format.c index 9e3b636..d48eef9 100644 --- a/plugins/elf/format.c +++ b/plugins/elf/format.c @@ -62,6 +62,9 @@ static void g_elf_format_finalize(GElfFormat *); /* Informe quant au boutisme utilisé. */ static SourceEndian g_elf_format_get_endianness(const GElfFormat *); +/* Réalise un traitement post-désassemblage. */ +static void g_elf_format_complete_analysis(GElfFormat *, GtkStatusStack *); + /* Indique le type d'architecture visée par le format. */ static const char *g_elf_format_get_target_machine(const GElfFormat *); @@ -157,6 +160,8 @@ static void g_elf_format_class_init(GElfFormatClass *klass) fmt->get_endian = (format_get_endian_fc)g_elf_format_get_endianness; + fmt->complete = (format_complete_analysis_fc)g_elf_format_complete_analysis; + exe = G_EXE_FORMAT_CLASS(klass); exe->get_machine = (get_target_machine_fc)g_elf_format_get_target_machine; @@ -340,6 +345,26 @@ static SourceEndian g_elf_format_get_endianness(const GElfFormat *format) /****************************************************************************** * * +* Paramètres : format = description de l'exécutable à manipuler. * +* status = barre de statut à tenir informée. * +* * +* Description : Réalise un traitement post-désassemblage. * +* * +* Retour : - * +* * +* Remarques : - * +* * +******************************************************************************/ + +static void g_elf_format_complete_analysis(GElfFormat *format, GtkStatusStack *status) +{ + refresh_elf_relocations(format, status); + +} + + +/****************************************************************************** +* * * Paramètres : format = informations chargées à consulter. * * * * Description : Indique le type d'architecture visée par le format. * |