Nguyen Anh Quynh
b3e26fdaa6
x86: add prefix constant REPE
10 years ago
Nguyen Anh Quynh
706b808af3
arm: add lshift field to arm_op_mem to provide left-shift value for index register in some memory op. issue reported by @jabba2989
10 years ago
Nguyen Anh Quynh
61ab00718a
x86: remove dead code & dead SSE_CC constants. issue reported by Coverity
10 years ago
Nguyen Anh Quynh
1038fdb038
x86: add new registers DR8-DR15
10 years ago
Nguyen Anh Quynh
59c72afe7a
x86: add 3 new undocumented instructions fdisi8087_nop, feni8087_nop & ffreep
10 years ago
Nguyen Anh Quynh
534b948661
bump version to 4.0
10 years ago
Nguyen Anh Quynh
56128da515
arm64: for operand type IMM, value should have the type int64_t, not int32_t. all bindings should be fixed
10 years ago
Nguyen Anh Quynh
a7b06fda6e
capstone.h: add comments on some hardware modes
10 years ago
Nguyen Anh Quynh
84df600944
tests: update Mips modes to CS_MODE_MIPS32 & CS_MODE_MIPS64
10 years ago
Nguyen Anh Quynh
d3f0373ed1
add CS_MODE_MIPS32 & CS_MODE_MIPS64. these modes are aliases of CS_MODE_32 & CS_MODE_64, so no old code is broken
10 years ago
Nguyen Anh Quynh
cc60d10940
mips: add comments on mips32 & mips64 to capstone.h
10 years ago
Nguyen Anh Quynh
753f44a6b7
capstone.h: add comment for CS_ARCH_ALL
10 years ago
Nguyen Anh Quynh
8cdafda551
arm: add new field mem_barrier to cs_arm struct. this requires changes in bindings
10 years ago
Nguyen Anh Quynh
c942f22a09
arm: support new mode CS_MODE_V8 for Armv8 A32 encodings
10 years ago
Nguyen Anh Quynh
3ab509192a
use common instruction groups across all architectures. this adds cs_group_type to capstone.h. suggestion by @zneak
10 years ago
Nguyen Anh Quynh
c58e704517
do not need to explicitly assign values for operand types in the last commit
10 years ago
Nguyen Anh Quynh
21ac056728
use common operand types across all architectures. this adds cs_op_type to capstone.h. suggestion by @zneak
10 years ago
Nguyen Anh Quynh
a18abdd178
capstone.h: coding style
10 years ago
Nguyen Anh Quynh
024e55ebeb
capstone.h: add notes on cs_disasm() vs cs_disasm_iter()
10 years ago
Nguyen Anh Quynh
de65619fa8
x86: add prefix constants X86_PREFIX_*. suggested by Pancake
10 years ago
Nguyen Anh Quynh
85cfb1839c
x86: get rid of redundant X86_INS_LOCK/REP/RENE. issue reported by Pancake
10 years ago
Nguyen Anh Quynh
aeaff79290
ppc: change type of ppc_op_crx.cond type to ppc_bc
10 years ago
Nguyen Anh Quynh
fcc5673070
ppc.h: add a comment for ppc_op_crx
10 years ago
kratolp
5c0d9a4ade
Add '4*cri+cond' to operand list
10 years ago
Nguyen Anh Quynh
c41da15017
capstone.h: change cs_disasm to cs_disasm_iter in some places
10 years ago
Jay Oster
79e253c516
Remove CS_MODE_N64
...
- This mode is for the so-called MIPS "N64" ABI; it has nothing to do with the Nintendo 64 game platform.
- N64, O64, et al. are just different ABIs for the 64-bit MIPS architecture, so we replace CS_MODE_N64 with the existing CS_MODE_64
10 years ago
Nguyen Anh Quynh
2c8b2627d1
capstone.h: document that for instruction or when detail mode is OFF, the detail pointer is irrelevant, regardless of its value
10 years ago
Nguyen Anh Quynh
fb429b1eba
capstone.h: note that in Skipdata mode, invalid instruction has id = 0
10 years ago
Nguyen Anh Quynh
ff2939a23c
capstone.h: refer to sample code for skipdata option & cs_disasm_iter API
10 years ago
Nguyen Anh Quynh
801ce2b893
detail pointer is irrelevant when in skipdata mode
10 years ago
Nguyen Anh Quynh
542a540360
refine instructions of cs_free() to reflect the newly added API cs_malloc()
10 years ago
Nguyen Anh Quynh
5cb3d6401e
refine some API instructions for capstone.h
10 years ago
Nguyen Anh Quynh
43efc45fb8
code style
10 years ago
Nguyen Anh Quynh
0a2eca7c6c
modify API cs_disasm_iter() and add new API cs_malloc(). also adds sample code test_iter.c
10 years ago
Nguyen Anh Quynh
c64d6292fc
mips: remove MIPS_REG_PC register. reviewed by Jay Oster
10 years ago
Nguyen Anh Quynh
8fb2eab459
arm: some operands can get subtracted from base register, thus have '-' sign associated. this adds subtracted field into cs_arm_op to provide this info. issue reported by Yegor Derevenets
10 years ago
hlide
993f362ad8
New API: cs_disasm_iter
10 years ago
Nguyen Anh Quynh
d7e42b7d36
rename all the constants marking ending from _MAX to _ENDING. this also updates Java/Python/Ocaml bindings accordingly
10 years ago
Nguyen Anh Quynh
aa58f7fca5
typo fix for capstone.h
10 years ago
Nguyen Anh Quynh
acbafc6d75
ocaml/python/java: fix some broken arm64 constants generated by const_generator.py
10 years ago
Nguyen Anh Quynh
54f8cef449
mips: add JR.HB & JALR.HB instructions. also update Ocaml/Python/Java bindings
10 years ago
Nguyen Anh Quynh
5691dd4637
mips: fixed & added new instructions. also updated Ocaml/Python/Java bindings
10 years ago
Nguyen Anh Quynh
7e57e79800
ppc: handle branch condition for alias instructions. this also updates Python & Java bindings
10 years ago
Nguyen Anh Quynh
1738a3e6bf
sparc: handle some alias instructions & more details for some special instructions. update Python & Java bindings accordingly with new instructions & registers
10 years ago
Nguyen Anh Quynh
eaecfa4925
ppc: add PPC_INS_BNE for alias instruction BNE
10 years ago
Nguyen Anh Quynh
2c425fcbe2
correct an incorrect comment on default value of skipdata mnem: .db -> .byte. bug reported by Ben Nagy
10 years ago
Nguyen Anh Quynh
721d07f6b2
ppc: support alias instructions. update Python & Java bindings accordingly
10 years ago
Nguyen Anh Quynh
04d9f8ee17
arm: update core with a lot more details provided in detail mode now. update Python & Java bindings to reflect the core's changes
10 years ago
Nguyen Anh Quynh
4f0d7048cd
arm64: vector_index = 0 is valid. this changed invalid value of vector_index to -1
10 years ago
Nguyen Anh Quynh
0beb0d494b
api: get back the old API cs_disasm() & mark cs_disasm_ex() deprecated. cs_disasm_ex() will be removed in the future
10 years ago