Nguyen Anh Quynh
fe4822c32a
Ocaml: major update
...
- support cs_option & cs_close API.
- do not turn on DETAIL mode by default.
- all test_<arch> samples turn on DETAIL mode at runtime.
- remove OO sample code in test*.ml.
- better API, so interface is natural & close to C API.
- ATT syntax support for X86 sample code.
2014-10-04 16:30:02 +08:00
Nguyen Anh Quynh
984d45068c
Makefile: add 'check' target
2014-10-01 16:42:29 +08:00
Nguyen Anh Quynh
d7e42b7d36
rename all the constants marking ending from _MAX to _ENDING. this also updates Java/Python/Ocaml bindings accordingly
2014-09-29 17:15:25 +08:00
Nguyen Anh Quynh
82354b60ba
ocaml: rename cs_disasm() back to cs_disasm_quick(), which rightly reflects its nature
2014-09-28 23:56:02 +08:00
Nguyen Anh Quynh
6dc1dd5ae0
ocaml: remove fields regs_read_count, regs_write_count, groups_count, as they can be derived from the lengths of related arrays
2014-09-27 00:40:34 +08:00
Nguyen Anh Quynh
bf23075e32
ocaml: activate test_xcore.ml's non-class test
2014-09-26 23:57:08 +08:00
Nguyen Anh Quynh
81a97c6c5c
ocaml: ocaml.c is wrongly implemented in various places. this fixes all the issues, and all test_<arch> works as expected now
2014-09-26 23:38:53 +08:00
Nguyen Anh Quynh
443af14b52
ocaml: make some calls on Store_field() in ocaml.c to be in order
2014-09-26 00:48:05 +08:00
Nguyen Anh Quynh
fbaedfbb1d
ocaml: fix an warning on test_arm64.ml
2014-09-26 00:46:26 +08:00
Nguyen Anh Quynh
77d93e9062
ocaml: update to work with v3 core
2014-09-25 23:03:36 +08:00
Nguyen Anh Quynh
acbafc6d75
ocaml/python/java: fix some broken arm64 constants generated by const_generator.py
2014-09-25 12:46:17 +08:00
Nguyen Anh Quynh
54f8cef449
mips: add JR.HB & JALR.HB instructions. also update Ocaml/Python/Java bindings
2014-09-24 22:53:54 +08:00
Nguyen Anh Quynh
5691dd4637
mips: fixed & added new instructions. also updated Ocaml/Python/Java bindings
2014-09-24 18:03:47 +08:00
Nguyen Anh Quynh
e483c6e31d
ocaml: update constants
2014-09-22 00:07:58 +08:00
Nguyen Anh Quynh
0e755cff51
Merge branch 'next' into test
2014-09-21 23:36:24 +08:00
Nguyen Anh Quynh
a22d300c57
ocaml: add missing ARM64 instructions to arm64_const.ml. also handle arithmetic operations |, << properly for Ocaml in const_generator.py
2014-09-21 23:35:00 +08:00
Nguyen Anh Quynh
586be76d73
ocaml: separate constants into separate files, which are actually autogen by const_generator.py
2014-09-21 23:23:38 +08:00
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
2014-08-27 22:55:29 +08:00
Guillaume Jeanne
ae48c97763
OCaml: add sparc, systemz and xcore
2014-08-19 14:46:06 +02:00
Guillaume Jeanne
58fe9716d9
ocaml: simplification in ocaml.c: op_count variable
2014-06-30 16:18:55 +02:00
Guillaume Jeanne
da1c2d0d7d
ocaml: ppc test is working
2014-06-30 15:59:21 +02:00
Guillaume Jeanne
e002ac7b10
ocaml: add support of ppc
2014-06-30 15:46:04 +02:00
Guillaume Jeanne
2147194e1f
ocaml: add ppc.ml with all ppc const
2014-06-30 15:19:02 +02:00
Guillaume Jeanne
7ce90f1649
ocaml: update reg/inst/group const in x86
2014-06-27 13:41:25 +02:00
Guillaume Jeanne
0a50980831
ocaml: update reg/inst/group const in mips
2014-06-27 13:39:45 +02:00
Guillaume Jeanne
e2cb91d866
ocaml: update reg/inst/group const in arm
2014-06-27 13:35:25 +02:00
Guillaume Jeanne
d157775c20
ocaml: update reg/inst/group const in arm64
2014-06-27 13:30:26 +02:00
Nguyen Anh Quynh
28b1f49b39
ocaml: update README
2014-06-26 22:29:46 +08:00
Guillaume Jeanne
cece24e426
working OCaml bindings
2014-06-26 15:35:06 +02:00
Nguyen Anh Quynh
26ee41aa67
initial import
2013-11-27 12:11:31 +08:00