173 Commits (fc83a439e5e74ecdea4f948c46064c25ce361ebe)

Author SHA1 Message Date
Nguyen Anh Quynh fc83a439e5 add diet compile option (CAPSTONE_DIET option in config.mk). This reduces binary size by around 40% 11 years ago
Nguyen Anh Quynh 1181a851b9 x86: fix a double-free bug for ATT syntax 11 years ago
Nguyen Anh Quynh 0b6daad5ad x86: avoid duplicating slot 0 of Opcode tables with emptyTable 11 years ago
Nguyen Anh Quynh f6060b8f70 x86: compress Opcode tables to make data size 3 times smaller. this is without performance sacrifice by using some extra index tables 11 years ago
Nguyen Anh Quynh b24692cfcc x86: add some debug code to find out size of some Opcode tables 11 years ago
Nguyen Anh Quynh 8b915ed765 ppc: update core 11 years ago
Nguyen Anh Quynh bc0b3b92fd mips: update core 11 years ago
Nguyen Anh Quynh 6b804dacb1 arm: update core 11 years ago
Nguyen Anh Quynh 27b9a96fd0 x86: make printAliasInstr() return string, not id 11 years ago
Nguyen Anh Quynh 74c41ebb1d mips: simplify handling alias insn 11 years ago
Nguyen Anh Quynh 4f93d9c9dc arm64: simplify handling alias instruction (printAliasInstr) 11 years ago
Nguyen Anh Quynh 85cddef303 x86: optimize handling special instructions with accumulate registers 11 years ago
Nguyen Anh Quynh 005c5148a6 x86: eliminate X86_get_insn_id2() 11 years ago
Nguyen Anh Quynh 585018f831 ppc & arm: remove functions *_get_insn_id2() 11 years ago
kaka22 603f7ac953 x86: fix a warning on unused variable 11 years ago
Nguyen Anh Quynh d7c00fe5ed x86: REP should have *CX registers as implicit registers read/written 11 years ago
Nguyen Anh Quynh 13f40d26a2 x86: upgrade core 11 years ago
Nguyen Anh Quynh 9389947d0d x86: fix a mem leaking issue in X86_insn_combine() 11 years ago
Nguyen Anh Quynh a82a0890a6 more more fixes on C coding style 11 years ago
Nguyen Anh Quynh aa078a1c4a more fixes on C coding style 11 years ago
Nguyen Anh Quynh 2e79ba8996 fix C coding style 11 years ago
Nguyen Anh Quynh b57c90dd23 fix some issues introduced by MSVC port 11 years ago
Alex Ionescu b8a57fe285 Additional MSVC fixes, including to fixed tables (temporary so Quynh can see what to do). 11 years ago
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). 11 years ago
Nguyen Anh Quynh c34959b588 x86: proper calculation for the trailing instruction in total cache. issue reported by Pancake 11 years ago
Nguyen Anh Quynh c36ce95d4a x86: proper calculation for the trailing instruction in total cache. issue reported by Pancake 11 years ago
Nguyen Anh Quynh 06b3c05e20 cs_open() should return error on invalid mode 11 years ago
Nguyen Anh Quynh 53fc5c103a cs_open() should return error on invalid mode 11 years ago
Nguyen Anh Quynh 9a291bda75 x86: do not use non-standard strlcat & strlcpy 11 years ago
Nguyen Anh Quynh b9ff3aaf19 x86: do not use non-standard strlcat & strlcpy 11 years ago
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 11 years ago
Nguyen Anh Quynh 3732725342 rename mapping.c, mapping.h, module.c to have arch prefix. suggested by Alex Ionescu 11 years ago
Nguyen Anh Quynh f328f30fd9 rename mapping.c, mapping.h, module.c to have arch prefix. suggested by Alex Ionescu 11 years ago
Nguyen Anh Quynh d68a30f4c3 x86: remove 'opaque' in the output of some instructions 11 years ago
Nguyen Anh Quynh 9dfdae6421 x86: add new instructions: FSETPM, SALC, GETSEC & INT1. bug reported by Pancake 11 years ago
Nguyen Anh Quynh 38c1322bde x86: remove 'opaque' in the output of some instructions 11 years ago
Nguyen Anh Quynh c272e9d000 do not use constructor to enable archs, so code is more portable. suggested by Alex Ionescu 11 years ago
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 11 years ago
Nguyen Anh Quynh a9ffb440f8 replace strdup() with our cs_strdup(), which call cs_mem_malloc() internally 11 years ago
Nguyen Anh Quynh 57c50d4845 ppc: replace constant subtarget numbers with macros 11 years ago
Nguyen Anh Quynh 136e2df38c x86: some arithmetic instructions should not update accumulate registers 11 years ago
Nguyen Anh Quynh 9cc56a3322 arm: update core 11 years ago
Nguyen Anh Quynh cbb10ba0b6 arm64: update core 11 years ago
Nguyen Anh Quynh 75ef2426ea mips: update core 11 years ago
Nguyen Anh Quynh 9c2d02908a x86: few more SUB insn should not affect accumulate register 11 years ago
Nguyen Anh Quynh 3d56b823ed extend @op_str of cs_insn_flat following the core change 11 years ago
Nguyen Anh Quynh 22800aac13 x86: some ADD & SUB insn should not affect accumulate registers. bug reported by Bleh 11 years ago
Nguyen Anh Quynh e51e227409 ppc & x86: add third dummy MRI argument to printInstruction() to make it consistent with other archs 11 years ago
Nguyen Anh Quynh 56774a158c mips: printInstruction() is static function. add dummy third argument MRI to be consistent with other archs 11 years ago
Nguyen Anh Quynh dcbe0f8322 arm64: find alias insn after the main isnn name mapping. 11 years ago