Commit Graph

23 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
fe8030bdf0 update errno in cs_option() upon failure with CS_ERR_OPTION 2013-12-06 10:09:43 +08:00
Nguyen Anh Quynh
041e25dd66 add CS_ERR_OPTION type. cs_option() returns this error code on invalid option 2013-12-06 00:37:32 +08:00
Nguyen Anh Quynh
26a43715d9 bump API to 1.7 due to the addition of @bytes to cs_insn 2013-12-04 23:08:32 +08:00
Nguyen Anh Quynh
8f13f3c6ab rename @hex_code to @bytes, and move it to next to @size 2013-12-04 22:57:04 +08:00
Nguyen Anh Quynh
c45b1588ef Merge branch 'master' of https://github.com/joxeankoret/capstone into hexcode 2013-12-04 19:28:54 +08:00
Joxean
114df0ef2a Added @hex_code member
It's used to retrieve the bytes of the instruction.
2013-12-04 07:11:32 +01:00
Nguyen Anh Quynh
4b95d9fa67 bump API to 1.6 to reflect the addition of the new API cs_option() 2013-12-04 13:48:52 +08:00
Nguyen Anh Quynh
da8adaded2 API cs_option(): @value now has size_t, so mapping opaque pointer is possible for future options 2013-12-04 09:44:07 +08:00
Nguyen Anh Quynh
c618db4473 change option names for cs_option(), and update python binding accordingly to support new cs_option() 2013-12-04 00:05:04 +08:00
Nguyen Anh Quynh
b8ce68ec05 change cs_option() API to be more flexible with option value 2013-12-03 23:45:08 +08:00
Nguyen Anh Quynh
4a60a56be6 handle cs_option() according to arch & mode 2013-12-03 21:56:54 +08:00
Nguyen Anh Quynh
01aba002e3 add cs_option() API. move ATT & Intel syntax here, rather than having them as CS_MODE, which is wrong 2013-12-03 21:00:09 +08:00
Nguyen Anh Quynh
5dbe12a85b bump API to 1.5 due to the change in cs_disasm*(), and add PKG_{MAJOR|MINOR} for package version 2013-12-03 12:27:46 +08:00
Nguyen Anh Quynh
7d5f96d3a7 merge Radare's pull request on API change on @address of cs_disasm*() 2013-12-03 11:53:42 +08:00
Nguyen Anh Quynh
f35e2ad35c add @regs_read_count, @regs_write_count, @groups_count to @cs_insn. bump API to 1.4 2013-12-03 11:10:26 +08:00
pancake
c04f873791 Use uint64_t instead of size_t for addresses 2013-12-03 02:51:46 +01:00
Nguyen Anh Quynh
45078f87f1 finally drop ugly support for using arch as handle in cs_reg_name(). this doesnt change API 2013-12-01 00:22:15 +08:00
Nguyen Anh Quynh
ad61c49288 arm64: handle decomposer properly for alias insn 2013-11-30 16:23:31 +08:00
Nguyen Anh Quynh
6b7abe3c81 arm64: handle alias insn in a better way, and add support for MNEG. bug reported by Patroklos Argyroudis 2013-11-30 00:54:24 +08:00
Nguyen Anh Quynh
402f3fcfb4 bump API to 1.3 2013-11-29 17:40:49 +08:00
Nguyen Anh Quynh
b42a657873 change cs_disasm() and cs_disasm_dyn() to be portable API. fix related code using these API 2013-11-29 17:40:07 +08:00
Nguyen Anh Quynh
3eb9ac9bb9 mingw doesnt accept .errno of cs_struct. this fixes make it happy, and enable Windows cross-compile again 2013-11-27 15:24:47 +08:00
Nguyen Anh Quynh
26ee41aa67 initial import 2013-11-27 12:11:31 +08:00