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/Framework/Engines/Interactive/Query/index.html

Module Interactive.Query

Queries to retrieve variable values during an interactive session

Debug queries

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

type 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

and 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

type 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

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

Compare two var values

val compare_var_sub_value : var_sub_value -> var_sub_value -> int

Compare two var sub-values

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

Print a key with its type

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

Print a variable with its type

val pp_var_value : Format.formatter -> var_value -> unit

Print the value of a variable

val pp_var_sub_value : Format.formatter -> var_sub_value -> unit

Print the values of sub-variables

OCaml

Innovation. Community. Security.

On This Page
  1. Debug queries