114 Commits (e6c378e1edb61efb9f728550b97558dfb6328d9b)

Author SHA1 Message Date
Nguyen Anh Quynh 0cb3d6cb24 we broke compatibility of bunch of important APIs, so bump API version to 2.0 rather than 1.1 11 years ago
Nguyen Anh Quynh b90cb993ed API cs_version_ex(): since we already broke API compatibility, we are not afraid to break cs_version() too. this replaces cs_version() with cs_version_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 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 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 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 39a42eddfb Change the way of supporting arch modularization 11 years ago
Nguyen Anh Quynh f185180436 cleaner implementation for arch modularization 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
Nguyen Anh Quynh 1bdb23a76d add CS_OPT_MODE option. this allows us to change engine's mode at run-time 11 years ago
Nguyen Anh Quynh d06e2f5ac1 arm: expose alias registers SB, SL, FP & IP. attn: bindings 11 years ago
Nguyen Anh Quynh df3fb00ed7 arm: add comments to arm.h for coprocessor register types 11 years ago
Nguyen Anh Quynh 6f85aed4b7 arm: add comments to arm.h for coprocessor register types 11 years ago
Nguyen Anh Quynh 7957ed1def arm64: add some alias registers. attn: bindings 11 years ago
Nguyen Anh Quynh 46a5afd810 add comment to clarify which information in cs_insn is available when CS_OPT_DETAIL = OFF 11 years ago
Nguyen Anh Quynh 4994c587ad bindings: support new 'detail' option for java & python 11 years ago
Nguyen Anh Quynh 4d3e852fbb detail option: provide instruction id even when detail option is OFF 11 years ago
Nguyen Anh Quynh a209e67f8a support to turn on/off building instruction details 11 years ago
pancake f0e4eed89d Use const on all read-only buffers 11 years ago
Nguyen Anh Quynh ad89d25d05 mips: optimize Mips_map_register() to O(1). suggested by Pancake 11 years ago
Nguyen Anh Quynh 66f6c2283e mips: fix NEGU alias instruction. bug reported by Pancake 11 years ago
Nguyen Anh Quynh 36df4bb6a7 revert the cs_version() API 11 years ago
Nguyen Anh Quynh bb64b0bdca more API version to capstone.h, and remove cs_version(). reset API back to 1.0 for public release 11 years ago
Nguyen Anh Quynh bdaf3b5089 x86: delete useless constant values assigned for instructions in x86.h 11 years ago
Nguyen Anh Quynh 162409e730 mips: upgrade core engine 11 years ago
Nguyen Anh Quynh 731bf2a714 arm64: update core engine 11 years ago
Nguyen Anh Quynh 041e25dd66 add CS_ERR_OPTION type. cs_option() returns this error code on invalid option 11 years ago
Nguyen Anh Quynh a236902656 fix CS_INSN_OFFSET: calculate offset based on the address of related instruction only 11 years ago
Nguyen Anh Quynh a84d747f7c fix typo in CS_INSN_OFFSET 11 years ago
Nguyen Anh Quynh bb5460348b add CS_INSN_OFFSET macro, so we can easily calculate offset of one insn, given its position in its array 11 years ago
Nguyen Anh Quynh 4d70daf83d note that Intel is default syntax 11 years ago
Nguyen Anh Quynh a2f825ff07 support comments in autogen files, so constant files are more friendly 11 years ago
Nguyen Anh Quynh 79976c1370 fix some comments in capstone.h 11 years ago
Nguyen Anh Quynh 8f13f3c6ab rename @hex_code to @bytes, and move it to next to @size 11 years ago
Joxean 367a4df66f Partially reverted previous commit 11 years ago
Joxean 114df0ef2a Added @hex_code member 11 years ago
Nguyen Anh Quynh f8db76ab94 arm64: correct value of ARM64_SFT_ROR 11 years ago
Nguyen Anh Quynh ea5b79d058 move some alias registers around to after REG_MAX. this seems to fix some issues of clang, which struggles with enum that assign value from other enum 11 years ago
Nguyen Anh Quynh b39ef0bfa6 arm: added some alias registers 11 years ago
Nguyen Anh Quynh da8adaded2 API cs_option(): @value now has size_t, so mapping opaque pointer is possible for future options 11 years ago
Nguyen Anh Quynh c618db4473 change option names for cs_option(), and update python binding accordingly to support new cs_option() 11 years ago
Nguyen Anh Quynh b8ce68ec05 change cs_option() API to be more flexible with option value 11 years ago
Nguyen Anh Quynh 01aba002e3 add cs_option() API. move ATT & Intel syntax here, rather than having them as CS_MODE, which is wrong 11 years ago
Nguyen Anh Quynh 612b5d23e8 consistently use same param name @address rather than @offset in all cs_disasm*() API 11 years ago
Nguyen Anh Quynh f2a649e1ef cs_insn.address also needs to be changed after the change on @offset of cs_disasm*() API 11 years ago
Nguyen Anh Quynh 029df200b4 add some comments referring to cs_errno() on failure of some APIs 11 years ago
Nguyen Anh Quynh f35e2ad35c add @regs_read_count, @regs_write_count, @groups_count to @cs_insn. bump API to 1.4 11 years ago
pancake c04f873791 Use uint64_t instead of size_t for addresses 11 years ago
Nguyen Anh Quynh 3582bc1b9b arm64: ARM64_GRP_JUMP is in the wrong place. move it to its place and also clarify some GRP comments 11 years ago