summaryrefslogtreecommitdiff
path: root/src/arch/processor.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-01-12 22:10:09 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-01-12 22:10:09 (GMT)
commit2ddb5c26af896b10517a89abf0c9498c598b7697 (patch)
treeecc094327051f2b7ec5846879e31c5c13d7a9d97 /src/arch/processor.c
parent9dad150aedfae6423f1166665d47674df51014d2 (diff)
Disabled the old way to disassemble instructions.
Diffstat (limited to 'src/arch/processor.c')
-rw-r--r--src/arch/processor.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/processor.c b/src/arch/processor.c
index cb00a2d..91f9821 100644
--- a/src/arch/processor.c
+++ b/src/arch/processor.c
@@ -45,7 +45,6 @@
-#include "artificial.h"
@@ -250,6 +249,7 @@ MemoryDataSize g_arch_processor_get_instruction_size(const GArchProcessor *proc)
GArchInstruction *g_arch_processor_decode_instruction(const GArchProcessor *proc, GProcContext *ctx, const bin_t *data, off_t *pos, off_t end, vmpa_t addr, GBinFormat *format)
{
+#if 0
GArchInstruction *result; /* Instruction à renvoyer */
off_t old_pos; /* Sauvegarde de la position */
bool skipped; /* Données prise en compte ? */
@@ -276,6 +276,9 @@ GArchInstruction *g_arch_processor_decode_instruction(const GArchProcessor *proc
//g_arch_instruction_set_location(result, old_pos, *pos - old_pos, addr);
return result;
+#endif
+
+ return NULL;
}