Nguyen Anh Quynh
54f8cef449
mips: add JR.HB & JALR.HB instructions. also update Ocaml/Python/Java bindings
10 years ago
Yegor Derevenets
ced9d24e35
Workaround missing <inttypes.h> on MSVC 2010
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
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
Mr. eXoDia
9be1f93f88
fixed warnings in MSVC x64 compilation
10 years ago
Nguyen Anh Quynh
5166236e1c
python: update after the latest changes in the core on arm64
10 years ago
Nguyen Anh Quynh
46a74e53b7
arm64: update core. this added a lot more details to cs_arm64_op struct
10 years ago
Nguyen Anh Quynh
027afdc179
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);
11 years ago
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);
11 years ago
Ole André Vadla Ravnås
ffc8aaa38a
Fix minor style inconsistency
11 years ago
Ole André Vadla Ravnås
b202b914f9
Simplify universal builds by relying on the linker to do the right thing
11 years ago
Ole André Vadla Ravnås
6583f069a7
Fix universal build support for Mac and iOS
11 years ago
Nguyen Anh Quynh
9f6ed7155a
x86: add @rex to cs_x86 struct. updated python & java binding for this change
11 years ago
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
11 years ago
Nguyen Anh Quynh
92a3d4c079
x86: add AVX's zero_opmask to cs_x86_op struct. updated Python & Java bindings for this change
11 years ago
Nguyen Anh Quynh
f1ec52628e
x86: provide size for X86_OP_IMM operand. thank Gabriel Quadros for some suggestions
11 years ago
Nguyen Anh Quynh
4c5eabc32b
x86: support SSE_CC & AVX_CC in cs_x86 struct. this also updates Python & Java bindings
11 years ago
Nguyen Anh Quynh
0d716450fc
x86: add avx_bcast to cs_x86_op to support AVX512 instructions. this also updates Python & Java binding
11 years ago
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
11 years ago
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.
11 years ago
Nguyen Anh Quynh
d948dd42b8
tests/test_x86: prefix[] size is now 4, not 5
11 years ago
Nguyen Anh Quynh
1085073f8f
x86: remove disp_size, imm_size, op_size. add size to each operand. thanks Gabriel Quadros for some nice ideas
11 years ago
Nguyen Anh Quynh
8c0ab867a1
rename CCLD to LINK
11 years ago
Nguyen Anh Quynh
0936b56c54
rename libcapstone.dll to capstone.dll, libcapstone.lib to capstone.lib for Windows platform
11 years ago
Nguyen Anh Quynh
c80d840ffc
add XCore architecture
11 years ago
Nguyen Anh Quynh
2c61656d99
tests: correct the prototype of mycallback() in test_skipdata
11 years ago
danghvu
69a7c2d580
Make test_skipdata performs tests by default
11 years ago
Nguyen Anh Quynh
cb2c4f90bf
test_x86: output sib_base, sib_index, sib_scale separately
11 years ago
Nguyen Anh Quynh
9389353971
tests: fix warnings caused by unused variable/function in test_skipdata.c
11 years ago
Nguyen Anh Quynh
76087d2c33
rename static library extension to .lib for cross-windows building
11 years ago
Nguyen Anh Quynh
595386c668
do not overwrite LDFLAGS in tests/Makefile
11 years ago
Axel 0vercl0k Souchet
de2dff44a0
fixed test_skipdata.c for VS2012
11 years ago
Axel 0vercl0k Souchet
d3eb98bd34
fixed test_detail.c for VS2012
11 years ago
Axel 0vercl0k Souchet
e116c51c08
fixed test_ppc.c for VS2012
11 years ago
Axel 0vercl0k Souchet
a072459b4a
fixed test_mips.c for VS2012
11 years ago
Axel 0vercl0k Souchet
ca16d0c6ca
fixed test_arm64.c for VS2012
11 years ago
Axel 0vercl0k Souchet
6b2395f5f7
fixed test_arm.c for VS2012
11 years ago
Axel 0vercl0k Souchet
e47b8121fe
test_x86.c now works on VS2012
11 years ago
Nguyen Anh Quynh
42706a39e2
indentation with tab
11 years ago
Axel 0vercl0k Souchet
779d4c75d9
first changes to get a successfully compiled version of capstone on VS2012
11 years ago
danghvu
80c8c1f05c
Remove unneeded -fPIC in tests
11 years ago
danghvu
6150a72596
Initialize CFLAGS and LDFLAGS properly for test
11 years ago
Nguyen Anh Quynh
58a0047d43
Makefile: put common functions into functions.mk
11 years ago
Ole André Vadla Ravnås
927fcbcf88
Makefile: make it possible to avoid building static/shared library
11 years ago
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.
11 years ago
Ole André Vadla Ravnås
7a7343945d
Makefile: allow `BUILDDIR` to be a relative path
11 years ago
Ole André Vadla Ravnås
544ba8bf0b
Makefile: fix implicit rule pre-requisite
11 years ago
Ole André Vadla Ravnås
c920daff13
Makefile: fix out-of-tree build regression
...
Because `BUILDDIR` may be an absolute path.
11 years ago