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
|
8b915ed765
|
ppc: 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
|
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
|
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
|
57c50d4845
|
ppc: replace constant subtarget numbers with macros
|
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
|
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
|
2b14fcdf9b
|
ppc: update ppc.bh in post-printer
|
11 years ago |
Nguyen Anh Quynh
|
f1d489b949
|
ppc: support details information
|
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
|
5f1f90c559
|
fix for the last commit, and make the test code no longer specify ppc code as 64bit
|
11 years ago |
Nguyen Anh Quynh
|
5742b1b814
|
ppc: support for PPC32 was already in
|
11 years ago |
Nguyen Anh Quynh
|
cef6b27e95
|
remove -x from PPC files
|
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
|
4d22779f1c
|
add the missing include/ppc.h
|
11 years ago |
Nguyen Anh Quynh
|
ec79f401b1
|
ppc: rename PPC_getFeatureBits() to getFeatureBits()
|
11 years ago |
Nguyen Anh Quynh
|
9c5b328cdc
|
ppc: rename ppc_cc to ppc_bc
|
11 years ago |
Nguyen Anh Quynh
|
bacf4c8156
|
add the missing arch/PowerPC directory
|
11 years ago |