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
Yegor Derevenets
ced9d24e35
Workaround missing <inttypes.h> on MSVC 2010
2014-09-21 17:27:11 +02:00
Nguyen Anh Quynh
7e57e79800
ppc: handle branch condition for alias instructions. this also updates Python & Java bindings
2014-09-21 13:04:50 +08:00
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
2014-09-01 23:27:24 +08:00
Nguyen Anh Quynh
4f0d7048cd
arm64: vector_index = 0 is valid. this changed invalid value of vector_index to -1
2014-08-29 15:11:23 +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
Mr. eXoDia
9be1f93f88
fixed warnings in MSVC x64 compilation
2014-08-26 23:51:12 +08:00
Nguyen Anh Quynh
5166236e1c
python: update after the latest changes in the core on arm64
2014-08-25 17:28:34 +08:00
Nguyen Anh Quynh
46a74e53b7
arm64: update core. this added a lot more details to cs_arm64_op struct
2014-08-25 16:47:12 +08:00
Nguyen Anh Quynh
0df7e93a3c
Change the prototype of the callback in SKIPDATA option. Suggested by Ben Nagy.
...
Original prototype:
typedef size_t (*cs_skipdata_cb_t)(const uint8_t *code, uint64_t offset, void* user_data);
Now we add @code_size argument to reflect the size of the input buffer @code.
Also, we change the data type of @offset to size_t because this argument indicates the
distance from currently examining bytes to @code, but not the address of the byte.
typedef size_t (*cs_skipdata_cb_t)(const uint8_t *code, size_t code_size, size_t offset, void* user_data);
2014-07-10 15:42:16 +08:00
Nguyen Anh Quynh
faf368b656
Merge branch 'next' into opsize
2014-07-07 11:59:36 +08:00
Ole André Vadla Ravnås
ffc8aaa38a
Fix minor style inconsistency
2014-07-04 23:39:59 +02:00
Ole André Vadla Ravnås
b202b914f9
Simplify universal builds by relying on the linker to do the right thing
2014-07-04 23:38:20 +02:00
Ole André Vadla Ravnås
6583f069a7
Fix universal build support for Mac and iOS
2014-07-04 23:09:19 +02:00
Nguyen Anh Quynh
9f6ed7155a
x86: add @rex to cs_x86 struct. updated python & java binding for this change
2014-07-01 10:13:28 +08:00
Nguyen Anh Quynh
1a66fecdbc
x86: support avx_sae & avx_rm in cs_x86 struct. this also updates Python & Java bindings following the core's change
2014-06-26 12:09:15 +08:00
Nguyen Anh Quynh
92a3d4c079
x86: add AVX's zero_opmask to cs_x86_op struct. updated Python & Java bindings for this change
2014-06-25 23:10:39 +08:00
Nguyen Anh Quynh
f1ec52628e
x86: provide size for X86_OP_IMM operand. thank Gabriel Quadros for some suggestions
2014-06-25 22:03:18 +08:00
Nguyen Anh Quynh
4c5eabc32b
x86: support SSE_CC & AVX_CC in cs_x86 struct. this also updates Python & Java bindings
2014-06-24 23:50:41 +08:00
Nguyen Anh Quynh
0d716450fc
x86: add avx_bcast to cs_x86_op to support AVX512 instructions. this also updates Python & Java binding
2014-06-24 22:51:56 +08:00
Nguyen Anh Quynh
bb6440c5ef
x86: extend cs_x86.opcode to 4 bytes to contain EVEX opcode. this also updates Python binding following this interface change
2014-06-24 21:46:54 +08:00
Nguyen Anh Quynh
14ba46bfab
x86: add segment to x86_op_mem struct. this fixes a bug in generating detail for instructions with segment override. bug reported by Sean Heelan.
2014-06-24 14:32:01 +08:00
Nguyen Anh Quynh
d948dd42b8
tests/test_x86: prefix[] size is now 4, not 5
2014-06-20 13:55:24 +08:00
Nguyen Anh Quynh
1085073f8f
x86: remove disp_size, imm_size, op_size. add size to each operand. thanks Gabriel Quadros for some nice ideas
2014-06-18 12:16:24 +08:00
Nguyen Anh Quynh
8c0ab867a1
rename CCLD to LINK
2014-06-03 23:43:53 +07:00
Nguyen Anh Quynh
0936b56c54
rename libcapstone.dll to capstone.dll, libcapstone.lib to capstone.lib for Windows platform
2014-06-04 00:26:33 +08:00
Nguyen Anh Quynh
c80d840ffc
add XCore architecture
2014-05-26 23:02:48 +08:00
Nguyen Anh Quynh
2c61656d99
tests: correct the prototype of mycallback() in test_skipdata
2014-05-20 10:30:33 +08:00
danghvu
50fdc6c463
Merge with upstream
2014-05-19 21:21:03 -05:00
danghvu
69a7c2d580
Make test_skipdata performs tests by default
2014-05-19 20:52:25 -05:00
Nguyen Anh Quynh
cb2c4f90bf
test_x86: output sib_base, sib_index, sib_scale separately
2014-05-17 13:12:29 +08:00
Nguyen Anh Quynh
9389353971
tests: fix warnings caused by unused variable/function in test_skipdata.c
2014-05-15 21:04:37 +08:00
Nguyen Anh Quynh
76087d2c33
rename static library extension to .lib for cross-windows building
2014-05-14 14:53:51 +08:00
Nguyen Anh Quynh
b07523ff26
Merge branch 'next' into msvc2
2014-05-10 19:46:37 +08:00
Nguyen Anh Quynh
595386c668
do not overwrite LDFLAGS in tests/Makefile
2014-05-10 15:50:38 +08:00
Axel 0vercl0k Souchet
de2dff44a0
fixed test_skipdata.c for VS2012
2014-05-09 21:32:41 +01:00
Axel 0vercl0k Souchet
d3eb98bd34
fixed test_detail.c for VS2012
2014-05-09 21:28:07 +01:00
Axel 0vercl0k Souchet
e116c51c08
fixed test_ppc.c for VS2012
2014-05-09 21:17:02 +01:00
Axel 0vercl0k Souchet
a072459b4a
fixed test_mips.c for VS2012
2014-05-09 21:14:19 +01:00
Axel 0vercl0k Souchet
ca16d0c6ca
fixed test_arm64.c for VS2012
2014-05-09 21:11:29 +01:00
Axel 0vercl0k Souchet
6b2395f5f7
fixed test_arm.c for VS2012
2014-05-09 21:08:40 +01:00
Axel 0vercl0k Souchet
e47b8121fe
test_x86.c now works on VS2012
2014-05-09 21:03:29 +01:00
Nguyen Anh Quynh
42706a39e2
indentation with tab
2014-05-09 07:33:35 +08:00
Axel 0vercl0k Souchet
779d4c75d9
first changes to get a successfully compiled version of capstone on VS2012
2014-05-08 23:44:49 +01:00
danghvu
80c8c1f05c
Remove unneeded -fPIC in tests
2014-05-08 11:37:55 -05:00
danghvu
6150a72596
Initialize CFLAGS and LDFLAGS properly for test
2014-05-08 11:19:33 -05:00
Nguyen Anh Quynh
58a0047d43
Makefile: put common functions into functions.mk
2014-05-01 22:53:52 +08:00
Ole André Vadla Ravnås
927fcbcf88
Makefile: make it possible to avoid building static/shared library
2014-05-01 16:06:11 +02:00
Ole André Vadla Ravnås
f536d4014b
Makefile: implement a "silent rules" approach
...
The old behavior is still available through `make V=1`. This is similar
to the Linux kernel and newer versions of automake.
2014-05-01 16:06:03 +02:00
Ole André Vadla Ravnås
7a7343945d
Makefile: allow BUILDDIR
to be a relative path
2014-04-30 00:06:41 +02:00