| Copyright | (c) Galois Inc 2026 |
|---|---|
| License | BSD3 |
| Maintainer | Langston Barrett <langston@galois.com> |
| Stability | provisional |
| Safe Haskell | None |
| Language | Haskell2010 |
Lang.Crucible.LLVM.Intrinsics.Declare
Description
Synopsis
- data Declare (args :: Ctx CrucibleType) (ret :: CrucibleType) = Declare {}
- data SomeDeclare = SomeDeclare (Declare args ret)
- fromHandle :: forall (args :: Ctx CrucibleType) (ret :: CrucibleType). FnHandle args ret -> Declare args ret
- fromSomeHandle :: SomeHandle -> SomeDeclare
- fromLLVM :: forall (wptr :: Natural) m. (?lc :: TypeContext, HasPtrWidth wptr, MonadFail m) => Declare -> m SomeDeclare
- fromLLVMWithWarnings :: forall (wptr :: Natural) p sym ext rtp (l :: Ctx CrucibleType) (a :: CrucibleType). (?lc :: TypeContext, HasPtrWidth wptr) => [Declare] -> OverrideSim p sym ext rtp l a [SomeDeclare]
Documentation
data Declare (args :: Ctx CrucibleType) (ret :: CrucibleType) Source #
The declaration of a function.
Used primarily for matching LLVM overrides to the declarations in LLVM modules or S-expression programs.
Constructors
| Declare | |
data SomeDeclare Source #
Constructors
| SomeDeclare (Declare args ret) |
fromHandle :: forall (args :: Ctx CrucibleType) (ret :: CrucibleType). FnHandle args ret -> Declare args ret Source #
fromLLVM :: forall (wptr :: Natural) m. (?lc :: TypeContext, HasPtrWidth wptr, MonadFail m) => Declare -> m SomeDeclare Source #
fromLLVMWithWarnings :: forall (wptr :: Natural) p sym ext rtp (l :: Ctx CrucibleType) (a :: CrucibleType). (?lc :: TypeContext, HasPtrWidth wptr) => [Declare] -> OverrideSim p sym ext rtp l a [SomeDeclare] Source #
Apply fromLLVM in a loop, warning on failures