Nguyen Anh Quynh
|
46a5afd810
|
add comment to clarify which information in cs_insn is available when CS_OPT_DETAIL = OFF
|
11 years ago |
Nguyen Anh Quynh
|
4994c587ad
|
bindings: support new 'detail' option for java & python
|
11 years ago |
Nguyen Anh Quynh
|
4d3e852fbb
|
detail option: provide instruction id even when detail option is OFF
|
11 years ago |
Nguyen Anh Quynh
|
a209e67f8a
|
support to turn on/off building instruction details
|
11 years ago |
pancake
|
f0e4eed89d
|
Use const on all read-only buffers
|
11 years ago |
Nguyen Anh Quynh
|
ad89d25d05
|
mips: optimize Mips_map_register() to O(1). suggested by Pancake
|
11 years ago |
Nguyen Anh Quynh
|
66f6c2283e
|
mips: fix NEGU alias instruction. bug reported by Pancake
|
11 years ago |
Nguyen Anh Quynh
|
36df4bb6a7
|
revert the cs_version() API
|
11 years ago |
Nguyen Anh Quynh
|
bb64b0bdca
|
more API version to capstone.h, and remove cs_version(). reset API back to 1.0 for public release
|
11 years ago |
Nguyen Anh Quynh
|
bdaf3b5089
|
x86: delete useless constant values assigned for instructions in x86.h
|
11 years ago |
Nguyen Anh Quynh
|
162409e730
|
mips: upgrade core engine
|
11 years ago |
Nguyen Anh Quynh
|
731bf2a714
|
arm64: update core engine
|
11 years ago |
Nguyen Anh Quynh
|
041e25dd66
|
add CS_ERR_OPTION type. cs_option() returns this error code on invalid option
|
11 years ago |
Nguyen Anh Quynh
|
a236902656
|
fix CS_INSN_OFFSET: calculate offset based on the address of related instruction only
|
11 years ago |
Nguyen Anh Quynh
|
a84d747f7c
|
fix typo in CS_INSN_OFFSET
|
11 years ago |
Nguyen Anh Quynh
|
bb5460348b
|
add CS_INSN_OFFSET macro, so we can easily calculate offset of one insn, given its position in its array
|
11 years ago |
Nguyen Anh Quynh
|
4d70daf83d
|
note that Intel is default syntax
|
11 years ago |
Nguyen Anh Quynh
|
a2f825ff07
|
support comments in autogen files, so constant files are more friendly
|
11 years ago |
Nguyen Anh Quynh
|
79976c1370
|
fix some comments in capstone.h
|
11 years ago |
Nguyen Anh Quynh
|
8f13f3c6ab
|
rename @hex_code to @bytes, and move it to next to @size
|
11 years ago |
Joxean
|
367a4df66f
|
Partially reverted previous commit
I added mistakenly various local-only changes.
|
11 years ago |
Joxean
|
114df0ef2a
|
Added @hex_code member
It's used to retrieve the bytes of the instruction.
|
11 years ago |
Nguyen Anh Quynh
|
f8db76ab94
|
arm64: correct value of ARM64_SFT_ROR
|
11 years ago |
Nguyen Anh Quynh
|
ea5b79d058
|
move some alias registers around to after REG_MAX. this seems to fix some issues of clang, which struggles with enum that assign value from other enum
|
11 years ago |
Nguyen Anh Quynh
|
b39ef0bfa6
|
arm: added some alias registers
|
11 years ago |
Nguyen Anh Quynh
|
da8adaded2
|
API cs_option(): @value now has size_t, so mapping opaque pointer is possible for future options
|
11 years ago |
Nguyen Anh Quynh
|
c618db4473
|
change option names for cs_option(), and update python binding accordingly to support new cs_option()
|
11 years ago |
Nguyen Anh Quynh
|
b8ce68ec05
|
change cs_option() API to be more flexible with option value
|
11 years ago |
Nguyen Anh Quynh
|
01aba002e3
|
add cs_option() API. move ATT & Intel syntax here, rather than having them as CS_MODE, which is wrong
|
11 years ago |
Nguyen Anh Quynh
|
612b5d23e8
|
consistently use same param name @address rather than @offset in all cs_disasm*() API
|
11 years ago |
Nguyen Anh Quynh
|
f2a649e1ef
|
cs_insn.address also needs to be changed after the change on @offset of cs_disasm*() API
|
11 years ago |
Nguyen Anh Quynh
|
029df200b4
|
add some comments referring to cs_errno() on failure of some APIs
|
11 years ago |
Nguyen Anh Quynh
|
f35e2ad35c
|
add @regs_read_count, @regs_write_count, @groups_count to @cs_insn. bump API to 1.4
|
11 years ago |
pancake
|
c04f873791
|
Use uint64_t instead of size_t for addresses
|
11 years ago |
Nguyen Anh Quynh
|
3582bc1b9b
|
arm64: ARM64_GRP_JUMP is in the wrong place. move it to its place and also clarify some GRP comments
|
11 years ago |
Nguyen Anh Quynh
|
ec0ed8ee94
|
semantics: add insn group JUMP, so now we can check if this insn is branching
|
11 years ago |
Nguyen Anh Quynh
|
173ed2b1cb
|
arm: upgrade core engine
|
11 years ago |
Nguyen Anh Quynh
|
3640f3cc73
|
clarify in capstone.h that no API accepts CS_ARCH_* as handle anymore
|
11 years ago |
Nguyen Anh Quynh
|
36d143b6d0
|
x86: update core engine
|
11 years ago |
Nguyen Anh Quynh
|
6b9b6647c1
|
arm64: support more alias insn
|
11 years ago |
Nguyen Anh Quynh
|
6b7abe3c81
|
arm64: handle alias insn in a better way, and add support for MNEG. bug reported by Patroklos Argyroudis
|
11 years ago |
Nguyen Anh Quynh
|
f1656de40a
|
reduce the size of @operands for arm & arm64
|
11 years ago |
Nguyen Anh Quynh
|
90acea3530
|
fix arm64_op_mem & arm64_op_type structures: int32_t is enough for imm & disp
|
11 years ago |
Nguyen Anh Quynh
|
b42a657873
|
change cs_disasm() and cs_disasm_dyn() to be portable API. fix related code using these API
|
11 years ago |
Nguyen Anh Quynh
|
26ee41aa67
|
initial import
|
11 years ago |