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
|
842457e079
|
update README
|
11 years ago |
Nguyen Anh Quynh
|
db3c00c0ff
|
consider tab as delimiter char in asm bufffer in fill_insn()
|
11 years ago |
Nguyen Anh Quynh
|
a8cef7e5e8
|
python: fix an use-after-free issue. bug reported by Luis Miras
|
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
|
21e5c0439e
|
Merge branch 'next' into fast
|
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
|
12f93cba5e
|
use malloc() rather than calloc() for handle->insn_cache in make_id2insn()
|
11 years ago |
Nguyen Anh Quynh
|
c88d9929ae
|
cs_disasm_ex(): properly calculate insn_cache when reallocating total variable
|
11 years ago |
Nguyen Anh Quynh
|
ee5839420d
|
cs_disasm_ex(): avoid multiple memcpy() by allocating memory for total, then directly work on that instead of using static array insn_cache[]
|
11 years ago |
Nguyen Anh Quynh
|
5329a6ffd4
|
directly update cs_insn from MCInst interface to avoid multiple memcpy()
|
11 years ago |
Nguyen Anh Quynh
|
7566a2d9dd
|
copy mnemonic in the same loop of searching for mnemonic/opstring delimiter
|
11 years ago |
Nguyen Anh Quynh
|
07e84a2094
|
do not need to verify handle->insn_id in fill_insn()
|
11 years ago |
Nguyen Anh Quynh
|
6ddd715fac
|
we have to consider \t in input buffer of fill_insn()
|
11 years ago |
Nguyen Anh Quynh
|
f8ea346310
|
properly copy buffer to op_str
|
11 years ago |
Nguyen Anh Quynh
|
177dd9b223
|
simplify fill_insn(): do not check for \t in asm buffer
|
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
|
df1acfd106
|
nullify cs_insn.detail when detail is OFF
|
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 |
Nguyen Anh Quynh
|
e96dc63f28
|
Merge pull request #144 from schwoop/next
Fix for GCC MIPS toolchain
|
11 years ago |
schwoop
|
8a26bd36d5
|
Fix for GCC MIPS toolchain
|
11 years ago |
Nguyen Anh Quynh
|
99e69e1868
|
remove a redundant call to memset() in cs_disasm_ex()
|
11 years ago |
Nguyen Anh Quynh
|
0ad226e332
|
x86: fix a conflict when merging -next to -optimize branch
|
11 years ago |
Nguyen Anh Quynh
|
cf0813809a
|
x86: more simplification on managing MCOperand. this also fixes a bug in handling memory reference instructions
|
11 years ago |
Nguyen Anh Quynh
|
0e534bf0ff
|
x86: correct the related comment of the last commit
|
11 years ago |
Nguyen Anh Quynh
|
9417ad6cd5
|
x86: printDstIdx() should only print segment in non-64bit mode. bug reported by Filipe Cabecinhas (@filcab)
|
11 years ago |
Nguyen Anh Quynh
|
e70a043a04
|
x86: more simplification for better performance
|
11 years ago |
Nguyen Anh Quynh
|
937e48314c
|
x86: avoid malloc/free MCOperand with new API of MCInst: MCInst_addOperand0, MCInst_CreateReg0, MCInst_CreateImm0
|
11 years ago |
Nguyen Anh Quynh
|
a62b9a07e4
|
x86: use SStream_concat0() where possible to improve performance - for AT&T and X86_REDUCE
|
11 years ago |
Nguyen Anh Quynh
|
4aacbea1b6
|
Merge branch 'next' into cmake2
|
11 years ago |