heystone: Haskell bindings for the Keystone assembler framework

[ assembler, bindings, compilers-interpreters, gpl, library ] [ Propose Tags ] [ Report a vulnerability ]
Versions [RSS] 0.1.0
Change log CHANGELOG.md
Dependencies base (>=4.9 && <5), bytestring (>=0.11.3.1 && <0.12), transformers (>=0.5 && <0.7) [details]
Tested with ghc ==8.0.2, ghc ==9.2.3
License GPL-2.0-only
Author Adrian Herrera, Ben Orchard
Maintainer Ben Orchard <thefirstmuffinman@gmail.com>
Category Bindings, Compilers/Interpreters, Assembler
Home page https://github.com/raehik/heystone#readme
Bug tracker https://github.com/raehik/heystone/issues
Source repo head: git clone https://github.com/raehik/heystone
Uploaded by raehik at 2022-07-08T14:41:43Z
Distributions NixOS:0.1.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 116 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for heystone-0.1.0

[back to package description]

Heystone - Haskell bindings for the Keystone assembler framework

Haskell bindings for Keystone, a powerful multi-architecture assembler framework.

This package is derived from the Haskell bindings at keystone-engine/keystone, 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'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 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