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/Expr/index.html
Module Dba.Expr
type t = private
| Var of Var.t
| Load of size * Machine.endianness * t * string option
| Cst of Bitvector.t
| Unary of Unary_op.t * t
| Binary of Binary_op.t * t * t
| Ite of t * t * t
val size_of : t -> int
val is_constant : t -> bool
val temporary : size:int -> string -> t
val constant : 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 : Binary_op.t -> t -> t -> t
Binary expressions
val unary : 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 -> Size.Byte.t -> 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)"
>
On This Page