package bap-primus-track-visited

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

module Machine : Bap_primus.Std.Primus.Machine.S

Signature

val mem : Bap.Std.tid -> bool Machine.t

mem tid is if a term with tid was visited.

A term with the term identifier tid is visited if some machine posted an enter-term event with this tid, or if it was marked with the visited attribute, or if it was forcefully added to the visited set with the add function.

val add : Bap.Std.tid -> unit Machine.t

add tid forcefully adds tid to the set of visited terms.

Does nothing if tid is already visited.

val del : Bap.Std.tid -> unit Machine.t

del tid forcefully removes tid from the set of visited terms.

Does nothing if it wasn't visited.

val all : Bap.Std.Tid.Set.t Machine.t

all is the current set of all visited basic blocks.

OCaml

Innovation. Community. Security.