package mopsa
Module Interactive.Interface
Signature of interactive engine interfaces
type state = {mutable depth : int;(*Current depth of the interpretation tree
*)mutable command : command;(*Last entered command
*)mutable command_depth : int;(*Depth of the interpretation tree when the command was issued
*)mutable command_callstack : Mopsa_utils.Core.Callstack.callstack;(*Callstack when the command was issued
*)mutable callstack : Mopsa_utils.Core.Callstack.callstack;(*Current call-stack
*)mutable loc : Mopsa_utils.Core.Location.range option;(*Last analyzed line of code
*)mutable locstack : Mopsa_utils.Core.Location.range option list;(*Stack of lines of codes
*)mutable trace : Trace.trace;(*Analysis trace
*)mutable call_preamble : bool;(*Flag set when calling a function and reset when reaching its first loc
*)mutable alarms : Core.Alarm.AlarmSet.t;(*Set of discovered alarms
*)
}val init_state : state -> unitval state : stateGlobal state
module type INTERFACE = functor (Toplevel : Toplevel.TOPLEVEL) -> sig ... end