24 Commits (bc78f3a84f0decd7f1d6412a00caef24131bd924)

Author SHA1 Message Date
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 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 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 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 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 19b0de3c8d moving static doing_mem variable into cs_struct to guarantee thread-safe when handling memory operands 11 years ago
Nguyen Anh Quynh 42c6b1acc7 initial support for PPC 11 years ago
Nguyen Anh Quynh 0755282f04 reduce MAX_ARCH to save some memory. this is for internal usage only, so we can increase it in future if needed without having any compatibility issue 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 f185180436 cleaner implementation for arch modularization 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
Nguyen Anh Quynh 2215895ebc mips: no need cs_struct.micro_mips, as we can get that from cs_struct.mode 11 years ago
Nguyen Anh Quynh a253c7a8e8 x86: map EFLAGS to string of 'flags', 'eflags' or 'rflags' depending on current CS_MODE 11 years ago
pancake c04f873791 Use uint64_t instead of size_t for addresses 11 years ago
Nguyen Anh Quynh 7c7a8bc523 arm: move static variable ITBlock to cs_struct, so make arm code truly thread-safe 11 years ago
Nguyen Anh Quynh b42a657873 change cs_disasm() and cs_disasm_dyn() to be portable API. fix related code using these API 11 years ago
Nguyen Anh Quynh 3eb9ac9bb9 mingw doesnt accept .errno of cs_struct. this fixes make it happy, and enable Windows cross-compile again 11 years ago
Nguyen Anh Quynh 26ee41aa67 initial import 11 years ago