summaryrefslogtreecommitdiff
path: root/src/core/formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/formats.c')
-rw-r--r--src/core/formats.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/formats.c b/src/core/formats.c
index 1326fc4..5543331 100644
--- a/src/core/formats.c
+++ b/src/core/formats.c
@@ -29,6 +29,7 @@
#include <string.h>
+#include "../format/dex/dex.h"
#include "../format/dwarf/dwarf.h"
#include "../format/dwarf/v2/dwarf.h"
#include "../format/dwarf/v3/dwarf.h"
@@ -195,12 +196,16 @@ bool load_hard_coded_formats_definitions(void)
/* Détections */
+ result &= register_format_matcher(dex_is_matching, NULL);
+
result &= register_format_matcher(dwarf_is_matching, NULL);
result &= register_format_matcher(elf_is_matching, NULL);
/* Chargements */
+ result &= register_format_loader("dex", "Dalvik Executable format", g_dex_format_new);
+
result &= register_format_loader("dwarf_v2", "Debugging With Arbitrary Record Formats (v2)",
g_dwarfv2_format_new);