Nguyen Anh Quynh
51754231b9
x86: check instruction size <=15 as soon as possible
2014-12-18 00:20:07 +08:00
Nguyen Anh Quynh
3539595183
x86: instruction length must be <= 15
2014-12-17 23:53:32 +08:00
Nguyen Anh Quynh
a3d689de51
x86: allow to mix REX & legacy prefix repeatedly in any order
2014-12-16 22:36:16 +08:00
Nguyen Anh Quynh
674db4c96f
ppc: fix some compilation bugs when DIET mode is enable
2014-12-16 22:12:23 +08:00
Nguyen Anh Quynh
10ecdaef31
x86: support some new instructions or new encodings of some new instructions: MOVSXD, FXCH, FCOM, FCOMP, FSTP, FSTPNCE, NOP
2014-12-16 22:04:07 +08:00
Nguyen Anh Quynh
145efa5be6
Merge branch 'next' into rex
2014-12-16 12:37:03 +08:00
Nguyen Anh Quynh
2537cfd669
python: fix a memory leak issue when we stop enumeration over the disassembled instructions prematurely. patch by Jan Newger
2014-12-16 00:09:40 +08:00
Nguyen Anh Quynh
58831e8d2c
Merge branch 'next' into rex
2014-12-15 11:39:17 +08:00
Nguyen Anh Quynh
611b0c5c22
code style
2014-12-15 11:22:46 +08:00
Nguyen Anh Quynh
dfde75c379
Merge branch 'out_of_mem_fix' of https://github.com/nedwill/capstone into next
2014-12-15 11:20:32 +08:00
Edward Williamson
f1e497502c
check malloc return value
2014-12-14 20:45:19 -05:00
Nguyen Anh Quynh
1016d3214d
x86: only eliminate REX prefixes if next byte is not a legacy prefix
2014-12-13 10:27:56 +08:00
Nguyen Anh Quynh
1cbc222626
x86: eliminate redundant REX prefixes in front of x86_64 instruction. bug reported by Aurélien Wailly
2014-12-13 01:41:49 +08:00
Nguyen Anh Quynh
03a1836454
arm64: set absolute (rather than relative) address B/BL. issue reported by Pancake
2014-12-12 22:06:06 +08:00
Nguyen Anh Quynh
c2925e9034
x86: accept more than one REX prefix for x86_64. bug reported by Aurélien Wailly. thanks Ange Albertini for help
2014-12-12 18:31:31 +08:00
Nguyen Anh Quynh
073a3dd701
package: update Brew formula (copied from Homebrew repo)
2014-12-12 14:09:33 +08:00
Nguyen Anh Quynh
03fb6f357d
x86: MOV32sm should reference word rather than dword. bug reported by Andrew Wesie
2014-12-12 11:51:35 +08:00
Nguyen Anh Quynh
1befd7584a
x86: reverse the order of operands for alias instruction IMUL in Intel syntax. bug reported by Andrew Wesie
2014-12-12 11:40:59 +08:00
Nguyen Anh Quynh
9578185ad8
x86: add missing operands in detail mode for 'IN/OUT reg, reg' instructions. bug reported by Andrew Wesie
2014-12-12 11:25:12 +08:00
Nguyen Anh Quynh
2ce4da3726
x86: fix the last bug on PUSH/POP <segment> for ATT syntax
2014-12-12 10:44:58 +08:00
Nguyen Anh Quynh
b32515d622
x86: add missing operands in detail mode for PUSH/POP <segment> instructions. bug reported by Andrew Wesie
2014-12-12 10:40:15 +08:00
Nguyen Anh Quynh
5b981a4399
x86: also fix AT&T syntax for the last MOV32ms bug
2014-12-04 23:19:04 +07:00
Nguyen Anh Quynh
344d5e250a
Merge branch 'next' of https://github.com/aquynh/capstone into next
2014-12-04 23:13:46 +07:00
Nguyen Anh Quynh
ba31f26d5d
x86: MOV32ms should reference word rather than dword. bug reported by Gabriel Quadros
2014-12-04 23:12:38 +07: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
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
Nguyen Anh Quynh
07532bd620
Merge branch 'master' of https://github.com/gdbinit/capstone into fix
2014-11-21 19:21:40 +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
8ab01369d7
python: export generic operand types & groups
2014-11-19 22:12:40 +08:00
Nguyen Anh Quynh
b53a59af53
update ChangeLog for 3.0
3.0
2014-11-19 17:56:04 +08:00
Nguyen Anh Quynh
812221894c
merge next branch
2014-11-19 16:56:59 +08:00
Nguyen Anh Quynh
89460299c3
python: python2.6 does not understand sys.versionn_info.major
2014-11-19 14:37:08 +08:00
Nguyen Anh Quynh
0ea529a6f3
java: add close() method to avoid some unknown crash caused by finallize() on Ubuntu 14.04. FIXME
2014-11-19 10:58:31 +08:00
Nguyen Anh Quynh
fadbddcbf8
update ChangeLog for 3.0
2014-11-18 22:53:32 +08:00
Nguyen Anh Quynh
05522dcb8c
python: add some missing source files of sdist (setup.py)
2014-11-18 14:22:51 +08:00
Nguyen Anh Quynh
4e3b933b76
python: fix setup.py for possible failure on dir_util.remove_tree() if src/ is not empty
2014-11-18 11:06:31 +08:00
Nguyen Anh Quynh
7f6d4a932f
python: add Python 3 support into classifiers of setup.py
2014-11-18 10:45:21 +08:00
Nguyen Anh Quynh
f32d08a7ec
Merge branch 'next' into pip
2014-11-18 10:43:46 +08: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
d83c8c7d44
suite: change CS_MODE_32 -> CS_MODE_MIPS32, CS_MODE_64 -> CS_MODE_MIPS64 for fuzz.py & benchmark.py
2014-11-17 17:38:18 +08:00
Nguyen Anh Quynh
faa925ab8f
fix bindings (python/java) and tests after the last change on the type of imm of cs_arm64_op
2014-11-17 11:39:36 +08:00
Nguyen Anh Quynh
56128da515
arm64: for operand type IMM, value should have the type int64_t, not int32_t. all bindings should be fixed
2014-11-17 11:27:15 +08:00
Nguyen Anh Quynh
aa50c645a8
arm64: fix ADRP (relative offset). bug reported by @shadymallow
2014-11-17 11:21:57 +08:00
Nguyen Anh Quynh
57a902d045
suite: add crc32 instruction to x86odd.py
2014-11-16 19:48:41 +08:00
Nguyen Anh Quynh
b0082295a1
suite: add some tricky x86 code to x86odd.py
2014-11-16 19:08:25 +08:00
Michael Cohen
4c1384fa31
Updated setup.py so it can build the capstone library by itself.
...
This is a requirement for an automated install via pip. After this change it
should be possible to depend on captone in pip and have it built automatically.
2014-11-15 22:15:12 +01:00
Nguyen Anh Quynh
bb77154a4f
Merge branch 'next' of https://github.com/aquynh/capstone into next
2014-11-16 00:26:23 +08:00