87 Commits (585018f83114d3632109aee868fdcafe25214668)

Author SHA1 Message Date
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
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 136e2df38c x86: some arithmetic instructions should not update accumulate registers 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 a8eb7a5ca5 rename memory function pointer types to have cs_ prefix. also rename internal function pointers my_* to have cs_mem_ prefix - suggested by Pancake 11 years ago
danghvu 701b850af9 Fix: bug that static link does not know constructor 11 years ago
Nguyen Anh Quynh f1b05083a7 x86: cleanup unused stuff 11 years ago
Nguyen Anh Quynh 9fac512efc no longer need to free insn_cache for each arch: simply do it from cs_close() 11 years ago
Nguyen Anh Quynh 1acfd0b883 move insn_cache into cs_struct to gurantee thread-safe 11 years ago
Nguyen Anh Quynh c7404075ff move internal memory management declarations from utils.h to cs_priv.h 11 years ago
Nguyen Anh Quynh 24bf0d9079 add new option CS_OPT_MEM for cs_option(): this enable user-defined dynamic memory management. idea proposed by Pancake 11 years ago
Nguyen Anh Quynh ee143c8c6c fix a crashed bug in cs_close(): call destroy function before freeing handle's memory 11 years ago
Nguyen Anh Quynh b265406960 cache insns for fast lookup in mapping.c. based on the idea of Dang Hoang Vu 11 years ago
Nguyen Anh Quynh 57ab21b558 rename some old header guards from SB to CS 11 years ago
Nguyen Anh Quynh 42c6b1acc7 initial support for PPC 11 years ago
Nguyen Anh Quynh ec4ead2c02 function pointers in arch_init[] should be able to report errors 11 years ago
Nguyen Anh Quynh 4fe224b1ed change API cs_disasm_dyn(): break cs_insn into 2 structures, and put all details into new structure cs_detail. this break API compatibility 11 years ago
Nguyen Anh Quynh 2b53b20272 x86: patch in acc registers for xchg. bug reported by felixwilhelm 11 years ago
Nguyen Anh Quynh f954f871e8 initialize all_arch in constructors 11 years ago
Nguyen Anh Quynh d345839bce support cs_option() for arm64 module 11 years ago
Nguyen Anh Quynh 39a42eddfb Change the way of supporting arch modularization 11 years ago
Nguyen Anh Quynh 13a7d95763 add missing arch/*/module.c 11 years ago
Nguyen Anh Quynh f185180436 cleaner implementation for arch modularization 11 years ago
Nguyen Anh Quynh abc02059e3 make all module code static 11 years ago
danghvu 7711858da6 Minor fix credit 11 years ago
danghvu 29e01a6895 arch/*/include.h -> arch/*/module.h 11 years ago
danghvu 0b6ea044ff Move cs_option dispatch into arch specific 11 years ago
danghvu 34d49d935b Support compilation of individual arch 11 years ago