91 Commits (2daab25891ac072247a76013c9e6caf0a38d4a79)

Author SHA1 Message Date
Nguyen Anh Quynh 42288ac4e3 SKIPDATA: add 1 more argument to callback function pointing to the input buffer of cs_disasm_ex() 11 years ago
Nguyen Anh Quynh 3d5b6f3e35 update capstone.h to add some minor details for SKIPDATA mode 11 years ago
Nguyen Anh Quynh 11ec8817dc core: add CS_ERR_SKIPDATA error code to report when code access irrelevant info in SKIPDATA mode 11 years ago
Nguyen Anh Quynh 07ffd64c38 SKIPDATA: @offset of callback function should indicate the position of examining byte in input buffer 11 years ago
Nguyen Anh Quynh a89383e81f number of bytes skipped by SKIPDATA option depends on arch 11 years ago
Nguyen Anh Quynh d3ffe37c47 API: support SKIPDATA option (off by default) 11 years ago
Nguyen Anh Quynh 12e6ebcb94 remove the useless diet.h 11 years ago
Nguyen Anh Quynh 901631eaed remove the useless diet.h 11 years ago
Nguyen Anh Quynh 6d3c71128c correct config.mk since X86-reduce now supports VMX/SVM 11 years ago
Nguyen Anh Quynh 59b5489d8e x86: rename X86_COMPACT to X86_REDUCE. suggested by Pancake 11 years ago
Nguyen Anh Quynh 9518148e6f add X86_COMPACT option. also add CS_SUPPORT_X86_COMPACT. made Python support this change 11 years ago
Nguyen Anh Quynh c8e0785cb6 add some more comments regarding invalidating @handle of cs_close() 11 years ago
Nguyen Anh Quynh 226d7dca64 change API cs_close() to take pointer to handle as argument. this lets us invalidate the closed handle 11 years ago
Nguyen Anh Quynh 492b8ed0d5 define CS_SUPPORT_DIET with relation to CS_ARCH_ALL for clarification 11 years ago
Nguyen Anh Quynh f7cdbdf501 add CS_ERR_DIET error code to report information irrelevant in diet engine 11 years ago
Nguyen Anh Quynh 544e0ff611 explicitly warning about diet mode for some APIs in capstone.h 11 years ago
Nguyen Anh Quynh c70adc30e8 clarify some comments regarding 'diet' mode in capstone.h 11 years ago
Nguyen Anh Quynh b2870e4c4c API: extend cs_support() to allow query on diet mode. add CS_SUPPORT_DIET at the same time 11 years ago
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 43a9a9d36f bump API version from 2.0 to 2.1 for core + Python & Java bindings 11 years ago
Nguyen Anh Quynh 4f220287d1 add CS_ERR_VERSION to report error when binding version is different from core's API version 11 years ago
Nguyen Anh Quynh 48a14ca4ce add SystemZ arch 11 years ago
Nguyen Anh Quynh 604c45e8d8 cleaning capstone.h 11 years ago
Nguyen Anh Quynh 2ff665ad4a arm: support asm syntax CS_OPT_SYNTAX_NOREGNAME to print out registers with numbers (ex: 'r11' rather than 'fp') 11 years ago
Nguyen Anh Quynh 1a39bb59e1 API: bump to 2.2 after the addition of Sparc support 11 years ago
Nguyen Anh Quynh 05e27138ae core: add Sparc arch 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 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 64d4083c8f add solaris support, and add make.sh 11 years ago
Nguyen Anh Quynh bdd1e340dd remove 'restrict' keyword in the definition of cs_vsnprintf(). also compile tests/* with -L option 11 years ago
Nguyen Anh Quynh 56aba591cc correct some comments on CS_OPT_MEM option 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 0636f68331 increase size of @op_str to 160 to contain long operand string of some Neon Arm instructions 11 years ago
Nguyen Anh Quynh 2f05ab2af5 add some comments on the availability of some APIs relying on detail = ON 11 years ago
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 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
Nguyen Anh Quynh c263d350f7 correct comments on CS_OPT_ON/OFF regarding default detail option 11 years ago
Nguyen Anh Quynh cf89cf60db cosmetic fix for capstone.h 11 years ago
Nguyen Anh Quynh c52352d6d9 add new error code CS_ERR_MEMSETUP to report error when user-defined dynamic mem management is uninitialized 11 years ago
Nguyen Anh Quynh 57aa8eca05 change argument type of cs_support() API from cs_arch to int. this is to give us more flexibility to use this API to check other stuffs in future 11 years ago
Nguyen Anh Quynh a60ed8b044 more instructions on CS_OPT_MEM 11 years ago
Nguyen Anh Quynh ac9c076fdf minor fix for instruction on CS_OPT_MEM 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 af6ca7e20a ppc: add branch hint support to cs_ppc struct 11 years ago
Nguyen Anh Quynh f1d489b949 ppc: support details information 11 years ago
Nguyen Anh Quynh 34f96389a9 add new API: cs_strerror() return a string describing a given error code. this should be used together with cs_errno() 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 ae3649ff71 rename some C header guards to be without _ as prefix to follow naming convention of C language. suggested by Markus Elfring 11 years ago
Nguyen Anh Quynh 42c6b1acc7 initial support for PPC 11 years ago