Theory.FabiThe Application Floating-point Binary Interface name.
include KB.Enum.S with type t = fabitype t = fabideclare ?package name declares a new element of the enumeration.
Fails if the name is already declared.
val declare : ?package:string -> string -> tdeclare ?package name declares a new element of the enumeration.
Fails if the name is already declared.
val read : ?package:string -> string -> tread ?package name reads the element from its textual representation.
Fails if the name doesn't represent a previously declared element of the enumeration.
If name is unqualified then package is used as the package name. The package itself defaults to "user".
See also of_string s from the Stringable interface which is equal to read s
val name : t -> Bap_knowledge.Knowledge.Name.tname x is the name that corresponds to the element x
val unknown : tunknown is the placeholder for unknown element.
val is_unknown : t -> boolis_unknown t is true if t is unknown.
val domain : t Bap_knowledge.Knowledge.domaindomain the type class implementing the domain structure.
Each enumeration type forms a flat domain with the unknown element at the bottom.
val persistent : t Bap_knowledge.Knowledge.persistentpersistent the persistance type class.
The enumeration types are persistent and are derived from the KB.Name.persistent type class, i.e., they are represented as 63-bit numbers.
val hash : t -> intthe hash value of the enum
val members : unit -> t listmembers () the list of all members of the enumeration type.
include Base.Comparable.S with type t := tval comparator : (t, comparator_witness) Base__.Comparator.comparatorinclude Core_kernel.Binable.S with type t := tval bin_size_t : t Bin_prot.Size.sizerval bin_write_t : t Bin_prot.Write.writerval bin_read_t : t Bin_prot.Read.readerval __bin_read_t__ : (int -> t) Bin_prot.Read.readerval bin_writer_t : t Bin_prot.Type_class.writerval bin_reader_t : t Bin_prot.Type_class.readerval bin_t : t Bin_prot.Type_class.tinclude Core_kernel.Pretty_printer.S with type t := tval pp : Base__.Formatter.t -> t -> unitval hard : fabiPredefined FABI
val soft : fabi