Commit Graph

537 Commits

Author SHA1 Message Date
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
Nguyen Anh Quynh cbb10ba0b6 arm64: update core 2014-01-15 12:38:38 +08:00
Nguyen Anh Quynh 2f05ab2af5 add some comments on the availability of some APIs relying on detail = ON 2014-01-15 11:07:28 +08:00
Nguyen Anh Quynh 0941042274 java: update Mips constants following the change in Mips' core 2014-01-14 23:10:59 +08:00
Nguyen Anh Quynh a4e6e2a13c python: update Mips constants following the change in Mips' core 2014-01-14 23:10:30 +08:00
Nguyen Anh Quynh 75ef2426ea mips: update core 2014-01-14 23:08:20 +08:00
Nguyen Anh Quynh 44cebf2e0b python & java: pump API to 2.0 2014-01-14 09:33:00 +08:00
Nguyen Anh Quynh 9c2d02908a x86: few more SUB insn should not affect accumulate register 2014-01-14 07:30:31 +08:00
Nguyen Anh Quynh 3d56b823ed extend @op_str of cs_insn_flat following the core change 2014-01-14 07:22:06 +08:00
Nguyen Anh Quynh 22800aac13 x86: some ADD & SUB insn should not affect accumulate registers. bug reported by Bleh 2014-01-14 07:21:17 +08:00
Nguyen Anh Quynh 7900458f3d python: fix Cython binding following the latest core change on @op_str 2014-01-13 23:59:58 +08:00
Nguyen Anh Quynh a71a29922c java: update @opStr & ARM's @Operands following the changes in core 2014-01-13 23:33:27 +08:00
Nguyen Anh Quynh e03da92ebd python: update @op_str & ARM's @operands following the changes in core 2014-01-13 23:30:30 +08:00
Nguyen Anh Quynh b99aec8791 increase sizes of @op_str & ARM @operands to contain some ARM instructions with super long list of registers. issue reported by Deroko of ARTeam 2014-01-13 23:29:39 +08:00
Nguyen Anh Quynh a84fe66228 python: indentation for cython code. also added author credits to these new files 2014-01-13 21:07:38 +08:00
Nguyen Anh Quynh aaaf3458d3 python: update clean target for *.pyx files 2014-01-13 20:44:09 +08:00
Nguyen Anh Quynh 2fcfeac258 update .gitignore for new *.pyx files generated by cython 2014-01-13 20:43:44 +08:00
danghvu e61c504a9e Clean up addition cython code 2014-01-13 15:50:58 +07:00
danghvu cfd41dd6f5 Improve cython by using CCsInsn when possible 2014-01-13 15:50:58 +07:00
Nguyen Anh Quynh f48a879e31 suite: benchmark.py can benchmark specific archs, rather than all archs like before 2014-01-13 16:25:36 +08:00
Nguyen Anh Quynh 783e6c006c suite: benchmark.py now exercises all archs 2014-01-13 15:55:12 +08:00
Nguyen Anh Quynh ff93d75879 suite: excercise benchmark.py 5 times more 2014-01-13 15:10:42 +08:00
Nguyen Anh Quynh 34474f8989 suite: benchmark.py get disasm code from binary file (python itself) rather than randomize data - this stablizes results, and can be compared with other bindings 2014-01-13 14:49:55 +08:00
Nguyen Anh Quynh e14556a615 python: generator yields nothing rather than [] on failure 2014-01-13 14:46:52 +08:00