commit | a7837a4ae3e63aeb580d4306d815313e5b4e5db4 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Tue Mar 10 14:57:21 2015 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Tue Mar 10 15:20:20 2015 +0800 |
tree | 9d9618fd893242b8bf967a5394193035983b9419 | |
parent | bf97e21bb5311d637a2435347585b592acce2f21 [diff] [blame] |
sparc, systemz, xcore: getInstruction() should return boolean instead of DecodeStatus
diff --git a/arch/SystemZ/SystemZDisassembler.c b/arch/SystemZ/SystemZDisassembler.c index 454de18..e3f8563 100644 --- a/arch/SystemZ/SystemZDisassembler.c +++ b/arch/SystemZ/SystemZDisassembler.c
@@ -318,7 +318,7 @@ if (code_len < *size) // short of input data - return MCDisassembler_Fail; + return false; if (MI->flat_insn->detail) { memset(MI->flat_insn->detail, 0, sizeof(cs_detail));