Commit Graph

2437 Commits

Author SHA1 Message Date
Nguyen Anh Quynh 27ca16f14b Merge pull request #843 from JustEnuff2BDangerous/master
Patch for issue #842
2017-01-19 09:10:19 +08:00
JustEnuff2BDangerous 6d2c587536 Patch for issue #842
The SETEND instruction is a 16 bit Thumb instruction which is included
in T variants of ARMv6 and above, but is not available in M-Class cores
(see ARM Compiler toolchain Assembler Reference Ver 5.0).

To be consistent with other similar instructions its group flags have
been updated to be:

{ARM_GRP_THUMB, ARM_GRP_V6, ARM_GRP_NOTMCLASS,0}
2017-01-18 17:35:42 +00:00
Nguyen Anh Quynh c1f19ef166 x86: Fix the operand encoding in the test instruction for reduce set, issue #702 2017-01-03 01:30:34 +08:00
Nguyen Anh Quynh 9de18b3397 x86: Fix the operand encoding in the test instruction, issue #702 2017-01-03 01:09:15 +08:00
Nguyen Anh Quynh b7bee9fa2e Merge pull request #833 from 0xbc/fix_cstool_build_vs2012
Fix build under VS2012 (i.e. MSC_VER = 1700)
2016-12-21 10:59:50 +08:00
Ben Cheney 7efaf351d2 Fix build under VS2012 (i.e. MSC_VER = 1700)
cstool.c currently imports inttypes.h, which breaks
building on older Visual Studio versions (I've been
testing 2012). This commit removes the explicit include
of inttypes.h, which is already handled in platform.h
(which is included by capstone.h). A define for the
function strtoull (used by cstool) has also been added
to platform.h for the case where MSC_VER <= 1700.

I don't know what effect this will have on OS X builds
as I'm unable to test on that platform.

