camfort-1.0.1: CamFort - Cambridge Fortran infrastructure
Safe HaskellNone
LanguageHaskell2010

Camfort.Specification.Hoare.CheckFrontend

Description

This module is responsible for finding annotated program units, and running the functionality in Camfort.Specification.Hoare.CheckBackend on each of them.

Synopsis

Invariant Checking

invariantChecking :: PrimReprSpec -> ProgramFile HA -> HoareAnalysis [HoareCheckResult] Source #

Runs invariant checking on every annotated program unit in the given program file. Expects the program file to have basic block and unique analysis information.

The PrimReprSpec argument controls how Fortran data types are treated symbolically. See the documentation in Language.Fortran.Mode.Repr.Prim for a detailed explanation.

Analysis Types