Nguyen Anh Quynh
f2d0ff2155
python: add PPC sample to test.py
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
4ca85111f6
tests: do not use -L option for clang
11 years ago
Nguyen Anh Quynh
ec4ead2c02
function pointers in arch_init[] should be able to report errors
11 years ago
Nguyen Anh Quynh
0f9cb0fd52
fix English in config.mk
11 years ago
Nguyen Anh Quynh
51a7710ed7
java: update cs_version() prototype following the changes to this API in the core
11 years ago
Nguyen Anh Quynh
82fe8ff751
python: update binding following the changes to cs_version()
11 years ago
Nguyen Anh Quynh
0cb3d6cb24
we broke compatibility of bunch of important APIs, so bump API version to 2.0 rather than 1.1
11 years ago
Nguyen Anh Quynh
b90cb993ed
API cs_version_ex(): since we already broke API compatibility, we are not afraid to break cs_version() too. this replaces cs_version() with cs_version_ex()
11 years ago
Nguyen Anh Quynh
a09bd630cf
remove old redundant module related macros in Makefile
11 years ago
Nguyen Anh Quynh
c4792c21ba
Merge pull request #55 from danghvu/master
...
Update Java binding for new API
11 years ago
danghvu
80348ba5f7
Clean up unused code and some coding style
11 years ago
danghvu
ef9bd0ab48
Let jna handle alignment, reduce performance but more cross-platform
11 years ago
danghvu
8677ce756c
Minor changes for x86 compatibility
11 years ago
danghvu
03be9f5820
Fix java binding for cs2 branch
11 years ago
Nguyen Anh Quynh
4ebdd216f1
add SONAME for .so library. issue reported by Anton Bolshakov
11 years ago
Nguyen Anh Quynh
9f0e6c24ae
on x86_64, install libs to /usr/lib64 if /usr/lib is inexistent. bug reported by Anton Bolshakov
11 years ago
Nguyen Anh Quynh
496a62b26b
python: update to new API cs_disasm_ex()
11 years ago
Nguyen Anh Quynh
04c19beefe
rename API cs_disasm_dyn() to cs_disasm_ex(), and intentionally breaks compatibility with 1.0
11 years ago
Nguyen Anh Quynh
b8f2af6317
minor fix to mention *BSD rather than *nix
11 years ago
Nguyen Anh Quynh
a6a11537d4
update COMPILE about newly added config.mk
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
3a87fb9ad0
python: minor fix for comments of _dummy_cs class
11 years ago
Nguyen Anh Quynh
3cbb23064e
python: keep referencing Cs class so make sure it is around until all CsInsn objects are deleted. bug reported by felixwilhelm
11 years ago
Nguyen Anh Quynh
2296d5e926
add macro CS_MAKE_VERSION, which is handy to create combined version from major & minor version so that can be compared to the result of cs_version_ex()
11 years ago
Nguyen Anh Quynh
9ac9fcf2b3
python: support newly added API cs_support() & cs_version_ex()
11 years ago
Nguyen Anh Quynh
f954f871e8
initialize all_arch in constructors
11 years ago
Nguyen Anh Quynh
b880678a25
old cs_version() and new cs_version() are not compatible, so revert old one, and create new separate API cs_version_ex()
11 years ago
Nguyen Anh Quynh
0877747bcd
cs_version() can accept NULL arguments. this is useful if you dont care about major/minor, but only want to get returned combined version
11 years ago
Nguyen Anh Quynh
9a197b35a1
nullify handle when cs_open() fails. besides, return CS_ERR_ARCH when arch is unsupported
11 years ago
Nguyen Anh Quynh
58747adcbb
to be sure, initialize arch_init[] with NULL
11 years ago
Nguyen Anh Quynh
0655fe4b50
revert a wrong push on PKGCFGF
11 years ago
Nguyen Anh Quynh
08a57473d1
fix
11 years ago
Nguyen Anh Quynh
5219f64f84
make it less error-prone to handle config.mk
11 years ago
Nguyen Anh Quynh
0590a1f28a
del config.mk
11 years ago
Nguyen Anh Quynh
f6ca8524b7
make it easier to manage config.mk. also added some instructions for users
11 years ago
danghvu
2c5ba2a9a0
Revert to allow multiple arch compilations
11 years ago
danghvu
8cd8c4078e
Revert to allow multiple arch compilations
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
00f01f1d4e
add comments for config.mk
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