package bap-primus-support

  1. Overview
  2. Docs
Provides supporting components for Primus

Install

Dune Dependency

Authors

Maintainers

Sources

v2.1.0.tar.gz
sha256=631fc58628418e4856709a0cfc923a65e00c9494fbd28d444c633d11194831de
md5=3db9deac8d429b9b8a8ec9aec54987b1

doc/bap-plugin-primus_exploring/Primus_exploring_main/Scheduler/index.html

Module Primus_exploring_main.Scheduler

Parameters

Signature

module Eval : sig ... end
val enqueue : int -> t -> Bap_primus.Std.Primus.Machine.id -> t Machine.t

enqueue level state pid adds pid to the list of ids that will be explored, if the next|pid points to an unvisited term, or to a term that was visited the number of times equal to level. As a side effect will add an unvisited term pointed by next (if any) to the explored mapping, with the number of explorations equal to zero. Also, will leave the machine the state with the given pid.

val remove_planned_explorations : t -> t
val reschedule : int -> t -> t Machine.t
val schedule : t -> t Machine.t
val visit : 'a Bap.Std.Term.t -> unit Machine.t
val step : 'a -> unit Machine.t
val init : unit -> unit Machine.t
OCaml

Innovation. Community. Security.