Also, cstool.c doesn't need to include stdio.h
because it's already included by capstone.h.
2016-12-21 13:12:32 +10:30
Nguyen Anh Quynh 213378e4b2 Merge pull request #817 from GBuella/fix_x86_rel_addr_macro
x86: fix X86_REL_ADDR macro - handle two-byte jump instructions
2016-11-22 10:20:13 +08:00
Gabor Buella 07dc190b7a x86: fix X86_REL_ADDR macro - handle two-byte jump instructions 2016-11-21 16:40:42 +01:00
microplankton c53e69ede3 Add a check of MSVC variable before setting flags that link the libra… (#814)
* Add a check of MSVC variable before setting flags that link the library with the MSVC static runtime

* Move MSVC guard inside the 'foreach' loop used to force static runtime link
2016-11-16 08:11:36 +08:00
Nguyen Anh Quynh b25759f491 Merge pull request #815 from FuzzySecurity/PowerShell-Binding
PowerShell binding: $Address -> UInt64 !Int32
2016-11-16 00:15:24 +09:00
FuzzySecurity fd2df77756 $Address -> UInt64 !Int32 2016-11-15 13:45:52 +01:00
FuzzySecurity d3ce8be3c6 Merge remote-tracking branch 'aquynh/master' into PowerShell-Binding 2016-11-15 13:36:24 +01:00
Nguyen Anh Quynh d17d4f9399 Merge pull request #813 from ehntoo/master
Use the correct mapping for 32-bit Thumb Big-Endian insns
2016-11-14 21:30:52 +09:00
Mitchell Johnson 9971a0ad26 Use the correct mapping for 32-bit Thumb Big-Endian insns 2016-11-13 23:18:13 -05:00
b33f d4ddae2876 Fix cs_close() pointer to handle not handle (#810)
* Binding.README

* Binding.README

* Binding.README

* Binding.README.Ps1

* Binding.PowerShell-Script

Added script to generate compressed DLL output & update for README

* PowerShell.Binding-Rework

A rework of the pull request based on feedback for the same pull
request in Keystone

* +Get-CapstoneDisassembly

Reworked according to the module in Keystone

* Revert constant generation + Quality of service change

* Fix: cs_close -> [ref]Ptr not Ptr
2016-11-13 22:35:16 +09:00
FuzzySecurity 407e277efb Fix: cs_close -> [ref]Ptr not Ptr 2016-11-12 16:01:33 +01:00
FuzzySecurity 8e773ffbc1 Merge remote-tracking branch 'aquynh/master' into PowerShell-Binding 2016-11-12 15:57:40 +01:00
Nguyen Anh Quynh 9692327fd4 update CREDITS.TXT 2016-11-11 23:14:23 +09:00
b33f a9f7c50601 PowerShell binding (#803)
* Binding.README

* Binding.README

* Binding.README

* Binding.README.Ps1

* Binding.PowerShell-Script

Added script to generate compressed DLL output & update for README

* PowerShell.Binding-Rework

A rework of the pull request based on feedback for the same pull
request in Keystone

* +Get-CapstoneDisassembly

Reworked according to the module in Keystone

* Revert constant generation + Quality of service change
2016-11-11 23:11:00 +09:00
FuzzySecurity f575f5e75e Revert constant generation + Quality of service change 2016-11-11 14:15:45 +01:00
FuzzySecurity 6d2fad58fc +Get-CapstoneDisassembly
Reworked according to the module in Keystone
2016-11-10 22:36:07 +01:00
Nguyen Anh Quynh 980cfa8f7d x86: fix (AT&T) instruction SLDT for issue #807 2016-11-08 11:46:56 +08:00
Nguyen Anh Quynh e6ca012983 x86: fix (AT&T) instruction lgs for issue #805 2016-11-08 11:39:40 +08:00
Nguyen Anh Quynh d2574a2214 x86: fix (AT&T) ROL instruction in issue #804 2016-11-08 11:28:43 +08:00
Nguyen Anh Quynh 9ed7f53376 x86: fix movw instruction in #789 2016-11-08 10:56:42 +08:00
Nguyen Anh Quynh c4137655e4 x86: fix sysexit in #806 2016-11-08 10:28:40 +08:00
FuzzySecurity a880dbe193 PowerShell.Binding-Rework
A rework of the pull request based on feedback for the same pull
request in Keystone
2016-11-05 03:53:37 +01:00
Nguyen Anh Quynh f366e54b1a cstool: remove M68K support 2016-11-05 00:52:54 +08:00
Nguyen Anh Quynh e6544563df cstool: print out insn groups 2016-11-05 00:50:44 +08:00
Nguyen Anh Quynh 4369dd7702 cstool: remove its version 2016-11-04 23:59:34 +08:00
FuzzySecurity cebf2d6b21 Binding.PowerShell-Script
Added script to generate compressed DLL output & update for README
2016-11-04 10:56:47 +01:00
FuzzySecurity 6dbff910bc Binding.README.Ps1 2016-11-03 21:56:37 +01:00
FuzzySecurity c9b546ab3f Binding.README 2016-11-03 21:51:48 +01:00
FuzzySecurity 7a8ce82ace Binding.README 2016-11-03 21:49:01 +01:00
FuzzySecurity 6705a8adf2 Binding.README 2016-11-03 21:29:37 +01:00
Samuel Chevet 53fb2ea844 Add X86_REG_EFLAGS for X86_STC and X86_STD for full x86 instructions … (#800)
* Add X86_REG_EFLAGS for X86_STC and X86_STD for full x86 instructions ; Add X86_REG_EFLAGS for X86_CLD, X86_CMC for reduce and full x86 instructions

* Add trailing zero for regs write in X86_CLC ; X86_CLD ; X86_CMC
2016-10-28 21:38:34 +08:00
Nguyen Anh Quynh ebe556011b cstool: update README 2016-10-28 21:23:42 +08:00
Nguyen Anh Quynh 1fefa5cd4d tests: cleanup test_arm.c 2016-10-28 17:29:21 +08:00
Nguyen Anh Quynh 112b6cf489 Merge pull request #798 from w4kfu/master
Add X86_REG_EFLAGS for X86_STC and X86_STD
2016-10-28 10:35:15 +08:00
Samuel CHEVET d4e5ebb1b8 Add X86_REG_EFLAGS for X86_STC and X86_STD 2016-10-27 15:31:22 -04:00
Nguyen Anh Quynh f61483c53b bump package version to 3.0.5 2016-10-26 10:55:15 +08:00
Nguyen Anh Quynh 3bd582ef64 python: bump version to 3.0.5 2016-10-26 10:52:53 +08:00
Nguyen Anh Quynh 35618927a1 update CREDITS.TXT 2016-10-26 04:59:26 +08:00
Nguyen Anh Quynh 6bb33edf7e python: capitalized cython name 2016-10-26 04:52:58 +08:00
Nguyen Anh Quynh 9cc8ca6769 python: merge conflict 2016-10-26 04:50:44 +08:00
Nguyen Anh Quynh b1b5ef8d1a Merge branch 'master' into test 2016-10-26 04:47:03 +08:00
Andrew Dutcher 4c4d129f86 Python: Actually attempt to load .so.3 extension on linux 2016-10-25 12:56:10 -07:00
Andrew Dutcher 97422c15bd Python: Spelling/capitalization/contact fixes in readme 2016-10-25 12:56:10 -07:00
Andrew Dutcher ffd5320690 Minor english fixes 2016-10-25 12:56:10 -07:00
Andrew Dutcher a75324fc03 Python: remove special case for cygwin build 2016-10-25 12:56:10 -07:00