package bap-primus-exploring-scheduler

  1. Overview
  2. Docs
Evaluates all machines, prioritizing the least visited

Install

Dune Dependency

Authors

Maintainers

Sources

v2.2.0.tar.gz
sha256=7c6d0dfe2640e800829617dd150ffe748493fe3f317ed41be44312b2821deb46
md5=5dbc6677d646bec59fd7414f23e88cf8

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.