package mopsa

  1. Overview
  2. Docs
MOPSA: A Modular and Open Platform for Static Analysis using Abstract Interpretation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mopsa-analyzer-v1.2.tar.gz
md5=37966e98ffeebcedc09bd6e9b2b81f69
sha512=40d4d826c25f680766c07eccbabdf5e8a4fa023016e8a164e4e4f6b3781c8484dc4df437055721dfd19b9db8fb7fe3b61236c4833186d346fc7204a68d01eaaa

doc/mopsa.mopsa_utils/Mopsa_utils/Core/Top/index.html

Module Core.Top

Top - Top element

Types

type 'a with_top =
  1. | TOP
  2. | Nt of 'a
    (*

    Add a top element to a type.

    *)

Operator lifting

val top_lift1 : ('a -> 'b) -> 'a with_top -> 'b with_top
val top_lift2 : ('a -> 'b -> 'c) -> 'a with_top -> 'b with_top -> 'c with_top
val top_absorb1 : ('a -> 'b with_top) -> 'a with_top -> 'b with_top
val top_absorb2 : ('a -> 'b -> 'c with_top) -> 'a with_top -> 'b with_top -> 'c with_top
val top_neutral2 : ('a -> 'a -> 'a) -> 'a with_top -> 'a with_top -> 'a with_top
val top_apply : ('b -> 'a) -> 'a -> 'b with_top -> 'a
val top_apply2 : 'a -> 'a -> ('b -> 'b -> 'a) -> 'b with_top -> 'b with_top -> 'a
val top_equal : ('a -> 'b -> bool) -> 'a with_top -> 'b with_top -> bool
val top_included : ('a -> 'b -> bool) -> 'a with_top -> 'b with_top -> bool
val top_compare : ('a -> 'a -> int) -> 'a with_top -> 'a with_top -> int
val top_dfl1 : 'c -> ('a -> 'c) -> 'a with_top -> 'c
val top_dfl2 : 'c -> ('a -> 'b -> 'c) -> 'a with_top -> 'b with_top -> 'c

Exceptions

exception Found_TOP
val raise_top : unit -> 'a
val catch_top : ('a -> 'b) -> 'a -> 'b -> 'b
val detop : 'a with_top -> 'a
val retop : ('a -> 'b) -> 'a -> 'b with_top
val exn_to_top : ('a -> 'b) -> 'a -> 'b with_top
val top_to_exn : 'a with_top -> 'a

Printing

val top_string : string
val top_to_string : ('a -> string) -> 'a with_top -> string
val top_print : (out_channel -> 'a -> unit) -> out_channel -> 'a with_top -> unit
val top_fprint : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a with_top -> unit
val top_bprint : (Buffer.t -> 'a -> unit) -> Buffer.t -> 'a with_top -> unit
OCaml

Innovation. Community. Security.