diff options
Diffstat (limited to 'plugins/elf/format.c')
-rw-r--r-- | plugins/elf/format.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/elf/format.c b/plugins/elf/format.c index d41ba00..340c2c7 100644 --- a/plugins/elf/format.c +++ b/plugins/elf/format.c @@ -24,6 +24,7 @@ #include "format.h" +#include <assert.h> #include <malloc.h> #include <stddef.h> #include <stdio.h> @@ -31,6 +32,7 @@ #include <i18n.h> +#include <core/demanglers.h> #include <core/logs.h> #include <plugins/pglist.h> @@ -183,6 +185,12 @@ static void g_elf_format_class_init(GElfFormatClass *klass) static void g_elf_format_init(GElfFormat *format) { + GBinFormat *bin_format; /* Format parent à compléter */ + + bin_format = G_BIN_FORMAT(format); + + bin_format->demangler = get_compiler_demangler_for_type("itanium"); + assert(bin_format->demangler != NULL); } |