67 Commits (65c7a01d4f1a2bb00a788a0958909eabebdd5cc3)

Author SHA1 Message Date
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 cbaf913d68 arm: fix a bug in getting data from input buffer of Thumb: bail out if not enough data 11 years ago
Nguyen Anh Quynh 43befa06a3 arm: no longer rely on information from @groups to verify relative instructions 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 6b804dacb1 arm: update core 11 years ago
Nguyen Anh Quynh 585018f831 ppc & arm: remove functions *_get_insn_id2() 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
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 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 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 c272e9d000 do not use constructor to enable archs, so code is more portable. suggested by Alex Ionescu 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 9cc56a3322 arm: update core 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 a768c9eb2c arm: support big-endian. issue reported by Pancake 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 f1d489b949 ppc: support details information 11 years ago
Nguyen Anh Quynh 5ef633ce91 arm64 & arm: do not update details when detail option is off. bug reported by Pancake. 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 19b0de3c8d moving static doing_mem variable into cs_struct to guarantee thread-safe when handling memory operands 11 years ago
Nguyen Anh Quynh 04ac9c3725 arm,arm64,mips,x86: rename PPC_getFeatureBits() to getFeatureBits() 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 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 a2e7ef1b73 Fix coding style 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
Nguyen Anh Quynh e832bd8996 arm: support alias registers SB, SL, FP & IP 11 years ago
Nguyen Anh Quynh 3d5930f39e arm: fix some int types and string specifiers 11 years ago
Nguyen Anh Quynh d14d3973f4 coding style for C code 11 years ago
Nguyen Anh Quynh 4d3e852fbb detail option: provide instruction id even when detail option is OFF 11 years ago
Nguyen Anh Quynh a209e67f8a support to turn on/off building instruction details 11 years ago
Nguyen Anh Quynh a01d1546d6 x86: handle outs instruction in 16bit mode 11 years ago
pancake f0e4eed89d Use const on all read-only buffers 11 years ago