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
37c7d77e76
x86: print mem pointer reference in lowercase
11 years ago
Nguyen Anh Quynh
b2dc054a5f
BSD platforms are supported
11 years ago
Nguyen Anh Quynh
f74bebf53f
update COMPILE & README for FreeBSD support
11 years ago
Nguyen Anh Quynh
5ee165be08
Merge branch 'master' of https://github.com/aquynh/capstone
11 years ago
Nguyen Anh Quynh
0427122ced
add information on static lib installation into COMPILE
11 years ago
Nguyen Anh Quynh
a253c7a8e8
x86: map EFLAGS to string of 'flags', 'eflags' or 'rflags' depending on current CS_MODE
11 years ago
Nguyen Anh Quynh
bdaf3b5089
x86: delete useless constant values assigned for instructions in x86.h
11 years ago
Nguyen Anh Quynh
80ff30b977
Makefile: use PKGCFGF for capstone.pc
11 years ago
Nguyen Anh Quynh
858546992f
Merge branch 'master' of https://github.com/radare/capstone into radare
11 years ago
Nguyen Anh Quynh
f5d9892f41
x86: return lowercase string for instrution name
11 years ago
Nguyen Anh Quynh
87bb421d3b
arm: return lowercase string for instrution name
11 years ago
Nguyen Anh Quynh
6677b994e7
arm: fix a wrong calculation on sign of .disp value in mem reference
11 years ago
Nguyen Anh Quynh
3ff4ccbc5b
bindings: update python & java following mips core engine
11 years ago
Nguyen Anh Quynh
162409e730
mips: upgrade core engine
11 years ago
Nguyen Anh Quynh
bac111c257
bindings: update python & java following arm64 update
11 years ago
Nguyen Anh Quynh
731bf2a714
arm64: update core engine
11 years ago
pancake
ca9f1b215b
Makefile refactoring to fix 'make install' build of lib
11 years ago
Nguyen Anh Quynh
dcde7e7e70
python: replace op_index() with op_find(), which straightly returns the desired operand rather than its cumbersome index
11 years ago
Nguyen Anh Quynh
f1618bc2ee
python: add error message to CsError and modify all tests to use CsError exception
11 years ago
Nguyen Anh Quynh
73a6dba6c2
python: commented out the printout of @bytes , so 'make tests' doesnt complain anymore
11 years ago
Nguyen Anh Quynh
db048ab1c1
python: reimplement cs_op_count(), cs_op_index() & cs_insn_group() in python, so no need to save instruction raw data anymore
11 years ago
Nguyen Anh Quynh
9b542643ac
Merge branch 'cserror'
11 years ago
Nguyen Anh Quynh
cdf41b017d
python: delete dead code
11 years ago
Nguyen Anh Quynh
e099ede6c5
Fix Python bindings:
...
- No more use generator to return instruction list
- Delete redundant Mips consts in mips.py
- Revert the last wrong change on ctypes prototype of cs_disasm_dyn(): it is wrong to use c_char_p
11 years ago
Nguyen Anh Quynh
af9bf6f3fb
Merge pull request #25 from danghvu/master
...
Update Java binding to reflect the new API
11 years ago
Nguyen Anh Quynh
520c3615b6
rename python classes and using exception for error
...
- rename class cs to Cs, cs_insn to CsInsn
- throw CsError exception to handle cs_errno()
- fix all test*.py code to reflect above changes
11 years ago
Nguyen Anh Quynh
9f523d1699
mips: properly map alias instruction back to public id. this fixes the crash reported by Pancake
11 years ago
Nguyen Anh Quynh
fe8030bdf0
update errno in cs_option() upon failure with CS_ERR_OPTION
11 years ago
danghvu
486111c52d
Update Makefile to be able to test each binding individually
11 years ago
danghvu
0500691eb3
Update Java binding with cs_option
11 years ago
Nguyen Anh Quynh
74d95ab04f
python: minor fix for setup.py
11 years ago
Nguyen Anh Quynh
b4ce38355a
x86: map xstorerng alias instruction back to xstore. bug reported by Nicolas Ruff
11 years ago
Nguyen Anh Quynh
4649071e2d
python: add ERR_OPTION, and use @syntax setter/getter rather than option() method to set X86 syntax
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
f9e3216568
x86: on mem reference, put scale after index register to be consistent with Intel style
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
3829415ce6
HACK
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
7f36d26245
more notes for HACK
11 years ago
Nguyen Anh Quynh
64f5033ceb
CREDITS.TXT
11 years ago
Nguyen Anh Quynh
4d70daf83d
note that Intel is default syntax
11 years ago
Nguyen Anh Quynh
d912f91390
add a newline between constant types in autogen constants
11 years ago
Nguyen Anh Quynh
a2f825ff07
support comments in autogen files, so constant files are more friendly
11 years ago
Nguyen Anh Quynh
26a43715d9
bump API to 1.7 due to the addition of @bytes to cs_insn
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
Nguyen Anh Quynh
c45b1588ef
Merge branch 'master' of https://github.com/joxeankoret/capstone into hexcode
11 years ago
Nguyen Anh Quynh
c9b6aa1547
python: use c_char_p rather than POINTER(c_char) on prototype of cs_disasm_dyn()
11 years ago