package mopsa
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=37966e98ffeebcedc09bd6e9b2b81f69
sha512=40d4d826c25f680766c07eccbabdf5e8a4fa023016e8a164e4e4f6b3781c8484dc4df437055721dfd19b9db8fb7fe3b61236c4833186d346fc7204a68d01eaaa
doc/mopsa.mopsa_analyzer/Mopsa_analyzer/Framework/Engines/Interactive/Terminal/Make/index.html
Module Terminal.Make
Parameters
module Toplevel : Toplevel.TOPLEVELSignature
val opt_show_var_scope : bool reftype terminal_command_kind = | Break of string(*Add a breakpoint
*)| Continue(*Stop at next breakpoint
*)| MopsaBackTrace(*Returns the current backtrace of Mopsa
*)| Next(*Stop at next statement and skip function calls
*)| Step(*Step into function calls
*)| Finish(*Finish current function
*)| NextI(*Stop at next statement and skip nodes in the interpretation sub-tree
*)| StepI(*Step into interpretation sub-tree
*)| Print of (string * string option) list * (string * int) option(*Print the abstract state or the value of variables
*)| Env of string list(*Print the current abstract environment, associated to token T_cur, eventually projected on a list of domains
*)| State(*Print the current abstract state
*)| Where(*Show current program point
*)| Info of info_command(*Print extra information
*)| Enable of enable_command(*Enable an option
*)| Disable of enable_command(*Disable an option
*)| Set of set_command * string(*Set an option
*)| Unset of set_command(*Unset an option
*)| BackTrace(*Print the callstack
*)| LoadScript of string| Trace| Backward
Commands
type terminal_command = {kind : terminal_command_kind;(*Optional flag
*)redirection : terminal_command_redirection option;
}Commands
val pp_terminal_command_kind :
Format.formatter ->
terminal_command_kind ->
unitPrint a command
val pp_terminal_command_redirection :
Format.formatter ->
terminal_command_redirection ->
unitval pp_terminal_command : Format.formatter -> terminal_command -> unitval linedit_ctx : Mopsa_utils.Core.LineEdit.ctxContext of LineEdit library
val last_prompt_commands : string list refReference to the last commands read from the prompt
val commands_buffer : string Queue.tBuffer of upcoming commands to execute
val script : out_channel option refval parse_command_kind : string -> 'a Core.Flow.flow -> terminal_command_kindval parse_command_redirection :
string ->
string * terminal_command_redirection optionval read_terminal_command :
(string -> 'a) ->
'b Core.Flow.flow ->
terminal_commandRead the next command
Pretty printers
*******************
module Addr : sig ... endmodule AddrSet : sig ... endval dummy_range : Mopsa_utils.Core.Location.rangeval pp_vars :
Format.formatter ->
Action.action ->
(Mopsa_utils.Containers.MapExt.StringMap.key
* Mopsa_utils.Containers.MapExt.StringMap.key option)
list ->
('a, 'b) Core.All.man ->
'a Core.Flow.flow ->
unitPrint value of variables
val reach : Action.action -> 'a -> 'b -> unitval pp_alarms : Format.formatter -> Core.Alarm.alarm list -> unitval alarm : Core.Alarm.alarm list -> 'a -> 'b -> 'c -> unitval pp_output_command :
Action.action ->
'a Envdb.envdb ->
('a, 'b) Core.All.man ->
'a Core.Flow.flow ->
Format.formatter ->
terminal_command_kind ->
unitval process_output_command :
terminal_command ->
Action.action ->
'a Envdb.envdb ->
('a, 'b) Core.All.man ->
'a Core.Flow.flow ->
unitval read_command :
Action.action ->
'a Envdb.envdb ->
('a, 'a) Core.Manager.man ->
'a Core.Flow.flow ->
Interface.command