Nguyen Anh Quynh
|
f28ed2951d
|
python: fix sym_resolver()
|
2017-01-09 11:04:12 +08:00 |
|
Nguyen Anh Quynh
|
f4597ffeef
|
python: change the interface of sym_resolver
|
2017-01-07 02:16:47 +08:00 |
|
wsxarcher
|
58b7eb968b
|
correct usage of ctypes pointer
|
2017-01-06 18:19:27 +01:00 |
|
Nguyen Anh Quynh
|
ba96155275
|
add KS_VERSION_{MAJOR, MINOR, EXTRA}
|
2016-10-25 14:52:19 +08:00 |
|
Nguyen Anh Quynh
|
f7f71f6318
|
python: delay import distutils until really need that
|
2016-10-13 22:54:27 +08:00 |
|
Nguyen Anh Quynh
|
40c477a79d
|
update bindings to add KS_OPT_SYM_RESOLVER. Python binding now supports this option. see sample.py for example
|
2016-10-02 13:56:10 +08:00 |
|
Nguyen Anh Quynh
|
43899e8389
|
python: add sample for KS_OPT_SYNTAX_RADIX16
|
2016-09-10 09:18:16 +08:00 |
|
Nguyen Anh Quynh
|
0c56ef96eb
|
bindings: support RADIX16 syntax added to the core in the last commit
|
2016-09-10 02:05:57 +08:00 |
|
Nguyen Anh Quynh
|
3664a62666
|
bindings: fix a debug print in keystone.py
|
2016-09-01 20:21:47 +08:00 |
|
Nguyen Anh Quynh
|
ae0795c254
|
python: added few notes on PyPi upload to setup.py
|
2016-08-01 08:16:20 +08:00 |
|
Nguyen Anh Quynh
|
63ca7d039b
|
python: 0.9.1-3 with recent change on make-share.sh
|
2016-08-01 08:14:25 +08:00 |
|
Nguyen Anh Quynh
|
f19be804a9
|
python: PyPi setup
|
2016-07-28 04:30:46 +08:00 |
|
Nguyen Anh Quynh
|
1f9e383c1c
|
python: cleanup
|
2016-07-27 00:27:49 +08:00 |
|
Nguyen Anh Quynh
|
3aadf88ff3
|
python: add a sample code to get back @stat_count when ks_asm() fails. see issue #228
|
2016-07-27 00:25:15 +08:00 |
|
Nguyen Anh Quynh
|
961c2c869d
|
python: expose stat_count returned from ks_asm() when error occur. see issue #228
|
2016-07-27 00:24:33 +08:00 |
|
Nguyen Anh Quynh
|
2678d30b85
|
python: extra version info
|
2016-07-17 09:57:46 +08:00 |
|
Nguyen Anh Quynh
|
7dc48f50a9
|
python: remove redundant Windows dependency
|
2016-07-14 16:00:03 +08:00 |
|
Sascha Schirra
|
e391c08bed
|
python 2/3 compatibility in KsError.__str__ and Ks.asm
|
2016-06-17 21:43:15 +02:00 |
|
Nguyen Anh Quynh
|
e112cc7bbd
|
Merge pull request #178 from adrianherrera/improvement/fixed-function-arg-types
Changed argument types for ks_option and ks_free functions
|
2016-06-05 23:13:19 +07:00 |
|
Adrian Herrera
|
41c9d1c977
|
Changed argument type for the ks_free function
* ks_free: The 'p' argument should have type unsigned char* to match the type of the 'encoding' argument to ks_asm
|
2016-06-05 17:06:33 +10:00 |
|
Nguyen Anh Quynh
|
8b7ca00c50
|
x86: fix issue #168
|
2016-06-05 15:06:04 +08:00 |
|
Nguyen Anh Quynh
|
070b5add69
|
x86: fix crash-21-x64-llvm-error-expected-absolute-expression.c
|
2016-05-31 15:08:32 +08:00 |
|
Nguyen Anh Quynh
|
4d2353952b
|
down version to 0.9 for public release
|
2016-05-31 09:26:37 +08:00 |
|
Nguyen Anh Quynh
|
499f78265e
|
handle error in peekTok(). this fixes c-crashes/crash-04-hexagon-readcount-not-equal-to-one.c
|
2016-05-31 00:43:35 +08:00 |
|
Remco
|
a89d283518
|
added nodejs makefile, updated all bindings, updated const generator for nodejs, ruby and python
|
2016-05-30 13:30:29 +02:00 |
|
Nguyen Anh Quynh
|
63317d5757
|
handle equal directive. this fixes c-crashes/crash-12-x64-cannot-set-a-variable-that-has-already-been-used.c
|
2016-05-30 01:52:44 +08:00 |
|
Nguyen Anh Quynh
|
6eb7703b3c
|
handle error in applyFixup(). this fixes c-crashes/crash-23-x64-value-does-not-fit-in-the-fixup-field.c
|
2016-05-30 00:55:46 +08:00 |
|
Nguyen Anh Quynh
|
a992d95048
|
x86: report unsupported instructions in encodeInstruction(). this fixes c-crashes/crash-24-x64-not-is16bitmemoperand.c
|
2016-05-30 00:28:11 +08:00 |
|
Nguyen Anh Quynh
|
e644380b1b
|
handle parser error in getIntVal(), getAPIntVal() & Lex(). this fixes some crashes in c-crashes
|
2016-05-30 00:04:26 +08:00 |
|
Nguyen Anh Quynh
|
4ae32f997d
|
propagate error from llvm/lib/MC/MCParser/AsmParser.cpp to ks_asm()
|
2016-05-29 01:13:41 +08:00 |
|
Ingmar Steen
|
fc6ff81e80
|
The aarch64 target is actually little endian.
|
2016-05-24 10:01:32 +02:00 |
|
Nguyen Anh Quynh
|
ef0e95ac4b
|
make ks_strerror() support new error code
|
2016-05-22 19:13:29 +08:00 |
|
Nguyen Anh Quynh
|
f719c95bee
|
remove assert() from AsmToken::getStringContents()
|
2016-05-22 19:03:54 +08:00 |
|
Nguyen Anh Quynh
|
03193cd9cc
|
rename KS_ERR_ASM_SYMBOL_NOTFOUND to KS_ERR_ASM_SYMBOL_MISSING
|
2016-05-18 02:14:04 +08:00 |
|
Nguyen Anh Quynh
|
fbea39ccd7
|
propagate the error of missing symbol back to ks_asm(). this adds new error code KS_ERR_ASM_SYMBOL_NOTFOUND. fix issue #61
|
2016-05-18 01:56:02 +08:00 |
|
Nguyen Anh Quynh
|
c5ca679598
|
add error code KS_ERR_ASM_SYMBOL_REDEFINED to report redefined symbols. also updated all the bindings after this
|
2016-05-17 22:19:30 +08:00 |
|
Nguyen Anh Quynh
|
d9e2003aca
|
python: add some debug print to loading shared library
|
2016-05-14 15:32:21 +08:00 |
|
Nguyen Anh Quynh
|
6997ea7aa8
|
bindings: add GAS syntax after the addition in the core
|
2016-04-30 23:40:33 +08:00 |
|
Sébastien Duquette
|
48f8496cc2
|
Make the python sample compatible with python3.
|
2016-04-30 00:06:55 -04:00 |
|
Nguyen Anh Quynh
|
ca098bcad5
|
better readability for bindings/python/README
|
2016-04-28 21:27:56 +08:00 |
|
Nguyen Anh Quynh
|
9f1a353f68
|
import
|
2016-04-28 21:06:49 +08:00 |
|