package bap-std

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

Subroutine builder

type t
val create : ?tid:tid -> ?args:int -> ?blks:int -> ?name:string -> unit -> t

initializes empty subroutine builder.

val add_blk : t -> blk term -> unit

appends a block to a subroutine

val add_arg : t -> arg term -> unit

appends an argument

val result : t -> sub term

returns current result

OCaml

Innovation. Community. Security.