mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-25 21:54:51 +03:00
896d35cba9
These names are so short that they might conflict with local names in files that import this module. Instead, export them from `Regs` and encourage qualified use of that module. |
||
---|---|---|
.. | ||
src/Data/Macaw/X86/Symbolic | ||
test | ||
test-data | ||
LICENSE | ||
macaw-x86-syntax.cabal | ||
README.md |
macaw-x86-syntax
This package provides concrete syntax for macaw-x86-symbolic types and operations.
Concretely, it implements a ParserHooks
for use with crucible-syntax
.
This ParserHooks
supports the following types and operations:
Types:
X86Regs
: the struct of all x86_64 registers
Operations:
get-reg :: X86Reg -> X86Regs -> t
: extract an x86 registerset-reg :: X86Reg -> t -> X86Regs -> X86Regs
: set an x86 register- Registers:
rip :: X86Reg
: instruction pointerrax :: X86Reg
: SysV return value registerrbx :: X86Reg
: general-purpose registerrcx :: X86Reg
: general-purpose registerrdx :: X86Reg
: general-purpose registerrsp :: X86Reg
: stack pointerrbp :: X86Reg
: base pointerrsi :: X86Reg
: general-purpose registerrdi :: X86Reg
: general-purpose registerr8 :: X86Reg
: general-purpose registerr9 :: X86Reg
: general-purpose registerr10 :: X86Reg
: general-purpose registerr11 :: X86Reg
: general-purpose registerr12 :: X86Reg
: general-purpose registerr13 :: X86Reg
: general-purpose registerr14 :: X86Reg
: general-purpose registerr15 :: X86Reg
: general-purpose register