Nguyen Anh Quynh
|
c8e0785cb6
|
add some more comments regarding invalidating @handle of cs_close()
|
2014-02-28 09:38:11 +08:00 |
|
Nguyen Anh Quynh
|
226d7dca64
|
change API cs_close() to take pointer to handle as argument. this lets us invalidate the closed handle
|
2014-02-27 22:20:39 +08:00 |
|
Nguyen Anh Quynh
|
d5d06ed736
|
Merge branch 'x86' into next
|
2014-02-25 15:10:47 +08:00 |
|
Nguyen Anh Quynh
|
492b8ed0d5
|
define CS_SUPPORT_DIET with relation to CS_ARCH_ALL for clarification
|
2014-02-25 08:14:15 +08:00 |
|
Nguyen Anh Quynh
|
143759d9ab
|
x86: update core
|
2014-02-24 23:30:45 +08:00 |
|
Nguyen Anh Quynh
|
f7cdbdf501
|
add CS_ERR_DIET error code to report information irrelevant in diet engine
|
2014-02-24 16:47:36 +08:00 |
|
Nguyen Anh Quynh
|
544e0ff611
|
explicitly warning about diet mode for some APIs in capstone.h
|
2014-02-23 20:24:47 +08:00 |
|
Nguyen Anh Quynh
|
c70adc30e8
|
clarify some comments regarding 'diet' mode in capstone.h
|
2014-02-23 00:03:46 +08:00 |
|
Nguyen Anh Quynh
|
b2870e4c4c
|
API: extend cs_support() to allow query on diet mode. add CS_SUPPORT_DIET at the same time
|
2014-02-22 23:41:16 +08:00 |
|
Nguyen Anh Quynh
|
fc83a439e5
|
add diet compile option (CAPSTONE_DIET option in config.mk). This reduces binary size by around 40%
|
2014-02-22 23:26:27 +08:00 |
|
Enzo Matsumiya
|
6bc08a850a
|
Fix the X86_REL_ADDR macro in x86.h
|
2014-02-19 22:07:36 +08:00 |
|
Nguyen Anh Quynh
|
8b915ed765
|
ppc: update core
|
2014-02-19 17:01:44 +08:00 |
|
Nguyen Anh Quynh
|
43a9a9d36f
|
bump API version from 2.0 to 2.1 for core + Python & Java bindings
|
2014-02-19 15:18:44 +08:00 |
|
Nguyen Anh Quynh
|
bc0b3b92fd
|
mips: update core
|
2014-02-19 15:13:20 +08:00 |
|
Nguyen Anh Quynh
|
6b804dacb1
|
arm: update core
|
2014-02-19 12:52:50 +08:00 |
|
Nguyen Anh Quynh
|
a86a1279ff
|
Merge branch 'msvc0' into next1
|
2014-02-17 23:11:58 +08:00 |
|
Nguyen Anh Quynh
|
4f220287d1
|
add CS_ERR_VERSION to report error when binding version is different from core's API version
|
2014-02-09 00:19:15 +08:00 |
|
Nguyen Anh Quynh
|
13f40d26a2
|
x86: upgrade core
|
2014-02-07 22:06:33 +08:00 |
|
Nguyen Anh Quynh
|
eaeee31f64
|
Merge branch 'msvc' into test
|
2014-01-23 22:10:41 +08:00 |
|
Nguyen Anh Quynh
|
b57c90dd23
|
fix some issues introduced by MSVC port
|
2014-01-23 21:43:08 +08:00 |
|
Alex Ionescu
|
46018db884
|
Initial set of changes to support building with MSVC 2013. Right now there's a bunch fo assumptions in the .vcxproj file and some things are not as clean as they should be, but it does build a full build and works (at least the x86 side). The point of this initial checkpoint is to make sure that nothing breaks on the GCC side, that everyone is ok with the changes to the source (or if better fixes/typing can be done).
|
2014-01-22 09:45:00 -08:00 |
|
Nguyen Anh Quynh
|
06b3c05e20
|
cs_open() should return error on invalid mode
|
2014-01-21 15:27:19 +08:00 |
|
Nguyen Anh Quynh
|
53fc5c103a
|
cs_open() should return error on invalid mode
|
2014-01-21 15:26:02 +08:00 |
|
Nguyen Anh Quynh
|
dd40750aa3
|
change header guards to have CAPSTONE_ as prefix. suggested by Markus Elfring
|
2014-01-19 23:52:45 +08:00 |
|
Nguyen Anh Quynh
|
747c4eff69
|
change header guards to have CAPSTONE_ as prefix. suggested by Markus Elfring
|
2014-01-19 23:51:34 +08:00 |
|
Nguyen Anh Quynh
|
9dfdae6421
|
x86: add new instructions: FSETPM, SALC, GETSEC & INT1. bug reported by Pancake
|
2014-01-19 22:40:31 +08:00 |
|
Nguyen Anh Quynh
|
64d4083c8f
|
add solaris support, and add make.sh
|
2014-01-17 20:55:21 +08:00 |
|
Nguyen Anh Quynh
|
bdd1e340dd
|
remove 'restrict' keyword in the definition of cs_vsnprintf(). also compile tests/* with -L option
|
2014-01-16 12:34:06 +08:00 |
|
Nguyen Anh Quynh
|
56aba591cc
|
correct some comments on CS_OPT_MEM option
|
2014-01-15 21:24:28 +08:00 |
|
Nguyen Anh Quynh
|
edeeb04a1a
|
make vsnprintf() user-defined function pointer, which is passed in via the same CS_OPT_MEM option like malloc/calloc etc
|
2014-01-15 20:44:03 +08:00 |
|
Nguyen Anh Quynh
|
0636f68331
|
increase size of @op_str to 160 to contain long operand string of some Neon Arm instructions
|
2014-01-15 17:51:08 +08:00 |
|
Nguyen Anh Quynh
|
9cc56a3322
|
arm: update core
|
2014-01-15 16:01:55 +08:00 |
|
Nguyen Anh Quynh
|
2f05ab2af5
|
add some comments on the availability of some APIs relying on detail = ON
|
2014-01-15 11:07:28 +08:00 |
|
Nguyen Anh Quynh
|
75ef2426ea
|
mips: update core
|
2014-01-14 23:08:20 +08:00 |
|
Nguyen Anh Quynh
|
b99aec8791
|
increase sizes of @op_str & ARM @operands to contain some ARM instructions with super long list of registers. issue reported by Deroko of ARTeam
|
2014-01-13 23:29:39 +08:00 |
|
Nguyen Anh Quynh
|
a8eb7a5ca5
|
rename memory function pointer types to have cs_ prefix. also rename internal function pointers my_* to have cs_mem_ prefix - suggested by Pancake
|
2014-01-11 12:55:31 +08:00 |
|
Nguyen Anh Quynh
|
c263d350f7
|
correct comments on CS_OPT_ON/OFF regarding default detail option
|
2014-01-07 23:50:02 +08:00 |
|
Nguyen Anh Quynh
|
cf89cf60db
|
cosmetic fix for capstone.h
|
2014-01-06 09:08:35 +08:00 |
|
Nguyen Anh Quynh
|
c52352d6d9
|
add new error code CS_ERR_MEMSETUP to report error when user-defined dynamic mem management is uninitialized
|
2014-01-06 09:06:30 +08:00 |
|
Nguyen Anh Quynh
|
57aa8eca05
|
change argument type of cs_support() API from cs_arch to int. this is to give us more flexibility to use this API to check other stuffs in future
|
2014-01-06 00:03:29 +08:00 |
|
Nguyen Anh Quynh
|
a60ed8b044
|
more instructions on CS_OPT_MEM
|
2014-01-05 23:52:30 +08:00 |
|
Nguyen Anh Quynh
|
ac9c076fdf
|
minor fix for instruction on CS_OPT_MEM
|
2014-01-05 23:42:50 +08:00 |
|
Nguyen Anh Quynh
|
24bf0d9079
|
add new option CS_OPT_MEM for cs_option(): this enable user-defined dynamic memory management. idea proposed by Pancake
|
2014-01-05 11:19:04 +08:00 |
|
Nguyen Anh Quynh
|
af6ca7e20a
|
ppc: add branch hint support to cs_ppc struct
|
2014-01-05 01:05:22 +08:00 |
|
Nguyen Anh Quynh
|
f1d489b949
|
ppc: support details information
|
2014-01-05 00:00:05 +08:00 |
|
Nguyen Anh Quynh
|
34f96389a9
|
add new API: cs_strerror() return a string describing a given error code. this should be used together with cs_errno()
|
2014-01-03 22:49:07 +08:00 |
|
Nguyen Anh Quynh
|
ee143c8c6c
|
fix a crashed bug in cs_close(): call destroy function before freeing handle's memory
|
2014-01-03 21:51:59 +08:00 |
|
Nguyen Anh Quynh
|
b265406960
|
cache insns for fast lookup in mapping.c. based on the idea of Dang Hoang Vu
|
2014-01-03 17:08:58 +08:00 |
|
Nguyen Anh Quynh
|
ae3649ff71
|
rename some C header guards to be without _ as prefix to follow naming convention of C language. suggested by Markus Elfring
|
2014-01-02 13:15:07 +08:00 |
|
Nguyen Anh Quynh
|
0b4c1237df
|
ppc: change type @disp to int32_t, and add @update_cr0 to cs_ppc struct
|
2014-01-02 12:02:59 +08:00 |
|