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.2.tbz
sha256=5e1d0f26a567df4abcbeb964b454cf8b2c8484194ff2d9639bdeb94d63edcb3b
sha512=a638c665407fde9aadbd57a7b9f84260db8f03c0cbf65722732d43dfc93122d801e31977e0ba7cd249b340262caf216bca746a3520d0e01d487a5baf6a6c77e6
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)"
>