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
089b716e90
add SONAME for .so library. issue reported by Anton Bolshakov
11 years ago
Nguyen Anh Quynh
4ebdd216f1
add SONAME for .so library. issue reported by Anton Bolshakov
11 years ago
Nguyen Anh Quynh
02ac24fd1d
on x86_64, install libs to /usr/lib64 if /usr/lib is inexistent. bug 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
1ca65dafc7
minor fix to mention *BSD rather than *nix
11 years ago
Nguyen Anh Quynh
b8f2af6317
minor fix to mention *BSD rather than *nix
11 years ago
Nguyen Anh Quynh
aeb18633e4
update COMPILE about newly added config.mk
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
Nguyen Anh Quynh
abc02059e3
make all module code static
11 years ago
Nguyen Anh Quynh
31baeb570f
Merge branch 'next' of https://github.com/aquynh/capstone into module
11 years ago
Nguyen Anh Quynh
7b6d3e27c4
Merge branch 'master' of https://github.com/aquynh/capstone into module
11 years ago
Nguyen Anh Quynh
7d02c92de8
code style: more fix for cs.c
11 years ago
Nguyen Anh Quynh
e76eae2c51
python: fix for README to keep lines within 80 columns for readability
11 years ago
Nguyen Anh Quynh
6eae731d56
Merge branch 'master' of https://github.com/0xKD/capstone into pkgconfig
11 years ago
Nguyen Anh Quynh
dc05d675be
Merge branch 'pkgconfig' of https://github.com/radare/capstone into pkgconfig
11 years ago
Nguyen Anh Quynh
7008356bc5
change cs_insn struct to follow the commit 18103e4a
. fixed Python & Java bindings accordingly. attn: bindings
11 years ago
Kedar
6b7b7d9c97
Make instruction distinction clearer
11 years ago
Nguyen Anh Quynh
a1818520df
python: correct the last commit to fix cs_disasm_quick()
11 years ago
Nguyen Anh Quynh
630a86bcd8
python: cs_disasm_quick() doesnt create CsInsn array on return, and makes reference to non-existent self. bug reported by Mario Vilas
11 years ago
Nguyen Anh Quynh
5f0c6869ca
python: correct the last commit to fix cs_disasm_quick()
11 years ago