Commit Graph

1968 Commits

Author SHA1 Message Date
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 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
Nguyen Anh Quynh
23280950b7 arm64: cleanup 2014-11-15 08:53:00 +08:00
Nguyen Anh Quynh
736762d395 update COMPILE.TXT to add more bindings 2014-11-14 15:22:05 +08:00
Nguyen Anh Quynh
b0ee0c9c4e Merge branch 'next' of https://github.com/aquynh/capstone into next 2014-11-14 10:11:39 +08:00
Nguyen Anh Quynh
f85f981be8 update COMPILE.TXT 2014-11-13 14:58:45 +08:00
Nguyen Anh Quynh
02cafeb8bd suite: update Mips modes of MC input to CS_MODE_MIPS32 & CS_MODE_MIPS64 2014-11-13 12:46:48 +08:00
Nguyen Anh Quynh
ff9a5743d9 ocaml: update Mips modes to CS_MODE_MIPS32 & CS_MODE_MIPS64 2014-11-13 12:09:49 +08:00
Nguyen Anh Quynh
a7b06fda6e capstone.h: add comments on some hardware modes 2014-11-13 12:00:48 +08:00
Nguyen Anh Quynh
e01fdfb94f java: add comments on hardware modes 2014-11-13 11:58:11 +08:00
Nguyen Anh Quynh
75c9b6a45c python: fix comments on hardware modes 2014-11-13 11:55:56 +08:00
Nguyen Anh Quynh
26fd6b1bd9 ocaml: typo (CS_MODE_32) in test_ppc.ml 2014-11-13 11:51:59 +08:00