Std.BrancherBrancher is responsible for resolving destinations of branch instructions.
type t = brancherval sexp_of_dest : dest -> Ppx_sexp_conv_lib.Sexp.tval dest_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> desttype dests = dest listval sexp_of_dests : dests -> Ppx_sexp_conv_lib.Sexp.tval dests_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> destsval create : (mem -> Disasm_expert.Basic.full_insn -> dests) -> tcreate resolve creates a brancher from resolve function, that accepts a memory region, occupied by an instruction, the instruction itself and returns a list of destination.
of_bil arch creates a brancher that will use a BIL code to statically deduce the instruction destinations.
val resolve : t -> mem -> Disasm_expert.Basic.full_insn -> destsresolve brancher mem insn returns a list of destinations of the instruction insn, that occupies memory region mem.
val provide : t -> unitmodule Factory : Source.Factory.S with type t = t