Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raehik/heystone
Haskell bindings for the Keystone assembler framework
https://github.com/raehik/heystone
Last synced: about 2 months ago
JSON representation
Haskell bindings for the Keystone assembler framework
- Host: GitHub
- URL: https://github.com/raehik/heystone
- Owner: raehik
- License: gpl-2.0
- Created: 2022-07-08T14:01:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T17:34:58.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T06:20:57.082Z (3 months ago)
- Language: Haskell
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Heystone - Haskell bindings for the Keystone assembler framework
[keystone-gh]: https://github.com/keystone-engine/keystone
[keystone-gh-hs]: https://github.com/keystone-engine/keystone/tree/master/bindings/haskell
[hapstone-gh]: https://github.com/ibabushkin/hapstoneHaskell bindings for [Keystone][keystone-gh], a powerful multi-architecture
assembler framework.This package is derived from the Haskell bindings at
[keystone-engine/keystone][keystone-gh-hs], which at the time were highly usable
but unmaintained and never uploaded to Hackage. To not obstruct a potential
future official package (and to give myself flexibility), I'm appropriating
[Hapstone][hapstone-gh]'s naming convention.## Usage
Specify as a dependency in your Cabal file (or Stack, but you'll have to
register it as an `extra-dep`).You will need the Keystone engine installed. It's not packaged on many systems,
so you many wish to check the [Keystone
docs](https://www.keystone-engine.org/docs/) for instructions. For my fellow
Arch Linux fiends, it's in the main repos:pacman -S keystone
## Examples
To build a sample (after having built and installed the Haskell bindings):```
$ cd bindings/haskell
$ ghc --make samples/Sample.hs
```