package codex

  1. Overview
  2. Docs
The Codex library for building static analysers based on abstract interpretation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0-rc4.tar.gz
md5=bc7266a140c6886add673ede90e335d3
sha512=8da42c0ff2c1098c5f9cb2b5b43b306faf7ac93b8f5ae00c176918cee761f249ff45b29309f31a05bbcf6312304f86a0d5a000eb3f1094d3d3c2b9b4c7f5c386

doc/codex.whilelib/Whilelib/Analysis_sva/Log/index.html

Module Analysis_sva.LogSource

Sourceval error : 'a Tracelog.log -> unit

Printing from most to least important. info and debug levels are not printed by default.

Sourceval warning : 'a Tracelog.log -> unit
Sourceval notice : 'a Tracelog.log -> unit
Sourceval info : 'a Tracelog.log -> unit
Sourceval debug : 'a Tracelog.log -> unit
Sourceval fatal : 'a Tracelog.log -> 'b

Classic error messages. Fatal will raise the Fatal exception.

Sourceval not_yet_implemented : 'a Tracelog.log -> unit
Sourceval trace : 'a Tracelog.log -> ?loc:Tracelog.location -> ?bintrace:'c Syntax_tree.Location_identifier.t -> ?pp_ret:(Format.formatter -> 'b -> unit) -> (unit -> 'b) -> 'b

trace log pp_ret f first display log, then executes f and prints its return value using pp_ret.

Sourceval fatal_handler : ('a -> 'b) -> 'a -> 'b

fatal_handler Fatal handler, will properly collect the backtrace for fatal and print it. It also collects other uncaught exception and returns an error message.