179 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
b8b83482b7 arm: print immediate in hex format when suitable for printModImmOperand() 2015-03-07 00:26:24 +08:00
Nguyen Anh Quynh
bfcaba5851 2015 2015-03-04 17:45:23 +08:00
Nguyen Anh Quynh
2c55b81f06 mips: fix conflict when merging with 'next' branch 2015-03-04 11:29:49 +08:00
Félix Cloutier
3973d8b11e Silencing Clang warning bys casting values
Warnings were: "Implicit conversion loses integer precision: 'size_t' to 'cs_mode'/'cs_opt_value'"
2015-03-04 11:26:27 +08:00
Nguyen Anh Quynh
7e25609ad3 arm: fix bugs in the last commit 2015-03-03 18:28:10 +08:00
Nguyen Anh Quynh
d1fc2bd3b9 arm: update core 2015-03-03 16:26:32 +08:00
Nguyen Anh Quynh
c87ccd1b89 mips: fix bugs in the last update 2015-03-02 17:31:44 +08:00
Nguyen Anh Quynh
96ee76fa2a Merge branch 'next' of https://github.com/radare/capstone into test2 2015-02-28 08:29:21 +08:00
Nguyen Anh Quynh
4b68d9505e arm: fix some warnings reported by MSVC 2015-02-25 18:02:19 +08:00
Nguyen Anh Quynh
9f4b373f56 arm: fix some instructions in insn_ops[] 2015-02-24 18:38:56 +08:00
pancake
9c10ace558 Make pkg-config and source consistent with installation 2015-02-24 05:03:04 +01:00
Nguyen Anh Quynh
4c5039582b arm: fix bugs in the last commit where some instructions in insn_ops[] do not update CPSR 2015-02-24 09:19:25 +08:00
Nguyen Anh Quynh
10434df006 arm: some instructions update status flags in insns_ops[] 2015-02-24 08:58:22 +08:00
Nguyen Anh Quynh
760c5486d2 arm: fix some more Thumb & vectored instructions in insn_ops[] 2015-02-24 00:16:03 +08:00
Nguyen Anh Quynh
cea230f867 arm: fix some Thumb instructions in insn_ops[] 2015-02-23 23:56:40 +08:00
Nguyen Anh Quynh
d0f96df26d arm: add insn_ops[] (temporarily disable) 2015-02-23 23:50:15 +08:00
pzread
ced9a6ed92 Correct printAM3PreOrOffsetIndexOp disp value 2015-02-15 22:41:20 +08:00
pzread
ec95020fa0 Remove incorrect ITBlock.size = 0 2015-02-15 09:33:39 +08:00
Nguyen Anh Quynh
58fbf2f627 arm: add few more post-indexed instructions doing writeback 2015-01-21 12:25:36 +08:00
Nguyen Anh Quynh
5719eb5a9d arm: fix a bug in the last commit 2015-01-21 12:16:15 +08:00
Nguyen Anh Quynh
03e5e106b0 arm: some load/store instructions writeback without bang letter. bug reported by @jabba2989 2015-01-21 12:15:14 +08:00
Nguyen Anh Quynh
67fe1c2547 arm: in Thumb mode, ADC & SBC do not update flags. bug reported by @jabba2989 2015-01-13 22:17:37 +08:00
Nguyen Anh Quynh
706b808af3 arm: add lshift field to arm_op_mem to provide left-shift value for index register in some memory op. issue reported by @jabba2989 2015-01-12 15:27:29 +08:00
derrek
bda2c1c591 arm: Thumb BL & BLX read ARM_REG_PC instead of ARM_REG_SP. 2014-12-29 17:20:19 +01:00
Nguyen Anh Quynh
0f9ef1559d arm: BL & BLX do not read SP, but PC register. issue reported by Der Rek 2014-12-27 16:16:12 +08:00
Nguyen Anh Quynh
3caf837c9a arm: alias LDR instruction with operands '[sp], 4' to POP. suggested by Pancake 2014-11-27 14:34:40 +08:00
Nguyen Anh Quynh
a2934a7b6a arm: print immediate op of MVN instruction in positive hexadecimal form. issue reported by Pancake 2014-11-25 21:02:18 +08:00
Nguyen Anh Quynh
c00bc2efb6 fix the left-over C89 issues introduced by Pedro 2014-11-21 19:29:47 +08:00
reverser
68197d9a5e Make it C89 compatible. 2014-11-20 13:45:43 +00:00
reverser
202da41980 Fix compiler warnings about different sizes and sign. 2014-11-20 12:13:19 +00:00
Nguyen Anh Quynh
1ffc1b2201 arm: fix printMemBOption() that was wrongly fixed in 51888c3e0824dfcc7571d84fda303a8504763e2d 2014-11-12 13:33:15 +08:00
Nguyen Anh Quynh
51888c3e08 arm: fix some bugs reported by VS2010. thanks Axel for testing 2014-11-11 23:59:23 +08:00
Nguyen Anh Quynh
8cdafda551 arm: add new field mem_barrier to cs_arm struct. this requires changes in bindings 2014-11-11 22:30:30 +08:00
Nguyen Anh Quynh
278e7270d9 arm: print immediate in positive form for AND/ORR/EOR/BIC instructions 2014-11-11 12:50:43 +08:00
Nguyen Anh Quynh
2ac5d79353 arm: print floating point number in %e format 2014-11-10 21:46:34 +08:00
Nguyen Anh Quynh
6acaaa5e44 arm: printAddrMode5Operand() is wrong on calculating subtracted variable 2014-11-10 17:41:05 +08:00
Nguyen Anh Quynh
4e17eefc57 arm: lowercase for apsr_nzcv 2014-11-10 17:02:32 +08:00
Nguyen Anh Quynh
d865f39a68 arm: use lowercase for special registers 2014-11-10 16:38:17 +08:00
Nguyen Anh Quynh
2593e22932 arm: support V8 as a mode for A32 encodings 2014-11-10 16:35:38 +08:00
Nguyen Anh Quynh
c2ea812ea7 fix cs_group_name() after the change on generic group ids 2014-10-31 15:36:19 +08:00
Nguyen Anh Quynh
c58e704517 do not need to explicitly assign values for operand types in the last commit 2014-10-31 13:55:18 +08:00
Nguyen Anh Quynh
21ac056728 use common operand types across all architectures. this adds cs_op_type to capstone.h. suggestion by @zneak 2014-10-31 13:08:28 +08:00
flyingsymbols
d91f964d40 * Fixed bug in Thumb2 pop caused by me incorrectly assuming that
ARM_SP == 13, ARM_LR == 14, and ARM_PC == 15, which is not the case
* updated CMakeLists to include building arm regression test
* added explicit casts for 64 bit visual studio 2012 build to get around
  truncation warnings from size_t conversion
