package bap-std

  1. Overview
  2. Docs
The Binary Analysis Platform Standard Library

Install

Dune Dependency

Authors

Maintainers

Sources

v2.5.0.tar.gz
sha256=9c126781385d2fa9b8edab22e62b25c70bf2f99f6ec78abb7e5e36d63cfa4174
md5=5abd9b3628b43f797326034f31ca574f

doc/bap/Bap/Std/Bil/Attribute/index.html

Module Bil.Attribute

BIL attributes.

BIL attributes serve the role of constructor for encoding values as special statements. The attribute defines methods for encoding and decoding values as a string as well as a unique attribute name.

  • since 2.3.0
type 'a t

the type of attributes

val declare : ?package:string -> encode:('a -> string) -> decode:(string -> 'a) -> string -> 'a t

declare ?package name ~encode ~decode declares a new attribute.

The attribute package, name pair should be unique. If an attribute with the given name is already registered the registration will fail.

OCaml

Innovation. Community. Security.