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.TOPLEVEL
Signature
val opt_show_var_scope : bool ref
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
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 ->
unit
Print a command
val pp_terminal_command_redirection :
Format.formatter ->
terminal_command_redirection ->
unit
val pp_terminal_command : Format.formatter -> terminal_command -> unit
val linedit_ctx : Mopsa_utils.Core.LineEdit.ctx
Context of LineEdit library
val last_prompt_commands : string list ref
Reference to the last commands read from the prompt
val commands_buffer : string Queue.t
Buffer of upcoming commands to execute
val script : out_channel option ref
val parse_command_kind : string -> 'a Core.Flow.flow -> terminal_command_kind
val parse_command_redirection :
string ->
string * terminal_command_redirection option
val read_terminal_command :
(string -> 'a) ->
'b Core.Flow.flow ->
terminal_command
Read the next command
Pretty printers
*******************
module Addr : sig ... end
module AddrSet : sig ... end
val dummy_range : Mopsa_utils.Core.Location.range
val 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 ->
unit
Print value of variables
val reach : Action.action -> 'a -> 'b -> unit
val pp_alarms : Format.formatter -> Core.Alarm.alarm list -> unit
val alarm : Core.Alarm.alarm list -> 'a -> 'b -> 'c -> unit
val pp_output_command :
Action.action ->
'a Envdb.envdb ->
('a, 'b) Core.All.man ->
'a Core.Flow.flow ->
Format.formatter ->
terminal_command_kind ->
unit
val process_output_command :
terminal_command ->
Action.action ->
'a Envdb.envdb ->
('a, 'b) Core.All.man ->
'a Core.Flow.flow ->
unit
val read_command :
Action.action ->
'a Envdb.envdb ->
('a, 'a) Core.Manager.man ->
'a Core.Flow.flow ->
Interface.command