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
...
- Always use libapstone.so as library name, no matter which archs are compiled in.
- Add new API cs_support() to check if a particular arch is supported.
- Change cs_version(): return hexical version which encodes both major & minor version.
the return value can be comparable.
- Bump API version to 1.1
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