Commit Graph

105 Commits

Author SHA1 Message Date
Nguyen Anh Quynh 3f461adae3 remove myinttypes.h 2016-04-26 09:47:30 +08:00
tandasat 152c1baf9f skip stdint.h for windows driver configuration 2016-04-23 15:58:31 -07:00
Nguyen Anh Quynh 3a46e85ad2 ppc: return failure when Base>=32 in decodeMemRIOperands() 2015-06-16 14:03:22 +08:00
Nguyen Anh Quynh 7ae9c9d9d3 ppc: handle invalid CR bits with more than 8 zeros in decodeCRBitMOperand(). bug reported by @felixgr 2015-06-16 13:59:10 +08:00
Nguyen Anh Quynh fb18a93f73 ppc: avoid potential memleak issue when alias mnemonic is empty in PPC_printInst() 2015-06-06 19:11:25 +08:00
Nguyen Anh Quynh 5cb356061e ppc: make sure alias mnememonic is not empty in PPC_printInst() 2015-06-06 16:10:07 +08:00
Cr4sh 9d60607645 inttypes.h fix 2015-03-29 18:29:06 +08:00
Nguyen Anh Quynh 674db4c96f ppc: fix some compilation bugs when DIET mode is enable 2014-12-16 22:12:23 +08:00
Peter Mackay 4e732c7db4 Populate PowerPC slwi/srwi instruction details with SH operand. 2014-11-23 00:15:19 +00: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 e07bc91349 ppc: fix a stupid mistake on printing operands of MR instruction 2014-11-11 13:12:22 +08:00
Nguyen Anh Quynh d82b28a75f ppc: do not print a dot in front of absolute address. issue reported by @pancake 2014-11-11 11:05:20 +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
kratolp 5c0d9a4ade Add '4*cri+cond' to operand list 2014-10-17 14:52:03 +02:00
kratolp f2b699a716 Don't add cr0 to the operand list as it's not displayed by the disassembly 2014-10-02 20:53:55 +02:00
Nguyen Anh Quynh e96935ed68 ppc: remove duplicate op_addReg() in printAliasInstrEx() 2014-10-02 17:09:22 +08:00
Nguyen Anh Quynh 48eb13c33c ppc: add detail for alias instructions introduced in the latest change by @kratolp 2014-10-01 21:18:55 +08:00
Nguyen Anh Quynh 6b731a097f fix conflicts when merging 2014-10-01 21:05:51 +08:00
Nguyen Anh Quynh 630bcd6d4e ppc: c99 2014-10-01 21:02:30 +08:00
Nguyen Anh Quynh 70fa90fbfe ppc: coding style 2014-10-01 18:21:02 +08:00
kratolp 73835104a4 Merge branch 'next' of https://github.com/aquynh/capstone into next
Conflicts:
	arch/PowerPC/PPCInstPrinter.c
2014-10-01 11:54:14 +02:00
kratolp a3f0aef79a PPC: Fix absolute/relative offset for branch instruction
PPC: Fix non handling of bc instruction that uses the CTR
2014-10-01 11:39:15 +02:00
Nguyen Anh Quynh e135056f17 fix a negative array index read in PPC_alias_insn(). issue reported by Coverity 2014-10-01 14:23:35 +08:00
Nguyen Anh Quynh 7e644f0fea ppc: initialize needComma to false. issue reported by Coverity 2014-10-01 14:13:48 +08:00
Nguyen Anh Quynh 6756eddee5 ppc: alias instructions handled by printAliasInstrEx() miss CR* registers in detail mode. fixed 2014-09-29 23:32:14 +08:00
Nguyen Anh Quynh ca44c4897d ppc: coding style for PPCInstPrinter.c 2014-09-29 17:58:20 +08:00
Nguyen Anh Quynh 27767e8c08 merge PR of @kratolp 2014-09-29 17:54:05 +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
kratolp f0221a2aeb * Fix pcc branch offset in a better way
* Update PPC branch alias function to print cri register
* Fix immediate branch offset sign extension for bd type branch instruction
2014-09-29 10:59:12 +02:00
Yegor Derevenets ced9d24e35 Workaround missing <inttypes.h> on MSVC 2010 2014-09-21 17:27:11 +02:00
Nguyen Anh Quynh 7e57e79800 ppc: handle branch condition for alias instructions. this also updates Python & Java bindings 2014-09-21 13:04:50 +08:00
Nguyen Anh Quynh 9d6383973f ppc: move our own alias instructions to PPCInstPrinter.c to isolate them from auto-gen code of LLVM 2014-09-20 12:02:19 +08:00
Nguyen Anh Quynh d37b0df762 merge PR of @kratolp 2014-09-20 11:27:07 +08:00
kratolp 05d4b83391 Extend sign of the branch destination operand 2014-09-16 17:15:50 +02:00
kratolp 87736c1e5e Update alias of PPC branch instructions 2014-09-16 17:13:39 +02:00
Nguyen Anh Quynh eaecfa4925 ppc: add PPC_INS_BNE for alias instruction BNE 2014-09-16 23:13:14 +08:00
Nguyen Anh Quynh f46ef2e0fe ppc: alias instruction for 'gBC 4, 2, target' to 'bne target'. issue reported by @kratolp 2014-09-15 12:12:10 +08:00
Nguyen Anh Quynh 721d07f6b2 ppc: support alias instructions. update Python & Java bindings accordingly 2014-09-04 12:03:31 +08:00
Nguyen Anh Quynh 0c07cc9b06 zero-out instruction details, mnemonic & op_str so cs_insn doesnt have garbage in Diet mode 2014-08-27 22:31:54 +08:00
Nguyen Anh Quynh 4c95022c74 fix warnings on unused variables when compiling in Diet mode 2014-08-27 18:33:38 +08:00
Nguyen Anh Quynh f41dc3222a Merge branch 'v3' of https://github.com/aquynh/capstone into v3 2014-08-26 16:42:55 +08:00
Nguyen Anh Quynh 14b684e07d last commit missed a check 2014-08-25 23:45:52 +08:00
Nguyen Anh Quynh b1e87e3e31 arm, mips, ppc, spac, x86: printAliasInstr() should handle \t (besides space) as separate char between mnemonic & operands 2014-08-25 23:27:33 +08:00
Nguyen Anh Quynh 1ce5dea3e0 ppc: fix an unused variable warning 2014-08-20 11:51:46 +08:00
Nguyen Anh Quynh 159ddbd99f ppc: add new groups to group_name_maps[] 2014-08-15 16:35:12 +08:00
Nguyen Anh Quynh 91a64776a8 ppc: fix a mistake on interpreting CR registers by deleting CR8 -> CR31 2014-08-15 13:48:11 +08:00
Nguyen Anh Quynh dd3deec1e9 ppc: update core. this added new instructions, groups & registers. updated Python & Java bindings accordingly 2014-08-15 13:26:12 +08:00
Nguyen Anh Quynh 5d8067822b Merge branch 'next' of https://github.com/flyingsymbols/capstone into arm 2014-07-31 15:36:13 +08:00