crux-llvm-0.8: A verification tool for C programs.
Safe HaskellSafe-Inferred
LanguageHaskell2010

CruxLLVMMain

Synopsis

Documentation

data CruxLLVMLogging Source #

Instances

Instances details
ToJSON CruxLLVMLogging Source # 
Instance details

Defined in CruxLLVMMain

Generic CruxLLVMLogging Source # 
Instance details

Defined in CruxLLVMMain

Associated Types

type Rep CruxLLVMLogging :: Type -> Type #

type Rep CruxLLVMLogging Source # 
Instance details

Defined in CruxLLVMMain

type Rep CruxLLVMLogging = D1 ('MetaData "CruxLLVMLogging" "CruxLLVMMain" "crux-llvm-0.8-Ad6lSmlP02v6Z9kEhyFa8H" 'False) (C1 ('MetaCons "LoggingCrux" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CruxLogMessage)) :+: C1 ('MetaCons "LoggingCruxLLVM" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CruxLLVMLogMessage)))

mkOutputConfig :: ToJSON msgs => (Handle, Bool) -> (Handle, Bool) -> (msgs -> SayWhat) -> Maybe OutputOptions -> OutputConfig msgs #

Create an OutputConfig for Crux, based on an indication of whether colored output should be used, the normal and error output handles, and the parsed CruxOptions.

If no CruxOptions are available (i.e. Nothing, as used in the preliminary portions of loadOptions), then a default output stance is applied; the default stance is described along with the individual option below.

The following CruxOptions affect the generated OutputConfig:

  • noColorsErr (default stance: False when the error handle supports colors, as reported by System.Console.ANSI.hSupportsANSIColor)
  • noColorsOut (default stance: False when the output handle supports colors, as reported by System.Console.ANSI.hSupportsANSIColor)
  • printFailures (default stance: True)
  • quietMode (default stance: False)
  • simVerbose (default stance: False)