package binsec
Semantic analysis of binary executables
Install
Dune Dependency
Authors
-
AAdel Djoudi
-
BBenjamin Farinier
-
CChakib Foulani
-
DDorian Lesbre
-
FFrédéric Recoules
-
GGuillaume Girol
-
JJosselin Feist
-
LLesly-Ann Daniel
-
MManh-Dung Nguyen
-
MMathéo Vergnolle
-
MMathilde Ollivier
-
MMatthieu Lemerre
-
OOlivier Nicole
-
RRichard Bonichon
-
RRobin David
-
SSébastien Bardin
-
SSoline Ducousso
-
TTa Thanh Dinh
-
YYaëlle Vinçont
Maintainers
Sources
binsec-0.8.0.tbz
sha256=81859d54721969893aabcb5b16ff41d0698f8c24799d8357ec7b1c10cd5ebf94
sha512=580561e70189b3c77bf09364ad393750263b5cfb36dce01aa7cd34ea4d4ebcc9085a52f18b7514e4046d51b488f2dfc5271aea8259c7cbce1534b880cf76bb6e
doc/binsec/Binsec/Dba/LValue/index.html
Module Dba.LValue
type t = private
| Var of Var.t
| Restrict of Var.t * int Interval.t
| Store of size * Machine.endianness * Expr.t * string option
val size_of : t -> int
size_of lv
yields the size of lv
in bits *
val var : ?tag:Var.Tag.t -> bitsize:Size.Bit.t -> string -> t
var tag name ~size
creates a DBA lvalue for a variable
val flag : ?bitsize:Size.Bit.t -> string -> t
flag ~size fname
creates a flag variable.
size
defaults to 1
val temporary : string -> Size.Bit.t -> t
val _restrict : string -> Size.Bit.t -> int -> int -> t
val _bit_restrict : string -> Size.Bit.t -> int -> t
_restrict
and _bit_restrict
are deprecated. Use the other forms ** below.
val store : ?array:string -> Size.Byte.t -> Machine.endianness -> Expr.t -> t
val temp : Size.Bit.t -> t
temp n
creates a lvalue representing a temporary of size n
with name Format.sprintf "temp%d" n
.
val is_expr_translatable : Expr.t -> bool
is_expr_translatable e
returns true is the expression can have a valid lvalue translation
of_expr e
translates an expression to its lvalue equivalent if possible.
Use is_expr_translatable e
to check the feasability of this translation.
val bitsize : t -> Size.Bit.t
bitsize lv
returns the size in bits of lv
.
val resize : Size.Bit.t -> t -> t
resize bitsize lv
patches the lvalue lv
and gives it a size of bitsize
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>