Koutheir Attouchi
b914a1be3f
Added support for building binaries for Windows CE 7 on ARMv7 (a.k.a., Windows Embedded Compact 7) and for Windows CE 8 on ARMv7 (a.k.a., Windows Embedded Compact 2013).
...
Added support for building binaries for Windows CE 7 on ARMv7 (a.k.a., Windows Embedded Compact 7) and for Windows CE 8 on ARMv7 (a.k.a., Windows Embedded Compact 2013).
Added support for building binaries for Windows CE 7 on ARMv7 (a.k.a., Windows Embedded Compact 7) and for Windows CE 8 on ARMv7 (a.k.a., Windows Embedded Compact 2013).
Replaced header inclusions of "stdint.h" and "intrin.h" by selective inclusions to support platforms that do not provide those headers. The header "platform.h" handles the platform test.
Updated the build script for Windows CE 7 on ARMv7.
2016-04-07 17:05:00 +02:00
Per Mildner
5441d5c0f5
Do not truncate branch target address to 32 bit
2016-03-25 17:07:39 +01:00
Nguyen Anh Quynh
586e439f75
fix some compilation warnings reported by MSVC
2016-03-08 00:49:15 +08:00
Nguyen Anh Quynh
761c9c84a4
ppc: return failure when Base>=32 in decodeMemRIOperands()
2015-06-16 14:03:07 +08:00
Nguyen Anh Quynh
011bf8bf84
ppc: handle invalid CR bits with more than 8 zeros in decodeCRBitMOperand(). bug reported by @felixgr
2015-06-16 13:59:36 +08:00
Nguyen Anh Quynh
6183e381f9
ppc: avoid potential memleak issue when alias mnemonic is empty in PPC_printInst()
2015-06-06 18:06:38 +08:00
Nguyen Anh Quynh
3cf62514ce
ppc: make sure alias mnememonic is not empty in PPC_printInst()
2015-06-06 16:09:15 +08:00
Yegor Derevenets
aa17e372d1
Fix building by MSVC 2010 lacking inttypes.h
2015-05-24 19:12:27 +02:00
Nguyen Anh Quynh
b0217f6ebd
ppc: fix an warning on comparison of unsigned int
2015-05-16 09:25:29 +08:00
Gabriel Corona
8102aacfda
Make PowerPC imm 64 bit (instad 32 bit)
2015-05-14 23:16:55 +02:00
Nguyen Anh Quynh
1182d25759
simplify ARCH_group_name() by using lookup table as suggested by @learn_more. also added the missing group name for GRP_PRIVILEGE
2015-04-27 12:13:34 +08:00
Cr4sh
19ee2d10b3
inttypes.h fix
2015-03-29 21:16:38 +08:00
Nguyen Anh Quynh
efffe787d1
Add new API and start to provide access information for instruction operands
...
- New API cs_regs_access() that provide registers being read & modified by instruction
- New field cs_x86_op.access provides access info (READ, WRITE) for each operand
- New field cs_x86.eflags provides EFLAGS affected by instruction
- Extend cs_detail.{regs_read, regs_write} from uint8_t to uint16_t type
2015-03-25 15:02:13 +08:00
Nguyen Anh Quynh
b8ffb86b02
ppc: fix a bug in QPX mode & add some QPX alias instructions.
2015-03-12 16:52:31 +08:00
Nguyen Anh Quynh
0cc0543486
ppc: add missing groups to group_name_maps[]. bug reported by Coverity
2015-03-12 00:30:44 +08:00
Nguyen Anh Quynh
8c212fd25e
ppc: add the missing Q0 register to reg_name_maps[]. bug reported by Coverity
2015-03-11 10:29:08 +08:00
pancake
21b0bdd0e1
Fix indent issue
2015-03-11 00:40:14 +01:00
Nguyen Anh Quynh
037e01f942
core: remove unused Subregister indices for Sparc, PPC, SystemZ & Mips
2015-03-09 21:36:02 +08:00
Nguyen Anh Quynh
bb5dccedfa
core: put insns[] into separate .inc files to make it easier to manage
2015-03-08 10:54:32 +08:00
Nguyen Anh Quynh
f4a2da5a94
ppc: fix PPC_init()
2015-03-05 00:33:29 +08:00
Nguyen Anh Quynh
bfcaba5851
2015
2015-03-04 17:45:23 +08:00
Nguyen Anh Quynh
0be9eab6ba
ppc: update core
2015-03-04 17:06:48 +08:00
Nguyen Anh Quynh
c87ccd1b89
mips: fix bugs in the last update
2015-03-02 17:31:44 +08:00
pancake
9c10ace558
Make pkg-config and source consistent with installation
2015-02-24 05:03:04 +01: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