Nguyen Anh Quynh
|
12e6e31389
|
x86: rename zero_opmask of cs_x86_op to avx_zero_opmask
|
11 years ago |
Nguyen Anh Quynh
|
92a3d4c079
|
x86: add AVX's zero_opmask to cs_x86_op struct. updated Python & Java bindings for this change
|
11 years ago |
Nguyen Anh Quynh
|
f1ec52628e
|
x86: provide size for X86_OP_IMM operand. thank Gabriel Quadros for some suggestions
|
11 years ago |
Nguyen Anh Quynh
|
e1aba1703f
|
x86: fix all {cc} instructions to have correct instruction ID
|
11 years ago |
Nguyen Anh Quynh
|
4c5eabc32b
|
x86: support SSE_CC & AVX_CC in cs_x86 struct. this also updates Python & Java bindings
|
11 years ago |
Nguyen Anh Quynh
|
0d716450fc
|
x86: add avx_bcast to cs_x86_op to support AVX512 instructions. this also updates Python & Java binding
|
11 years ago |
Nguyen Anh Quynh
|
bb6440c5ef
|
x86: extend cs_x86.opcode to 4 bytes to contain EVEX opcode. this also updates Python binding following this interface change
|
11 years ago |
Nguyen Anh Quynh
|
15b746fe4f
|
x86: op_addReg() & op_addImm() only work when detail mode is ON
|
11 years ago |
Nguyen Anh Quynh
|
c74ec28691
|
x86: LEA for 16bit register should have pointer size of word, not dword. bug reported by Gabriel Quadros
|
11 years ago |
Nguyen Anh Quynh
|
14ba46bfab
|
x86: add segment to x86_op_mem struct. this fixes a bug in generating detail for instructions with segment override. bug reported by Sean Heelan.
|
11 years ago |
Nguyen Anh Quynh
|
eb2f3fb85a
|
x86: properly reset prefixPresent for prefix0/1 group
|
11 years ago |
Nguyen Anh Quynh
|
1e688d4ff9
|
x86: do not use markup in AT&T syntax
|
11 years ago |
Nguyen Anh Quynh
|
44db3c37fa
|
x86: support CS_OPT_MODE for dynamically changing mode at run-time
|
11 years ago |
Nguyen Anh Quynh
|
cff03629ac
|
arm64: assign NULL to char pointer, not zero. bug reported by Coverity
|
11 years ago |
Nguyen Anh Quynh
|
1085073f8f
|
x86: remove disp_size, imm_size, op_size. add size to each operand. thanks Gabriel Quadros for some nice ideas
|
11 years ago |
Nguyen Anh Quynh
|
73eb5d5486
|
arm: op_addImm() is called only when detail mode is ON
|
11 years ago |
Nguyen Anh Quynh
|
cae09bf543
|
replace offset_of with offsetof from stddef.h
|
11 years ago |
Nguyen Anh Quynh
|
ebe2443b9b
|
arm: some special instructions need to have numerical operand added manually in printInstruction()
|
11 years ago |
Nguyen Anh Quynh
|
eccb9da7a8
|
arm64: zeroout a whole cs_arm64 struct of MCI in *getInstruction().
|
11 years ago |
Nguyen Anh Quynh
|
73bbbb3800
|
arm: add ASRS, LSRS, VCLE, VCLT instructions. update Python & Java bindings at the same time
|
11 years ago |
Nguyen Anh Quynh
|
8693fcdc99
|
arm: correct operand setup for REG type in printAddrMode3OffsetOperand()
|
11 years ago |
Nguyen Anh Quynh
|
2a461ed422
|
arm: zeroout a whole cs_arm struct in *getInstruction(). this makes sure operand of REG type has shift type = 0 by default
|
11 years ago |
Nguyen Anh Quynh
|
9cf88119fb
|
x86: InternalInstruction@xAcquireRelease should be initialized to 0 (FALSE)
|
11 years ago |
Nguyen Anh Quynh
|
495295ecd4
|
MCInst_Init() is arch-independent
|
11 years ago |
Nguyen Anh Quynh
|
215e76b223
|
ppc: use MCInst_insert0() instead of MCInst_insert() to avoid malloc/free
|
11 years ago |
Nguyen Anh Quynh
|
d06f3d662b
|
xcore: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free
|
11 years ago |
Nguyen Anh Quynh
|
88fca42a5f
|
xcore: use SStream_concat0() instead of SStream_concat() for simple string processing whenever possible
|
11 years ago |
Nguyen Anh Quynh
|
7062988855
|
systemz: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free
|
11 years ago |
Nguyen Anh Quynh
|
bddd215099
|
systemz: use SStream_concat0() instead of SStream_concat() for simple string processing whenever possible
|
11 years ago |
Nguyen Anh Quynh
|
3d3b6cec01
|
sparc: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free
|
11 years ago |
Nguyen Anh Quynh
|
9b91de0ae3
|
sparc: use SStream_concat0() instead of SStream_concat() for simple string processing whenever possible
|
11 years ago |
Nguyen Anh Quynh
|
7f945d3655
|
ppc: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free
|
11 years ago |
Nguyen Anh Quynh
|
7f15f67544
|
ppc: use SStream_concat0() instead of SStream_concat() for simple string processing whenever possible
|
11 years ago |
Nguyen Anh Quynh
|
f08b83ddba
|
mips: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free
|
11 years ago |
Nguyen Anh Quynh
|
0c764d4a70
|
mips: use SStream_concat0() instead of SStream_concat() for simple string processing whenever possible
|
11 years ago |
Nguyen Anh Quynh
|
d489a679f4
|
arm64: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free
|
11 years ago |
Nguyen Anh Quynh
|
cbb33583b3
|
arm64: use SStream_concat0() instead of SStream_concat() for simple string processing whenever possible
|
11 years ago |
Nguyen Anh Quynh
|
9678705d57
|
arm: convert MCOperand_CreateReg() to MCOperand_CreateReg0() to avoid malloc/free
|
11 years ago |
Nguyen Anh Quynh
|
748687df46
|
arm: convert the left-over MCOperand_CreateImm to MCOperand_CreateImm0
|
11 years ago |
Nguyen Anh Quynh
|
0f648ea3e8
|
arm: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free to improve performance
|
11 years ago |
Nguyen Anh Quynh
|
8c1104b567
|
arm: do not use markup
|
11 years ago |
Nguyen Anh Quynh
|
dd9225b930
|
arm: use SStream_concat0() for SStream_concat() whereever possible for better performance
|
11 years ago |
Nguyen Anh Quynh
|
b95647d2c1
|
systemz & xcore: create details only when detail mode is ON. this fixes some crashes in tests/test
|
11 years ago |
Nguyen Anh Quynh
|
69582d71ae
|
initialize cs_insn.detail by properly zero-out right members for each arch
|
11 years ago |
Nguyen Anh Quynh
|
29fd0f6405
|
fix all the code in other non-X86 archs after the change made by commit 5329a6ffd4
|
11 years ago |
Nguyen Anh Quynh
|
5329a6ffd4
|
directly update cs_insn from MCInst interface to avoid multiple memcpy()
|
11 years ago |
Nguyen Anh Quynh
|
8cae86ccfa
|
x86: copy prefix back after updating it in X86_lockrep()
|
11 years ago |
Nguyen Anh Quynh
|
22a5a761d8
|
x86: simplify byteReader_t
|
11 years ago |
Nguyen Anh Quynh
|
30c065998b
|
optimize memset() of MCInst_Init()
|
11 years ago |
Nguyen Anh Quynh
|
5474d877b0
|
x86: optimize struct InternalInstruction for memset(). this improve performance by around 4%
|
11 years ago |