package binsec
Install
dune-project
Dependency
Authors
-
AAdel Djoudi
-
BBenoit Boero
-
BBenjamin Farinier
-
CChakib Foulani
-
DDorian Lesbre
-
FFrédéric Recoules
-
GGuillaume Girol
-
JJosselin Feist
-
LLesly-Ann Daniel
-
MMahmudul Faisal Al Ameen
-
MManh-Dung Nguyen
-
MMathéo Vergnolle
-
MMatthieu Lemerre
-
NNicolas Bellec
-
OOlivier Nicole
-
RRichard Bonichon
-
RRobin David
-
SSébastien Bardin
-
SSoline Ducousso
-
TTa Thanh Dinh
-
YYaëlle Vinçont
-
YYanis Sellami
Maintainers
Sources
sha256=bb48234a4b60a872015a88282df4873f01dcc984753d49ad2583d49c1ae7d705
sha512=e8aa47a736b83bfd47d5b5e96d0988859b4873ad4a112fee7cd21d02bc72ecec61b7de610a959e38d2f2f5eef8082a2c100c201e5eae5ae3a880c747dce6ae63
doc/binsec.symbolic/Binsec_symbolic/Default/State/Value/index.html
Module State.Value
type t =
([ `Exp ], string, [ `Some ] Binsec_symbolic__Default__.Types.Memory.node)
Binsec_base.Term.tA symbolic value.
type id = Uid.tThe unique identifier for variable naming (SSA form).
Creation
val constant : Binsec_kernel.Bitvector.t -> tconstant v creates a value that evaluates to the Binsec_kernel.Bitvector v.
val zero : tzero shorthand for constant Binsec_kernel.Bitvector.zero.
var i n s creates a (first-order) constant value of s bits, named n and uniquely identified by i.
val unary : State.unary State.operator -> t -> tunary o v returns the application of the unary operator o applied to the value v.
val binary : State.binary State.operator -> t -> t -> tbinary o v1 v2 returns the application of the binary operator o applied to the values v1 and v2.
ite cond if_term else_term returns the value that evaluates to if_term if cond is true, or else_term otherwise.
Inspection
val is_symbolic : t -> boolis_symbolic v returns true if the v does not syntactically evaluate to constant Binsec_kernel.Bitvector.t.
val is_zero : t -> State.trileanis_zero v returns True if v equals zero, False if v equals one and Unknown otherwise.
val sizeof : t -> intsizeof v returns the size in bits of the value v.