Goblint_lib.Server
Interactive server mode using JSON-RPC.
module InvariantParser = WitnessUtil.InvariantParser
module type ArgWrapper = sig ... end
type t = {
mutable file : GoblintCil.Cil.file option;
mutable max_ids : MaxIdUtil.max_ids;
arg_wrapper : (module ArgWrapper) ResettableLazy.t;
invariant_parser : InvariantParser.t ResettableLazy.t;
input : Batteries.IO.input;
output : unit Batteries.IO.output;
}
module type Request = sig ... end
module Registry : sig ... end
val registry : Registry.t
module ParamParser (R : Request) : sig ... end
module Function : sig ... end
val handle_request : t -> Jsonrpc.Request.t -> Jsonrpc.Response.t
val handle_packet : t -> Jsonrpc.Packet.t -> unit
val serve : t -> unit
val is_server_node : Node0.t -> bool
Is node valid for lookup by location? Used for abstract debugging breakpoints.
val arg_wrapper : (module ArgWrapper) ResettableLazy.t
val invariant_parser : InvariantParser.t ResettableLazy.t
val make :
?input:BatIO.input ->
?output:unit BatIO.output ->
GoblintCil.Cil.file option ->
t
val reparse : t -> GoblintCil.file * bool
val virtual_changes : GoblintCil.file -> CompareCIL.change_info
val increment_data :
t ->
GoblintCil.file ->
bool ->
Analyses.increment_data option * bool
module Locator : sig ... end
val node_locator : Locator.t ResettableLazy.t
val analyze : ?reset:bool -> t -> unit