package mopsa
Install
Dune Dependency
Authors
Maintainers
Sources
md5=fdee20e988343751de440b4f6b67c0f4
sha512=f5cbf1328785d3f5ce40155dada2d95e5de5cce4f084ea30cfb04d1ab10cc9403a26cfb3fa55d0f9da72244482130fdb89c286a9aed0d640bba46b7c00e09500
doc/interactive/Interactive/Terminal/Make/index.html
Module Terminal.Make
Source
Parameters
module Toplevel : Toplevel.TOPLEVEL
Signature
type 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
Information sub-commands
Enable/Disable sub-commands
Set/Unset sub-commands
type terminal_command = {
kind : terminal_command_kind;
(*Optional flag
*)redirection : terminal_command_redirection option;
}
Commands
Print a command
val pp_terminal_command_redirection :
Stdlib.Format.formatter ->
terminal_command_redirection ->
unit
Print help message
Print input prompt
Context of LineEdit library
Reference to the last commands read from the prompt
Buffer of upcoming commands to execute
Read the next command
Pretty printers
*******************
val pp_vars :
Stdlib.Format.formatter ->
Action.action ->
(Mopsa_utils.MapExt.StringMap.key * Mopsa_utils.MapExt.StringMap.key option)
list ->
('a, 'b) Core.All.man ->
'a Core.All.Flow.flow ->
unit
Print value of variables
val pp_output_command :
Action.action ->
'a Envdb.envdb ->
('a, 'b) Core.All.man ->
'a Core.All.Flow.flow ->
Stdlib.Format.formatter ->
terminal_command_kind ->
unit
val process_output_command :
terminal_command ->
Action.action ->
'a Envdb.envdb ->
('a, 'b) Core.All.man ->
'a Core.All.Flow.flow ->
unit
val read_command :
Action.action ->
'a Envdb.envdb ->
('a, 'a) Core.Manager.man ->
'a Core.All.Flow.flow ->
Interface.command