34 Commits

Author SHA1 Message Date
null-cell 2a611d9a8c adds documentation for porting, resolves PR comments 2023-05-15 11:05:31 +02:00
null-cell db85c1e08a updates extra version of keystone, updated generated consts with RISCV 2023-03-23 12:18:11 +01:00
null-cell b45b16a725 edits config to support RISCV - known from v4 2023-03-16 17:29:33 +01:00
Duncan Ogilvie 03d5d24a00 CMake fixes (#473)
* Respect the BUILD_LIBS_ONLY option

* Do not export symbols when building a static library
2020-07-21 10:14:19 +08:00
Nguyen Anh Quynh 1162af7b1f bump version to 0.9.2 2020-06-10 16:02:14 +08:00
Nguyen Anh Quynh 80d46cee40 add Ethereum VM architecture 2018-03-31 00:08:28 +08:00
Nguyen Anh Quynh 83655e4d9f include stdbool.h in keystone.h for older compiler 2018-02-20 17:40:48 +08:00
Nguyen Anh Quynh ba96155275 add KS_VERSION_{MAJOR, MINOR, EXTRA} 2016-10-25 14:52:19 +08:00
Nguyen Anh Quynh 7623db887d support symbol resolving at run-time by adding new setup option KS_OPT_SYM_RESOLVER. see issue #244 2016-10-02 13:54:37 +08:00
Nguyen Anh Quynh eac9cc9d67 support new syntax RADIX16. see issue #11 2016-09-10 02:04:54 +08: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
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
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 27c91be746 ks_open: change the data type of mode to int. this fixes issue #22 2016-05-03 21:25:43 +08:00
Nguyen Anh Quynh 9d3e2dcb81 Merge pull request #23 from radare/errno
Fix ks_errno signature to return ks_err instead of uint
2016-05-02 09:06:11 +08:00
pancake f1e56ec237 Fix ks_errno signature to return ks_err instead of uint 2016-05-02 00:24:19 +02:00
Nguyen Anh Quynh cdad0e10d2 GNU GAS 2016-04-30 23:51:47 +08:00
Nguyen Anh Quynh c8c7ecd01c x86: added GNU GAS syntax, which is similar to AT&T syntax 2016-04-30 23:39:44 +08:00
Nguyen Anh Quynh 15033c25cb msvc: define KEYSTONE_EXPORT. this should fix issue #13 2016-04-30 13:27:31 +08:00
Nguyen Anh Quynh 26423a77b4 del include/keystone/platform.h 2016-04-30 00:48:08 +08:00
Nguyen Anh Quynh 9f1a353f68 import 2016-04-28 21:06:49 +08:00