From 670529b5a59cd8fbe96571640dee74a037bfcb0c Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 8 May 2011 17:35:27 +0000 Subject: [PATCH] Fixed output of the "db" class of instruction --- src/arch/i386.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/arch/i386.h b/src/arch/i386.h index bb91d41..312893e 100644 --- a/src/arch/i386.h +++ b/src/arch/i386.h @@ -533,6 +533,8 @@ static int _write_opcode(ArchPlugin * plugin, ArchInstruction * instruction) 0); switch(AO_GET_SIZE(instruction->flags) >> 3) { + case 0: + return 0; case sizeof(uint8_t): operand.value.immediate.value = instruction->opcode; break;