harpy: Runtime code generation for x86 machine code
The package contains the following components:
An x86 assembler. We provide both low-level code generation in module Harpy.X86CodeGen as well as a (slightly) higher-level implementation in module Harpy.X86Assembler, which figures out addressing modes based on an instruction's operand types.
An x86 disassembler which knows most of the opcodes available on modern x86 processors and can display its output both in the style used in Intel documents an in AT&T style, like the GNU tools. The disassembler can be found in module Harpy.X86Disassembler. The disassembler is re-exported from the disassembler package for compatibility with earlier Harpy releases.
Some abstractions over the abovementioned code generation modules, such as automatic label management and code generation combinators (for if-then-else statements, while-loops, functions) (module Harpy.X86CGCombinators).
All the above modules use the code generation monad defined in module Harpy.CodeGenMonad.
[Skip to Readme]
Modules
[Index]
Downloads
- harpy-0.6.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.2, 0.4, 0.4.1, 0.4.2, 0.4.3.0, 0.5.0.0, 0.6.0.0, 0.6.0.1, 0.6.0.2 |
---|---|
Change log | ChangeLog.md |
Dependencies | array (>=0.3 && <1), base (>=4 && <5), containers (>=0.3 && <1), disassembler (>=0.2.0.0), mtl (>=1 && <3), parsec (>=1 && <4), pretty (>=1 && <2), template-haskell (>=2 && <3) [details] |
License | BSD-3-Clause |
Author | Dirk Kleeblatt <dirk.kleeblatt@gmx.de> Martin Grabmueller <martin@grabmueller.de> |
Maintainer | martin@grabmueller.de |
Category | Code Generation |
Home page | https://github.com/mgrabmueller/harpy |
Bug tracker | https://github.com/mgrabmueller/harpy/issues |
Source repo | head: git clone https://github.com/mgrabmueller/harpy |
Uploaded | by MartinGrabmueller at 2015-05-26T15:44:52Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 6791 total (31 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-05-27 [all 1 reports] |