Theory.Source
The source code artifact of a compilation unit.
Contains the information about the source code of a program unit. Note, that it is not an attribute of a program that denotes the semantics of that program, but an artifact that is associated with the compile unit.
The information about the source code is represented as an extesnsible KB.Value.t
. To add a new property of the Source class use KB.Class.property
, to access existing properties use KB.Value.get
and KB.Value.put
.
include KB.Value.S with type t = (cls, unit) KB.cls KB.Value.t
type t = (cls, unit) KB.cls KB.Value.t
val empty : t
val domain : t Bap_knowledge.Knowledge.domain
include Base.Comparable.S with type t := t
val comparator : (t, comparator_witness) Base__.Comparator.comparator
include Core_kernel.Binable.S with type t := t
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write.writer
val bin_read_t : t Bin_prot.Read.reader
val __bin_read_t__ : (int -> t) Bin_prot.Read.reader
val bin_writer_t : t Bin_prot.Type_class.writer
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_t : t Bin_prot.Type_class.t