2014-10-23 12:04:23 -04:00
Nguyen Anh Quynh
11f8e7c596 arm: B, BL, BX, BLX, BXJ belong to ARM_GRP_JUMP group. issue reported by @nanomad 2014-10-21 17:35:34 +08:00
Nguyen Anh Quynh
8bf5fa60ad arm: remove dead code 2014-10-07 07:56:01 +08:00
Nguyen Anh Quynh
b0cc71da59 bindings: update java/ocaml/python after the last change in Arm's core 2014-10-06 21:01:32 +08:00
Nguyen Anh Quynh
8fb2eab459 arm: some operands can get subtracted from base register, thus have '-' sign associated. this adds subtracted field into cs_arm_op to provide this info. issue reported by Yegor Derevenets 2014-10-06 20:27:25 +08:00
Nguyen Anh Quynh
9235fdc504 arm: The Thumb2 ldrexd and strexd instructions are not defined for M-class architectures 2014-09-30 07:44:50 +08:00
Nguyen Anh Quynh
d7e42b7d36 rename all the constants marking ending from _MAX to _ENDING. this also updates Java/Python/Ocaml bindings accordingly 2014-09-29 17:15:25 +08:00
Nguyen Anh Quynh
d442fbc06e arm: t2BXJ also belongs to groups ARM_GRP_NOTMCLASS & ARM_GRP_PREV8 2014-09-26 10:38:29 +08:00