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.7.1.tbz
sha256=2f990f80ebd06b71af4fde46c6a248eb74d52c6f46be63bdf97d99f72589db13
sha512=38d93ae20ae58e10027eb0f7669d3ab960ddc640526018fc94008ccd6cb63ec99030d0ee39dfb9cbd0d5e144db4615c9027bd2adcb197fc75676c45dbb54f836
doc/binsec.sse/Libsse/Script/Expr/index.html
Module Script.Expr
Source
include module type of struct include Binsec.Dba.Expr end
type t = private Binsec.Dba.Expr.t =
| Var of Binsec.Dba.Var.t
| Load of Binsec.Dba.size * Binsec.Machine.endianness * t * string option
| Cst of Binsec.Bitvector.t
| Unary of Binsec.Dba.Unary_op.t * t
| Binary of Binsec.Dba.Binary_op.t * t * t
| Ite of t * t * t
val size_of : t -> int
val is_constant : t -> bool
val var : ?tag:Binsec.Dba.Var.Tag.t -> string -> int -> t
Constructors
val v : Binsec.Dba.Var.t -> t
val temporary : size:int -> string -> t
val constant : Binsec.Bitvector.t -> t
constant bv
creates a constant expression from the bitvector bv
.
Specific constants
val zeros : int -> t
zeros n
creates a constant expression of value 0 with length n
val ones : int -> t
ones n
creates a constant expression of value 1 with length n
. I.e.; it has (n - 1) zeros in binary.
val one : t
val zero : t
val _true : t
val _false : t
val binary : Binsec.Dba.Binary_op.t -> t -> t -> t
Binary expressions
val unary : Binsec.Dba.Unary_op.t -> t -> t
shift_(left|right) e q
shifts expression e
by quantity q
, padding with zeroes
restrict lo hi e
creates Dba.ExprUnary(Restrict(lo, hi), e)
if hi >= lo && lo >=0
.
val load :
?array:string ->
Binsec.Size.Byte.t ->
Binsec.Machine.endianness ->
t ->
t
load nbytes endianness t
val is_max : t -> bool
is_max e
is true
if e
is
- constant; and
- the maximum unsigned representable for the size of this expression
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>