summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/formats.c5
-rw-r--r--src/core/processors.c9
2 files changed, 2 insertions, 12 deletions
diff --git a/src/core/formats.c b/src/core/formats.c
index 0e1e8e7..35d8a46 100644
--- a/src/core/formats.c
+++ b/src/core/formats.c
@@ -29,7 +29,6 @@
#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,14 +194,10 @@ 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);
/* 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);
diff --git a/src/core/processors.c b/src/core/processors.c
index dfe74fb..661374e 100644
--- a/src/core/processors.c
+++ b/src/core/processors.c
@@ -31,8 +31,6 @@
#include "../arch/arm/v7/core.h"
#include "../arch/arm/v7/processor.h"
-#include "../arch/dalvik/core.h"
-#include "../arch/dalvik/processor.h"
//#include "../arch/jvm/processor.h"
@@ -90,7 +88,8 @@ bool register_processor_type(const char *key, const char *name, GType instance,
result = (new == NULL);
- result &= init();
+ if (init != NULL)
+ result &= init();
if (result)
{
@@ -137,10 +136,6 @@ bool load_hard_coded_processors_definitions(void)
result = register_processor_type("armv7", "ARM v7", G_TYPE_ARMV7_PROCESSOR,
init_armv7_core, exit_armv7_core);
- if (result)
- result = register_processor_type("dalvik", "Dalvik Virtual Machine", G_TYPE_DALVIK_PROCESSOR,
- init_dalvik_core, exit_dalvik_core);
-
//result &= register_processor_type("jvm", "Java Virtual Machine", G_TYPE_JVM_PROCESSOR);
return result;