@hackage heystone0.1.0
Haskell bindings for the Keystone assembler framework
Categories
License
GPL-2.0-only
Maintainer
Ben Orchard <thefirstmuffinman@gmail.com>
Links
Versions
- 0.1.0 Fri, 8 Jul 2022
Installation
Tested Compilers
Dependencies (3)
- base >=4.9 && <5
- bytestring >=0.11.3.1 && <0.12
- transformers >=0.5 && <0.7 Show all…
Dependents (1)
@hackage/bytepatch
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