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 |
Nguyen Anh Quynh
|
5519a68812
|
Makefile: fix clean targets and put all test binaries under BUILDIR/tests/
|
11 years ago |
Ole André Vadla Ravnås
|
35f937d2db
|
Adapt core build system to allow building out-of-tree
Simply define `BUILDDIR` to where you would like build output to go.
|
11 years ago |
Nguyen Anh Quynh
|
42288ac4e3
|
SKIPDATA: add 1 more argument to callback function pointing to the input buffer of cs_disasm_ex()
|
11 years ago |
Nguyen Anh Quynh
|
943cb2d71b
|
tests: add more example on customizing SKIPDATA mode to test_skipdata.c
|
11 years ago |
Nguyen Anh Quynh
|
655c7021d2
|
tests: more C89 fixes
|
11 years ago |
Nguyen Anh Quynh
|
8118bcd913
|
tests: add example code on how to rename 'data' instruction's mnemonic of SKIPDATA mode
|
11 years ago |
Nguyen Anh Quynh
|
5b556e5fcf
|
tests: C89
|
11 years ago |
Nguyen Anh Quynh
|
b64d1cf193
|
refine the comments for Skipdata sample code
|
11 years ago |
Nguyen Anh Quynh
|
2579a3fae9
|
systemz: add a missing operand for instructions involving PCRel
|
11 years ago |
Nguyen Anh Quynh
|
c82581992a
|
tests: add test_skipdata.c & do not test SKIPDATA in test.c anymore
|
11 years ago |
Nguyen Anh Quynh
|
7eff377630
|
tests: fix typo referencing X86 in test_systemz.c. bug reported by Ben Nagy
|
11 years ago |
Nguyen Anh Quynh
|
54015f45bc
|
tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON
|
11 years ago |
Nguyen Anh Quynh
|
8abb345ea9
|
tests: only compile tests for selected archs. bug reported by @osxreverser
|
11 years ago |
Nguyen Anh Quynh
|
226d7dca64
|
change API cs_close() to take pointer to handle as argument. this lets us invalidate the closed handle
|
11 years ago |
Nguyen Anh Quynh
|
491469155e
|
tests: continue to next tests rather than quit when failing to initialize a test
|
11 years ago |
Nguyen Anh Quynh
|
e4fae8723e
|
systemz: support length for Mem op
|
11 years ago |
Nguyen Anh Quynh
|
d5ef3b83b6
|
test: cleanup test.c
|
11 years ago |
Nguyen Anh Quynh
|
da1e833c8c
|
systemz: support accesss register operand
|
11 years ago |
Nguyen Anh Quynh
|
cf2f9e1c17
|
tests: fix test_systemz.c following last changes on SystemZ's Op
|
11 years ago |
Nguyen Anh Quynh
|
48a14ca4ce
|
add SystemZ arch
|
11 years ago |
Nguyen Anh Quynh
|
2ff665ad4a
|
arm: support asm syntax CS_OPT_SYNTAX_NOREGNAME to print out registers with numbers (ex: 'r11' rather than 'fp')
|
11 years ago |
Nguyen Anh Quynh
|
ea9f4b197e
|
sparc: add SparcV9 tests
|
11 years ago |
Nguyen Anh Quynh
|
78153f59bb
|
sparc: add SWAP instruction
|
11 years ago |
Nguyen Anh Quynh
|
05e27138ae
|
core: add Sparc arch
|
11 years ago |
Nguyen Anh Quynh
|
ceae16d5a9
|
tests: report error when cs_open() failure
|
11 years ago |
Nguyen Anh Quynh
|
d80cede9a3
|
last change to support BSD broke cross-comple. fix Makefile so cross-compile work again
|
11 years ago |