Nguyen Anh Quynh
a768c9eb2c
arm: support big-endian. issue reported by Pancake
11 years ago
Nguyen Anh Quynh
f1b05083a7
x86: cleanup unused stuff
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
5802e5e9a0
correct the last fix
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
ee143c8c6c
fix a crashed bug in cs_close(): call destroy function before freeing handle's memory
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
57ab21b558
rename some old header guards from SB to CS
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
04ac9c3725
arm,arm64,mips,x86: rename PPC_getFeatureBits() to getFeatureBits()
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
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
2b53b20272
x86: patch in acc registers for xchg. bug reported by felixwilhelm
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
...
- 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
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
2578d3b9e6
mips: use alias registers
11 years ago
Nguyen Anh Quynh
4626224a33
mips: update doing_mem status, regardless of detail option, since that is also used to avoid printing zero offset in mem reference
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
7013f4c53d
mips: print negative immediate when it is negative
11 years ago
Nguyen Anh Quynh
1f44928d97
mips: fix for micromips
11 years ago
Nguyen Anh Quynh
ea8c5af48e
arm64: the left-over fix of the last commit
11 years ago
Nguyen Anh Quynh
748a70a50b
mips: turn off MicroMips by default
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
bed90914e2
x86: calculate op_size properly in special cases regarding rax, eax, ax, al registers
11 years ago
Nguyen Anh Quynh
94990c9ef5
x86: print '0' rather than '-0'
11 years ago