Commit Graph

724 Commits

Author SHA1 Message Date
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
Nguyen Anh Quynh cf4df4b036 some minor fixes for config.mk 2014-01-13 11:18:45 +08:00
Nguyen Anh Quynh e51e227409 ppc & x86: add third dummy MRI argument to printInstruction() to make it consistent with other archs 2014-01-12 20:27:54 +08:00
Nguyen Anh Quynh 56774a158c mips: printInstruction() is static function. add dummy third argument MRI to be consistent with other archs 2014-01-12 18:13:53 +08:00
Nguyen Anh Quynh dcbe0f8322 arm64: find alias insn after the main isnn name mapping. 2014-01-12 10:11:36 +08:00
Nguyen Anh Quynh dc6b9574ff arm64: more changes to make code closer to llvm 2014-01-12 00:52:51 +08:00
Nguyen Anh Quynh 126507741c arm64: make the code closer to llvm code 2014-01-11 23:52:11 +08:00
Nguyen Anh Quynh 3f2fb5fa12 Merge branch 'next' of https://github.com/aquynh/capstone into next 2014-01-11 12:56:14 +08:00
Nguyen Anh Quynh a8eb7a5ca5 rename memory function pointer types to have cs_ prefix. also rename internal function pointers my_* to have cs_mem_ prefix - suggested by Pancake 2014-01-11 12:55:31 +08:00
Nguyen Anh Quynh 377bced8c4 python: correct comment on default value of @detail 2014-01-11 09:51:48 +08:00
Nguyen Anh Quynh 92f8296458 python: turn off detail by default, and raise CS_ERR_DETAIL when detail is OFF 2014-01-11 09:50:16 +08:00
Nguyen Anh Quynh 4c009c7e64 python: instructions on installing Cython as dependency 2014-01-10 11:23:51 +08:00
Nguyen Anh Quynh d0f201c1ff python: update .gitignore to ignore *.c generated by Cython 2014-01-10 10:43:47 +08:00
Nguyen Anh Quynh d35416a04d python: add instructions on Cython-based binding to README 2014-01-10 10:37:31 +08:00