package mopsa

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Signature of interactive engine interfaces

type command =
  1. | Continue
  2. | Next
  3. | Step
  4. | Finish
  5. | NextI
  6. | StepI
  7. | Backward
type state = {
  1. mutable depth : int;
    (*

    Current depth of the interpretation tree

    *)
  2. mutable command : command;
    (*

    Last entered command

    *)
  3. mutable command_depth : int;
    (*

    Depth of the interpretation tree when the command was issued

    *)
  4. mutable command_callstack : Mopsa_utils.Callstack.callstack;
    (*

    Callstack when the command was issued

    *)
  5. mutable callstack : Mopsa_utils.Callstack.callstack;
    (*

    Current call-stack

    *)
  6. mutable loc : Mopsa_utils.Location.range option;
    (*

    Last analyzed line of code

    *)
  7. mutable locstack : Mopsa_utils.Location.range option list;
    (*

    Stack of lines of codes

    *)
  8. mutable trace : Trace.trace;
    (*

    Analysis trace

    *)
  9. mutable call_preamble : bool;
    (*

    Flag set when calling a function and reset when reaching its first loc

    *)
  10. mutable alarms : Core.All.AlarmSet.t;
    (*

    Set of discovered alarms

    *)
}
val init_state : state -> unit
val copy_state : state -> state
val state : state

Global state

module type INTERFACE = functor (Toplevel : Toplevel.TOPLEVEL) -> sig ... end
OCaml

Innovation. Community. Security.