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_analyzer/Mopsa_analyzer/Languages/C/Iterators/Switch/Domain/index.html

Module Switch.Domain

Domain header

*****************

include sig ... end
val id : unit Mopsa_analyzer__Framework__Core__Id.id
val name : string
val debug : ('a, Format.formatter, unit, unit) format4 -> 'a
val checks : 'a list

Initialization

******************

val init : 'a -> 'b -> 'c -> 'd option

Token for cases flows

*************************

type MopsaLib.token +=
  1. | T_c_switch_case of MopsaLib.expr * MopsaLib.range
type MopsaLib.token +=
  1. | T_c_switch_default of MopsaLib.range

Get the locations and expressions of cases in a switch statements. Cases are ordered similarly to their occurance locations in the source code.

Computation of post-conditions

==============================

val exec : MopsaLib.stmt -> ('a, 'b) MopsaLib.man -> 'a Core.Flow.flow -> ('a, unit) Mopsa_analyzer.MopsaLib.Cases.cases option

Evaluation of expressions

=========================

val eval : 'a -> 'b -> 'c -> 'd option

Answer to queries

=================

val ask : 'a -> 'b -> 'c -> 'd option

Pretty printer

==============

val print_expr : 'a -> 'b -> 'c -> 'd -> unit