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 disassmbler can be found in module Harpy.X86Disassembler.
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.
The Darcs repo and two tutorials on using Harpy can be found at Harpy's homepage: http://uebb.cs.tu-berlin.de/harpy/
[Skip to Readme]
Modules
[Index]
Flags
Automatic Flags
| Name | Description | Default |
|---|---|---|
| small_base | Choose the new smaller, split-up base package. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- harpy-0.4.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 | NEWS |
| Dependencies | array, base, containers, mtl, parsec, pretty, template-haskell [details] |
| License | LicenseRef-GPL |
| Author | Dirk Kleeblatt <klee@cs.tu-berlin.de> Martin Grabmueller <magr@cs.tu-berlin.de> |
| Maintainer | klee@cs.tu-berlin.de, magr@cs.tu-berlin.de |
| Uploaded | by MartinGrabmueller at 2008-01-23T13:51:06Z |
| Category | Code Generation |
| Home page | http://uebb.cs.tu-berlin.de/harpy/ |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 7025 total (29 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] |