package mopsa

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

Install

Dune Dependency

Authors

Maintainers

Sources

mopsa-analyzer-v1.1.tar.gz
md5=fdee20e988343751de440b4f6b67c0f4
sha512=f5cbf1328785d3f5ce40155dada2d95e5de5cce4f084ea30cfb04d1ab10cc9403a26cfb3fa55d0f9da72244482130fdb89c286a9aed0d640bba46b7c00e09500

doc/interactive/Interactive/Query/index.html

Module Interactive.QuerySource

Queries to retrieve variable values during an interactive session

Debug queries

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

Sourcetype var_value = {
  1. var_value : string option;
    (*

    Direct value of the variable

    *)
  2. var_value_type : Core.All.typ;
    (*

    Type of the value

    *)
  3. var_sub_value : var_sub_value option;
    (*

    Sub-values of the variable

    *)
}

Value of a variable

Sourceand var_sub_value =
  1. | Named_sub_value of (string * var_value) list
    (*

    Named sub-values are maps from field names to values

    *)
  2. | Indexed_sub_value of var_value list
    (*

    Indexed sub-values are arrays of values

    *)

Sub-value of a variable

Sourcetype Core.All.query +=
  1. | Q_debug_variable_value : Core.All.var -> ('a0, var_value) Core.All.query

Query to retrieve the value of a given variable

Sourcetype Core.All.query +=
  1. | Q_debug_addr_value : Core.All.addr -> ('a0, var_value) Core.All.query
Sourceval compare_var_value : var_value -> var_value -> int

Compare two var values

Sourceval compare_var_sub_value : var_sub_value -> var_sub_value -> int

Compare two var sub-values

Sourceval pp_key_with_type : Stdlib.Format.formatter -> (string * Core.All.typ) -> unit

Print a key with its type

Sourceval pp_var_with_type : Stdlib.Format.formatter -> (Core.All.var * Core.All.typ) -> unit

Print a variable with its type

Sourceval pp_var_value : Stdlib.Format.formatter -> var_value -> unit

Print the value of a variable

Sourceval pp_var_sub_value : Stdlib.Format.formatter -> var_sub_value -> unit

Print the values of sub-variables

OCaml

Innovation. Community. Security.

On This Page
  1. Debug queries