Nguyen Anh Quynh
|
d392f6ef89
|
simplify code copying @mnemonic in fill_insn()
|
11 years ago |
Nguyen Anh Quynh
|
22ea683583
|
only verify x86_prefix[0] for x86 arch. bug reported by @pancake
|
11 years ago |
Guillaume Jeanne
|
58fe9716d9
|
ocaml: simplification in ocaml.c: op_count variable
|
11 years ago |
Guillaume Jeanne
|
da1c2d0d7d
|
ocaml: ppc test is working
|
11 years ago |
Guillaume Jeanne
|
e002ac7b10
|
ocaml: add support of ppc
|
11 years ago |
Guillaume Jeanne
|
2147194e1f
|
ocaml: add ppc.ml with all ppc const
|
11 years ago |
Nguyen Anh Quynh
|
ed6b8c5a96
|
x86: address-size prefix should override RIP relative address in x64 mode. bug reported by @hlide
|
11 years ago |
Nguyen Anh Quynh
|
656ebc9625
|
x86: handle RIP relative addressing in 64bit mode properly. bug reported by @hlide
|
11 years ago |
Nguyen Anh Quynh
|
af6825a480
|
Merge branch 'next' of https://github.com/aquynh/capstone into next
|
11 years ago |
Nguyen Anh Quynh
|
e9476ae696
|
update bindings/README for C++ binding
|
11 years ago |
Guillaume Jeanne
|
7ce90f1649
|
ocaml: update reg/inst/group const in x86
|
11 years ago |
Guillaume Jeanne
|
0a50980831
|
ocaml: update reg/inst/group const in mips
|
11 years ago |
Guillaume Jeanne
|
e2cb91d866
|
ocaml: update reg/inst/group const in arm
|
11 years ago |
Guillaume Jeanne
|
d157775c20
|
ocaml: update reg/inst/group const in arm64
|
11 years ago |
Nguyen Anh Quynh
|
078f833da7
|
update CREDITS.TXT
|
11 years ago |
Nguyen Anh Quynh
|
28b1f49b39
|
ocaml: update README
|
11 years ago |
Nguyen Anh Quynh
|
a3676e31b5
|
update .gitignore for Ocaml binding
|
11 years ago |
Guillaume Jeanne
|
cece24e426
|
working OCaml bindings
|
11 years ago |
Nguyen Anh Quynh
|
5a7f409dec
|
set @insn to NULL on error in cs_disasm_ex()
|
11 years ago |
Nguyen Anh Quynh
|
6c182aedcf
|
fix a memleaking issue in cs_disasm_ex() where memory was not freed when input code is illegit
|
11 years ago |
Nguyen Anh Quynh
|
cb6fc59da1
|
remove redundant return in MCInst_Init()
|
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
|
7ae389ede8
|
suite: support XCore in fuzz.py
|
11 years ago |
Nguyen Anh Quynh
|
6a5cc570cc
|
suite: support XCore in benchmark.py
|
11 years ago |
Nguyen Anh Quynh
|
73eb5d5486
|
arm: op_addImm() is called only when detail mode is ON
|
11 years ago |
Nguyen Anh Quynh
|
b287301ef4
|
bump number of operands supported by MCInst to 48. this fixes a segfault in ARM
|
11 years ago |
Nguyen Anh Quynh
|
476d5ad7a5
|
msvc: disable warning on strcpy()
|
11 years ago |
Nguyen Anh Quynh
|
cae09bf543
|
replace offset_of with offsetof from stddef.h
|
11 years ago |
Nguyen Anh Quynh
|
4fe59955d6
|
python: test_detail.py print groups with space delimiter
|
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
|
aaddb25453
|
no need to zeroout insn_cache in make_id2insn()
|
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
|
9672cd259a
|
update README
|
11 years ago |
Nguyen Anh Quynh
|
6217f36d12
|
update README
|
11 years ago |
Nguyen Anh Quynh
|
64091f77e0
|
resize total memory allocated for @insns to just the right size for cs_disasm_ex()
|
11 years ago |
Nguyen Anh Quynh
|
9cf88119fb
|
x86: InternalInstruction@xAcquireRelease should be initialized to 0 (FALSE)
|
11 years ago |
Nguyen Anh Quynh
|
fec5539f3a
|
use calloc() to zerout insn_cache in make_id2insn. this makes sure uninitialized data zero
|
11 years ago |
Nguyen Anh Quynh
|
495295ecd4
|
MCInst_Init() is arch-independent
|
11 years ago |
Nguyen Anh Quynh
|
370b7d7d4e
|
remove unused MCInst/MCOperand functions
|
11 years ago |
Nguyen Anh Quynh
|
264ca37ad8
|
MCInst_addOperand2() does not need to return value
|
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 |