This repository has been archived by the owner on Jun 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add SMT Array primitives. * Use panic instead of fail.
- Loading branch information
1 parent
29c2404
commit e97d653
Showing
4 changed files
with
145 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{-# LANGUAGE Trustworthy #-} | ||
{-# LANGUAGE TemplateHaskell #-} | ||
|
||
module Verifier.SAW.Simulator.What4.Panic | ||
( panic | ||
) where | ||
|
||
import Panic hiding (panic) | ||
import qualified Panic | ||
|
||
data SAWCoreWhat4 = SAWCoreWhat4 | ||
|
||
panic :: HasCallStack => String -> [String] -> a | ||
panic = Panic.panic SAWCoreWhat4 | ||
|
||
instance PanicComponent SAWCoreWhat4 where | ||
panicComponentName _ = "SAWCoreWhat4" | ||
panicComponentIssues _ = "https://github.com/GaloisInc/saw-core-what4/issues" | ||
|
||
{-# Noinline panicComponentRevision #-} | ||
panicComponentRevision = $useGitRevision | ||
|