diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/arch/Makefile.am | 15 | ||||
-rw-r--r-- | src/arch/processor.c | 6 | ||||
-rw-r--r-- | src/format/elf/helper_x86.c | 3 |
4 files changed, 23 insertions, 8 deletions
@@ -1,5 +1,12 @@ 14-11-24 Cyrille Bagard <nocbos@gmail.com> + * src/arch/Makefile.am: + * src/arch/processor.c: + * src/format/elf/helper_x86.c: + Disable old and unsupported architectures. + +14-11-24 Cyrille Bagard <nocbos@gmail.com> + * src/analysis/binary.c: Load empty collections for all binaries. diff --git a/src/arch/Makefile.am b/src/arch/Makefile.am index 7dd51b9..1c63016 100644 --- a/src/arch/Makefile.am +++ b/src/arch/Makefile.am @@ -19,12 +19,16 @@ libarch_la_SOURCES = \ translate.h \ vmpa.h vmpa.c +# libarch_la_LIBADD = \ +# arm/libarcharm.la \ +# dalvik/libarchdalvik.la \ +# jvm/libarchjvm.la \ +# mips/libarchmips.la \ +# x86/libarchx86.la + libarch_la_LIBADD = \ arm/libarcharm.la \ - dalvik/libarchdalvik.la \ - jvm/libarchjvm.la \ - mips/libarchmips.la \ - x86/libarchx86.la + dalvik/libarchdalvik.la libarch_la_LDFLAGS = @@ -34,4 +38,5 @@ AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) -SUBDIRS = arm dalvik jvm mips x86 +#SUBDIRS = arm dalvik jvm mips x86 +SUBDIRS = arm dalvik diff --git a/src/arch/processor.c b/src/arch/processor.c index f7c8d85..2e678f6 100644 --- a/src/arch/processor.c +++ b/src/arch/processor.c @@ -333,9 +333,9 @@ bool init_all_processors(void) { _processors_list[APT_ARM] = g_armv7_processor_new(); _processors_list[APT_DALVIK] = g_dalvik_processor_new(); - _processors_list[APT_JVM] = g_jvm_processor_new(); - _processors_list[APT_MIPS] = g_mips_processor_new(); - _processors_list[APT_386] = g_x86_processor_new(); + //_processors_list[APT_JVM] = g_jvm_processor_new(); + //_processors_list[APT_MIPS] = g_mips_processor_new(); + //_processors_list[APT_386] = g_x86_processor_new(); return true; diff --git a/src/format/elf/helper_x86.c b/src/format/elf/helper_x86.c index af733a2..708a7e1 100644 --- a/src/format/elf/helper_x86.c +++ b/src/format/elf/helper_x86.c @@ -37,6 +37,9 @@ #include "../../arch/x86/instruction.h" +// Désactivation +#define g_x86_instruction_get_opcode(i) 0 + /* symbols.c : Récupère la désignation d'un symbole donné. */ extern const char *get_elf_symbol_name(GElfFormat *, const elf_shdr *, const elf_shdr *, off_t); |