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
2013-12-22 11:13:07 +08:00
Nguyen Anh Quynh
d345839bce
support cs_option() for arm64 module
2013-12-22 11:10:56 +08:00
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
2013-12-22 10:40:58 +08:00
Nguyen Anh Quynh
f185180436
cleaner implementation for arch modularization
2013-12-21 12:16:47 +08:00
Nguyen Anh Quynh
4d3e852fbb
detail option: provide instruction id even when detail option is OFF
2013-12-14 10:45:09 +08:00
Nguyen Anh Quynh
a209e67f8a
support to turn on/off building instruction details
2013-12-14 00:23:41 +08:00
Nguyen Anh Quynh
a01d1546d6
x86: handle outs instruction in 16bit mode
2013-12-12 15:54:30 +08:00
pancake
f0e4eed89d
Use const on all read-only buffers
2013-12-11 22:14:42 +01:00
Nguyen Anh Quynh
2215895ebc
mips: no need cs_struct.micro_mips, as we can get that from cs_struct.mode
2013-12-11 18:11:49 +08:00
Nguyen Anh Quynh
a253c7a8e8
x86: map EFLAGS to string of 'flags', 'eflags' or 'rflags' depending on current CS_MODE
2013-12-09 10:26:18 +08:00
pancake
c04f873791
Use uint64_t instead of size_t for addresses
2013-12-03 02:51:46 +01:00
Nguyen Anh Quynh
7c7a8bc523
arm: move static variable ITBlock to cs_struct, so make arm code truly thread-safe
2013-12-02 13:16:44 +08:00
Nguyen Anh Quynh
b42a657873
change cs_disasm() and cs_disasm_dyn() to be portable API. fix related code using these API
2013-11-29 17:40:07 +08:00
Nguyen Anh Quynh
3eb9ac9bb9
mingw doesnt accept .errno of cs_struct. this fixes make it happy, and enable Windows cross-compile again
2013-11-27 15:24:47 +08:00
Nguyen Anh Quynh
26ee41aa67
initial import
2013-11-27 12:11:31 +08:00