Satoshi Tanda
c7b00b3756
suppress MSVC code analysis (PREfast) warnings
...
Signed-off-by: Satoshi Tanda <tanda.sat@gmail.com>
2016-09-28 07:33:39 -07:00
tandasat
e36384e224
Merge remote-tracking branch 'upstream/next' into next
2016-05-11 22:52:34 -07:00
tandasat
d4ef430b33
port Windows driver support
2016-05-11 21:48:32 -07:00
Koutheir Attouchi
9f2070748c
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
Nguyen Anh Quynh
22bc86f4fe
xcore: increase op_count in set_mem_access() only on register operand. bug reported by Ben Nagy
2015-06-06 12:30:14 +08:00
Nguyen Anh Quynh
f16c9bd400
xcore: turn off doing_mem after each printing each instruction. this fixes a memory corruption reported by @felixgr
2015-06-05 18:06:46 +08: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
fcde1e190a
Merge branch 'next' of https://github.com/aquynh/capstone into next
2015-03-11 10:28:49 +08:00
pancake
21b0bdd0e1
Fix indent issue
2015-03-11 00:40:14 +01:00
Nguyen Anh Quynh
a7837a4ae3
sparc, systemz, xcore: getInstruction() should return boolean instead of DecodeStatus
2015-03-10 15:20:20 +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
bfcaba5851
2015
2015-03-04 17:45:23 +08:00
Nguyen Anh Quynh
338f2eae4c
xcore: update core
2015-03-04 14:10:41 +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
22278ec937
mips & xcore: some safety guards to make sure printOperand() do not overflow Operands[] for some unknown reasons
2014-11-17 22:59:24 +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
Yegor Derevenets
ced9d24e35
Workaround missing <inttypes.h> on MSVC 2010
2014-09-21 17:27:11 +02: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
ed1234a892
xcore: update core
2014-08-26 14:11:09 +08:00
Nguyen Anh Quynh
4db4d9bdd7
xcore: fix an warning of unused array when DIET mode is enable
2014-08-13 00:29:51 +08:00
Nguyen Anh Quynh
650f96ce43
add new API cs_group_name() to return group name in string, given the group id
2014-07-08 08:59:27 +08:00
Nguyen Anh Quynh
cae09bf543
replace offset_of with offsetof from stddef.h
2014-06-17 14:58:39 +08:00
Nguyen Anh Quynh
d06f3d662b
xcore: use CreateImm0() & CreateReg0() to create MCOperand* to avoid using malloc/free
2014-06-16 14:35:08 +08:00
Nguyen Anh Quynh
88fca42a5f
xcore: use SStream_concat0() instead of SStream_concat() for simple string processing whenever possible
2014-06-16 14:30:19 +08:00
Nguyen Anh Quynh
b95647d2c1
systemz & xcore: create details only when detail mode is ON. this fixes some crashes in tests/test
2014-06-09 18:49:37 +07:00
Nguyen Anh Quynh
69582d71ae
initialize cs_insn.detail by properly zero-out right members for each arch
2014-06-09 17:50:01 +07:00
Nguyen Anh Quynh
29fd0f6405
fix all the code in other non-X86 archs after the change made by commit 5329a6ffd4
2014-06-09 08:00:18 +07:00
Nguyen Anh Quynh
d0023197eb
cmake: support Sparc, SystemZ & XCore
2014-05-28 15:15:00 +08:00
Nguyen Anh Quynh
3a5965eb05
xcore: fix some warnings with Diet mode
2014-05-28 15:14:28 +08:00
Nguyen Anh Quynh
b2e566ac88
xcore: use strcpy() rather than strncpy()
2014-05-28 11:35:19 +08:00
Nguyen Anh Quynh
2a33afe6e8
msvc: make MSVC shutup on strncpy()
2014-05-28 00:24:33 +08:00
Nguyen Anh Quynh
dc1af545c0
msvc: fix warnings
2014-05-28 00:14:22 +08:00
Nguyen Anh Quynh
be2b788dc1
xcore: handle details for some special tricky instructions
2014-05-27 23:34:03 +08:00
Nguyen Anh Quynh
04f2ec6d0f
cleanup redundant headers included
2014-05-27 10:39:04 +08:00
Nguyen Anh Quynh
553bb488d7
python: support XCore
2014-05-26 23:47:45 +08:00
Nguyen Anh Quynh
c80d840ffc
add XCore architecture
2014-05-26 23:02:48 +08:00