Commit Graph

488 Commits

Author SHA1 Message Date
fvrmatteo 02ca6a6a01 Regress test for SHR/SHL/SAR/SAL
This test needs to be checked for correctness.
2016-06-20 01:16:17 +02:00
Nguyen Anh Quynh d83d03a729 Merge pull request #196 from practicalswift/add-two-roundtrips
Add two round-trip failures.
2016-06-17 22:42:46 -04:00
Nguyen Anh Quynh 594279550b Merge pull request #197 from practicalswift/add-crash-case
Add crash case: crash-38-x64-cast-ty-argument-of-incompatible-type.c
2016-06-17 22:42:23 -04:00
Nguyen Anh Quynh c65727000a Merge pull request #199 from practicalswift/add-six-roundtrip-failures-ii
Add six round-trip failures
2016-06-17 22:41:56 -04:00
practicalswift d2793b7efb Add six round-trip failures. 2016-06-17 15:46:20 -04:00
practicalswift 9b6deb0b41 Add crash case: crash-38-x64-cast-ty-argument-of-incompatible-type.c
```
$ ./crash-38-x64-cast-ty-argument-of-incompatible-type
/path/to/llvm/include/llvm/Support/Casting.h:230: typename llvm::cast_retty<To, From>::ret_type llvm::cast(Y&) [with X = llvm::MCSectionELF; Y = llvm::MCSection; typename llvm::cast_retty<To, From>::ret_type = llvm::MCSectionELF&]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
Aborted
```
2016-06-17 11:44:05 -04:00
practicalswift 94fbb9b5c9 Add two round-trip failures. 2016-06-14 16:00:03 -04:00
Nguyen Anh Quynh 170bf4f882 x86: simple sanity check on immediate value to see if it is out of range. this fixes issue #185 2016-06-14 23:38:02 +07:00
Nguyen Anh Quynh 6a119cbd13 x86: fix issue #180 2016-06-14 17:33:23 +07:00
Nguyen Anh Quynh 7c55807d9e Merge pull request #194 from practicalswift/add-6-roundtrip-failures
Add six round-trip failures.
2016-06-13 07:39:09 +07:00
practicalswift 09d6732c41 Add six round-trip failures. 2016-06-12 12:53:12 -04:00
Nguyen Anh Quynh 7f80700665 Merge pull request #192 from lunixbochs/master
fix Go bindings for 32-bit
2016-06-12 21:54:58 +07:00
Ryan Hileman 599825d0f6 fix Go bindings for 32-bit 2016-06-11 17:51:18 -07:00
Nguyen Anh Quynh 90d146731f Merge pull request #190 from practicalswift/add-roundtrips
Add a few round-trip failures.
2016-06-11 22:39:54 +07:00
practicalswift 661dfd55b1 Add a few round-trip failures. 2016-06-10 15:56:19 -04:00
Nguyen Anh Quynh 0c4fcd7c30 Merge pull request #186 from lunixbochs/go-binding-1
fix go bindings with system-installed keystone
2016-06-08 07:42:52 +07:00
Nguyen Anh Quynh 72287c60fe Merge pull request #189 from practicalswift/add-eleven-roundtrip-failures
Add eleven round-trip failures.
2016-06-07 13:08:29 +07:00
practicalswift ba4ea656a9 Add eleven round-trip failures. 2016-06-07 02:05:37 -04:00
Ryan Hileman 388e173640 fix go bindings with system-installed keystone 2016-06-06 21:09:20 -07:00
Nguyen Anh Quynh 618ce063d0 Merge pull request #184 from adrianherrera/improvement/haskell-fixes
Minor updates
2016-06-06 21:32:38 +07:00
Nguyen Anh Quynh 0d95ba5b75 Merge branch 'master' of https://github.com/keystone-engine/keystone 2016-06-06 22:32:09 +08:00
Nguyen Anh Quynh f158857119 arm: fix target value of BLX. this fixes issue #166 2016-06-06 22:31:53 +08:00
Adrian Herrera 74f3916a53 Minor updates
Removed unused utility functions and renamed variables
2016-06-06 23:26:36 +10:00
Nguyen Anh Quynh ce5de8232f Merge pull request #183 from practicalswift/add-two-crash-cases
Add two crash cases
2016-06-06 18:15:38 +07:00
practicalswift 02c0dac603 Add two crash cases
* Add crash-36-x64-execution-aborted.c
* Add crash-37-x64-segfault-in-doit.c
2016-06-06 07:10:56 -04:00
Nguyen Anh Quynh fa4c4cfc30 Merge branch 'master' of https://github.com/keystone-engine/keystone 2016-06-06 00:17:57 +08:00
Nguyen Anh Quynh ddbfe508ed add Haskell binding to README.md 2016-06-06 00:16:22 +08:00
Nguyen Anh Quynh e112cc7bbd Merge pull request #178 from adrianherrera/improvement/fixed-function-arg-types
Changed argument types for ks_option and ks_free functions
2016-06-05 23:13:19 +07:00
Nguyen Anh Quynh 1369c47de6 Merge pull request #179 from adrianherrera/improvement/haskell-binding
Added Haskell bindings
2016-06-05 23:10:09 +07:00
Adrian Herrera 884d0bdb1d First pass of Haskell bindings
Both samples/sample.c and bindings/haskell/sample/Sample.hs produce the same
output
2016-06-06 00:07:47 +10:00
Nguyen Anh Quynh eabf8a7434 fix issue #148 2016-06-05 18:19:13 +08:00
Nguyen Anh Quynh 1dc1e88a50 x86: fix issue #149 2016-06-05 15:36:21 +08:00
Adrian Herrera 41c9d1c977 Changed argument type for the ks_free function
* ks_free: The 'p' argument should have type unsigned char* to match the type of the 'encoding' argument to ks_asm
2016-06-05 17:06:33 +10:00
Nguyen Anh Quynh 8b7ca00c50 x86: fix issue #168 2016-06-05 15:06:04 +08:00
Nguyen Anh Quynh 73d2b08308 Merge branch 'master' of https://github.com/keystone-engine/keystone 2016-06-05 14:03:03 +08:00
Nguyen Anh Quynh 4ea8d32d55 x86: fix issue #170 2016-06-05 14:02:42 +08:00
Nguyen Anh Quynh 464e83588d kstool: fix issue #177 2016-06-05 10:34:31 +08:00
Nguyen Anh Quynh c62ce3ff71 Merge pull request #176 from practicalswift/add-six-roundtrip-failures
Add six round-trip failures.
2016-06-05 09:00:13 +07:00
practicalswift ae2a422655 Add six round-trip failures. 2016-06-04 15:54:55 -04:00
Nguyen Anh Quynh 8b20229455 x86: fix issue #173 2016-06-05 02:24:09 +08:00
Nguyen Anh Quynh 6328e15382 regress: move arm_blx_rel_thumb2.py to the right place 2016-06-05 01:39:48 +08:00
Nguyen Anh Quynh 41cfe325ea Merge pull request #174 from practicalswift/crash-35-x64-this-is-not-an-immediate.c
Add crash case crash-35-x64-this-is-not-an-immediate.c
2016-06-04 23:29:50 +07:00
Nguyen Anh Quynh 3bae304418 Merge branch 'master' of https://github.com/keystone-engine/keystone 2016-06-05 00:28:09 +08:00
Nguyen Anh Quynh 904b4a0d61 Merge pull request #175 from McLovi9/patch-1
Create arm_blx_rel_thumb2.py
2016-06-04 23:07:50 +07:00
McLovi9 f8cb69e9fe Create arm_blx_rel_thumb2.py
blx thumb bug #166
2016-06-04 17:18:19 +02:00
practicalswift ae0761f87b Add crash case crash-35-x64-this-is-not-an-immediate.c 2016-06-04 07:37:42 -04:00
Nguyen Anh Quynh a8b5b28bff Merge branch 'improvement/generate-pkg-config' of https://github.com/adrianherrera/keystone into adrianherrera-improvement/generate-pkg-config 2016-06-04 18:23:10 +08:00
Nguyen Anh Quynh 72810ac951 Merge pull request #172 from practicalswift/add-three-crash-cases
Add three crash cases
2016-06-04 17:04:04 +07:00
practicalswift 688de828d2 Add three crash cases. 2016-06-04 03:55:34 -04:00
Adrian Herrera c76bab3c1a Added ability to auto generate and install a keystone.pc file
This is required for when I get around to writing some Haskell bindings :-)
2016-06-04 15:00:33 +10:00