Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module defines a data type for SV-COMP witness automatons, as specified in https://github.com/sosy-lab/sv-witnesses.
Synopsis
- data Witness = Witness {}
- data WitnessNode = WitnessNode {}
- data WitnessEdge = WitnessEdge {
- edgeSource :: Id
- edgeTarget :: Id
- edgeAssumption :: Maybe Assumption
- edgeAssumptionScope :: Maybe String
- edgeAssumptionResultFunction :: Maybe String
- edgeControl :: Maybe Control
- edgeStartLine :: Maybe Int
- edgeEndLine :: Maybe Int
- edgeStartOffset :: Maybe Int
- edgeEndOffset :: Maybe Int
- edgeEnterLoopHead :: Maybe Bool
- edgeEnterFunction :: Maybe String
- edgeReturnFromFunction :: Maybe String
- edgeThreadId :: Maybe String
- edgeCreateThread :: Maybe String
- edgeStartColumn :: Maybe Int
- data WitnessType
- data SourceCodeLang
- data Control
- data GraphMLAttrType
- mkNode :: Int -> WitnessNode
- mkNodeId :: Int -> Id
- mkEdge :: Int -> Int -> WitnessEdge
- ppWitness :: Witness -> String
Documentation
A witness automaton. Adheres to the format specified in https://github.com/sosy-lab/sv-witnesses/tree/a592b52c4034423d42bed2059addbc6d8f1fa443#data-elements.
data WitnessNode Source #
Instances
Show WitnessNode Source # | |
Defined in Crux.SVCOMP.Witness showsPrec :: Int -> WitnessNode -> ShowS # show :: WitnessNode -> String # showList :: [WitnessNode] -> ShowS # | |
Node WitnessNode Source # | |
Defined in Crux.SVCOMP.Witness node :: QName -> WitnessNode -> Element # |
data WitnessEdge Source #
WitnessEdge | |
|
Instances
Show WitnessEdge Source # | |
Defined in Crux.SVCOMP.Witness showsPrec :: Int -> WitnessEdge -> ShowS # show :: WitnessEdge -> String # showList :: [WitnessEdge] -> ShowS # | |
Node WitnessEdge Source # | |
Defined in Crux.SVCOMP.Witness node :: QName -> WitnessEdge -> Element # |
data WitnessType Source #
Instances
Show WitnessType Source # | |
Defined in Crux.SVCOMP.Witness showsPrec :: Int -> WitnessType -> ShowS # show :: WitnessType -> String # showList :: [WitnessType] -> ShowS # |
data SourceCodeLang Source #
Instances
Show SourceCodeLang Source # | |
Defined in Crux.SVCOMP.Witness showsPrec :: Int -> SourceCodeLang -> ShowS # show :: SourceCodeLang -> String # showList :: [SourceCodeLang] -> ShowS # |
data GraphMLAttrType Source #
Instances
Show GraphMLAttrType Source # | |
Defined in Crux.SVCOMP.Witness showsPrec :: Int -> GraphMLAttrType -> ShowS # show :: GraphMLAttrType -> String # showList :: [GraphMLAttrType] -> ShowS # |
mkNode :: Int -> WitnessNode Source #