commit | ff7bba3d6d1398ace7765c74bb56d01f2a3927f5 | [log] [tgz] |
---|---|---|
author | Nguyen Anh Quynh <aquynh@gmail.com> | Mon Nov 03 16:32:06 2014 +0800 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Mon Nov 03 16:32:06 2014 +0800 |
tree | 5952aaa25fe381437174ce830ebcf967c8c7de41 | |
parent | b87f855281ba9233d2564547522e480427667c50 [diff] [blame] |
x86: print out immediate as positive number for logic arithmetic operations: AND, OR, XOR. only works for x86 Intel syntax so far. issue reported by Pancake
diff --git a/MCInst.c b/MCInst.c index cdd7a0d..ab9ded9 100644 --- a/MCInst.c +++ b/MCInst.c
@@ -14,7 +14,8 @@ { inst->OpcodePub = 0; inst->size = 0; - inst->has_imm = 0; + inst->has_imm = false; + inst->op1_size = 0; } void MCInst_clear(MCInst *inst)