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.6.1.tbz
sha256=ebc732ef78d3f6d94a0d179f8ef76a74dedd4d23f9783c3875091695c1ceee56
sha512=cf91afa2223681c9b50b71429d739fc37c792264e43f72212ac405088d3de5c9f04d40ef6ae92526c727569982d48d1678811341b5d9b4bbc596fbc55d45b79e
doc/binsec.sse/Se/Sexpr/Expr/index.html
Module Sexpr.Expr
type nonrec size = Binsec.Term.size
type 'a op = 'a Binsec.Term.operator =
| Not : Binsec.Term.unary op
| Sext : size -> Binsec.Term.unary op
| Uext : size -> Binsec.Term.unary op
| Restrict : int interval -> Binsec.Term.unary op
| Plus : Binsec.Term.binary op
| Minus : _ op
| Mul : Binsec.Term.binary op
| Udiv : Binsec.Term.binary op
| Umod : Binsec.Term.binary op
| Sdiv : Binsec.Term.binary op
| Smod : Binsec.Term.binary op
| Or : Binsec.Term.binary op
| And : Binsec.Term.binary op
| Xor : Binsec.Term.binary op
| Concat : Binsec.Term.binary op
| Lsl : Binsec.Term.binary op
| Lsr : Binsec.Term.binary op
| Asr : Binsec.Term.binary op
| Rol : Binsec.Term.binary op
| Ror : Binsec.Term.binary op
| Eq : Binsec.Term.binary op
| Diff : Binsec.Term.binary op
| Ule : Binsec.Term.binary op
| Ult : Binsec.Term.binary op
| Uge : Binsec.Term.binary op
| Ugt : Binsec.Term.binary op
| Sle : Binsec.Term.binary op
| Slt : Binsec.Term.binary op
| Sge : Binsec.Term.binary op
| Sgt : Binsec.Term.binary op
type ('k, 'l, 'a, 'b) term = private ('k, 'l, 'a, 'b) Binsec.Term.t =
| Var : {
hash : int;
size : size;
name : string;
label : 'a;
} -> (Binsec.Term.exp, _, 'a, _) term
| Load : {
hash : int;
len : size;
dir : endianness;
addr : (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term;
label : 'b;
} -> (Binsec.Term.exp, _, 'a, 'b) term
| Cst : Binsec.Bitvector.t -> (_, Binsec.Term.exp, _, _) term
| Unary : {
hash : int;
size : size;
f : Binsec.Term.unary Binsec.Term.operator;
x : (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term;
} -> (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term
| Binary : {
hash : int;
size : size;
f : Binsec.Term.binary Binsec.Term.operator;
x : (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term;
y : (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term;
} -> (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term
| Ite : {
hash : int;
size : size;
c : (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term;
t : (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term;
e : (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term;
} -> (Binsec.Term.exp, Binsec.Term.exp, 'a, 'b) term
type t = (Binsec.Term.exp, Binsec.Term.exp, unit, Memory.t) term
Constructors
val load : size -> endianness -> t -> Memory.t -> t
load nbytes endianness addr label
val constant : Binsec.Bitvector.t -> t
constant bv
creates a constant expression from the bitvector bv
.
val unary : Binsec.Term.unary op -> t -> t
unary f x
creates a unary application of f
on x
.
val binary : Binsec.Term.binary op -> t -> t -> t
binary f x y
creates a binary application of f
on x
and y
.
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
.
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
Utils
*
val hash : t -> int
hash t
returns the hash of t
in constant time.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page