Alex Ionescu
b8a57fe285
Additional MSVC fixes, including to fixed tables (temporary so Quynh can see what to do).
2014-01-22 18:12:01 -08:00
Alex Ionescu
46018db884
Initial set of changes to support building with MSVC 2013. Right now there's a bunch fo assumptions in the .vcxproj file and some things are not as clean as they should be, but it does build a full build and works (at least the x86 side). The point of this initial checkpoint is to make sure that nothing breaks on the GCC side, that everyone is ok with the changes to the source (or if better fixes/typing can be done).
2014-01-22 09:45:00 -08:00
Nguyen Anh Quynh
6c5eec5ae5
minor fix for ChangeLog
2014-01-22 18:33:35 +08:00
Nguyen Anh Quynh
1ee2326ede
update Changelog
2014-01-22 18:27:39 +08:00
Nguyen Anh Quynh
33fe7b2dfc
one more fix for RELEASE_NOTES
2014-01-22 17:46:25 +08:00
Nguyen Anh Quynh
2b39eb2493
fix RELEASE_NOTES
2014-01-22 17:44:00 +08:00
Nguyen Anh Quynh
fe8ab35be9
add RELEASE_NOTES
2014-01-22 17:39:08 +08:00
Nguyen Anh Quynh
fd2814b71a
reset prev_prefix at the entry of cs_disasm_ex(). this fixes a nasty segfault bug
2014-01-22 11:04:25 +08:00
Nguyen Anh Quynh
084b3a72d7
Merge branch 'master' of https://github.com/aquynh/capstone
2014-01-22 10:39:58 +08:00
Nguyen Anh Quynh
e542c22681
suite: cleanup benchmark.py
2014-01-22 10:39:30 +08:00
Nguyen Anh Quynh
38b7bbb552
update README
2014-01-22 10:21:25 +08:00
Nguyen Anh Quynh
9919e3bbf6
update COMPILE.TXT
2014-01-22 10:17:59 +08:00
Nguyen Anh Quynh
c36ce95d4a
x86: proper calculation for the trailing instruction in total cache. issue reported by Pancake
2014-01-22 09:46:42 +08:00
Nguyen Anh Quynh
53fc5c103a
cs_open() should return error on invalid mode
2014-01-21 15:26:02 +08:00
Nguyen Anh Quynh
7ad216cb1e
correct usage instruction of make.sh
2014-01-21 14:10:05 +08:00
Nguyen Anh Quynh
b9ff3aaf19
x86: do not use non-standard strlcat & strlcpy
2014-01-21 14:00:34 +08:00
Nguyen Anh Quynh
66c8d5d7fc
suite: add test_all.sh
2014-01-21 12:02:30 +08:00
Nguyen Anh Quynh
7772d859af
x86: fix known issue with prefix by combining with previous prefix instruction. this is not perfect, but good enough for now
2014-01-21 11:49:25 +08:00
Nguyen Anh Quynh
3732725342
rename mapping.c, mapping.h, module.c to have arch prefix. suggested by Alex Ionescu
2014-01-20 09:52:05 +08:00
Nguyen Anh Quynh
dd40750aa3
change header guards to have CAPSTONE_ as prefix. suggested by Markus Elfring
2014-01-19 23:52:45 +08:00
Nguyen Anh Quynh
d68a30f4c3
x86: remove 'opaque' in the output of some instructions
2014-01-19 22:40:58 +08:00
Nguyen Anh Quynh
ceae16d5a9
tests: report error when cs_open() failure
2014-01-19 16:04:23 +08:00
Nguyen Anh Quynh
c272e9d000
do not use constructor to enable archs, so code is more portable. suggested by Alex Ionescu
2014-01-19 12:03:22 +08:00
Nguyen Anh Quynh
a580d92e05
make dist should distribute all source, and accept tagname (so we can do 'make dist TAG=2.0-rc1'
2014-01-18 12:47:15 +08:00
pancake
35cef7f7c0
add 'dist' make target
2014-01-18 03:42:15 +01:00
Nguyen Anh Quynh
92c1750562
update README on PPC & Solaris support
2014-01-17 14:59:21 +08:00
Nguyen Anh Quynh
fe5e7f36f0
some minor fixes for COMPILE.TXT
2014-01-17 14:56:03 +08:00
Nguyen Anh Quynh
4b3b8bb411
make.sh: fix usage instruction
2014-01-17 14:27:22 +08:00
Nguyen Anh Quynh
c4660571ee
remove compile.sh
2014-01-17 14:22:32 +08:00
Nguyen Anh Quynh
dba00f8628
make.sh: fix instructions in COMPILE.TXT to switch to use make.sh
2014-01-17 14:20:54 +08:00
Nguyen Anh Quynh
f63db27831
simplify build & install for *BSD
2014-01-17 22:12:35 +08:00
Nguyen Anh Quynh
d3b3071107
simplify build & install for Solaris
2014-01-17 21:25:18 +08:00
Nguyen Anh Quynh
64d4083c8f
add solaris support, and add make.sh
2014-01-17 20:55:21 +08:00
Nguyen Anh Quynh
d80cede9a3
last change to support BSD broke cross-comple. fix Makefile so cross-compile work again
2014-01-16 21:07:59 +08:00
Oliver Pinter
6e2c07549d
info: update COMPILE.TXT related to bsd target
...
modified: COMPILE.TXT
Signed-off-by: Oliver Pinter <op@crysys.hu>
2014-01-16 12:35:50 +01:00
opn
73b6068ba0
build: switch from hardcoded gcc to default c compiler
...
modified: tests/Makefile
Signed-off-by: Oliver Pinter <op@crysys.hu>
2014-01-16 12:28:25 +01:00
Oliver Pinter
22062e05f7
build: update compile.sh to support bsd systems
...
build: switch from hardcoded gcc to default c compiler
On FreeBSD /usr used by base system, use PREFIX=/usr/local instead.
On BSD systems gnu "make" has the name "gmake".
modified: Makefile
modified: compile.sh
Signed-off-by: Oliver Pinter <op@crysys.hu>
2014-01-16 12:27:01 +01:00
Nguyen Anh Quynh
bdd1e340dd
remove 'restrict' keyword in the definition of cs_vsnprintf(). also compile tests/* with -L option
2014-01-16 12:34:06 +08:00
Nguyen Anh Quynh
24e122778c
cs_op_count() & cs_op_index() report CS_ERR_DETAIL when detail = OFF
2014-01-15 21:27:23 +08:00
Nguyen Anh Quynh
56aba591cc
correct some comments on CS_OPT_MEM option
2014-01-15 21:24:28 +08:00
Nguyen Anh Quynh
8282dc628c
add ChangeLog file, and rename some documentation files
2014-01-15 21:20:47 +08:00
Nguyen Anh Quynh
edeeb04a1a
make vsnprintf() user-defined function pointer, which is passed in via the same CS_OPT_MEM option like malloc/calloc etc
2014-01-15 20:44:03 +08:00
Nguyen Anh Quynh
a9ffb440f8
replace strdup() with our cs_strdup(), which call cs_mem_malloc() internally
2014-01-15 18:27:01 +08:00
Nguyen Anh Quynh
fc947e0419
python: update Cython for the change on @op_str in the core
2014-01-15 17:54:25 +08:00
Nguyen Anh Quynh
9eb9f539c2
python & java: update following the last change to @op_str
2014-01-15 17:52:43 +08:00
Nguyen Anh Quynh
0636f68331
increase size of @op_str to 160 to contain long operand string of some Neon Arm instructions
2014-01-15 17:51:08 +08:00
Nguyen Anh Quynh
57c50d4845
ppc: replace constant subtarget numbers with macros
2014-01-15 16:48:48 +08:00
Nguyen Anh Quynh
136e2df38c
x86: some arithmetic instructions should not update accumulate registers
2014-01-15 16:35:19 +08:00
Nguyen Anh Quynh
9cc56a3322
arm: update core
2014-01-15 16:01:55 +08:00
Nguyen Anh Quynh
d8029aed83
suite: make all tests consistenly run from inside suite/
2014-01-15 12:44:12 +08:00