package binsec
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module type Term.S
type nonrec size = sizetype 'a op = 'a operator = | Not : unary op| Sext : size -> unary op| Uext : size -> unary op| Restrict : int interval -> unary op| Plus : binary op| Minus : _ op| Mul : binary op| Udiv : binary op| Umod : binary op| Sdiv : binary op| Smod : binary op| Or : binary op| And : binary op| Xor : binary op| Concat : binary op| Lsl : binary op| Lsr : binary op| Asr : binary op| Rol : binary op| Ror : binary op| Eq : binary op| Diff : binary op| Ule : binary op| Ult : binary op| Uge : binary op| Ugt : binary op| Sle : binary op| Slt : binary op| Sge : binary op| Sgt : binary op
type ('k, 'a, 'b) term = private ('k, 'a, 'b) t = | Var : {hash : int;size : size;name : string;label : 'a;
} -> ([< `Var | `Loc | `Exp ], 'a, _) term| Load : {hash : int;len : size;dir : endianness;addr : ([ `Exp ], 'a, 'b) term;label : 'b;
} -> ([< `Mem | `Loc | `Exp ], 'a, 'b) term| Cst : Bitvector.t -> ([< `Cst | `Exp ], _, _) term| Unary : {} -> ([ `Exp ], 'a, 'b) term| Binary : {} -> ([ `Exp ], 'a, 'b) term| Ite : {hash : int;size : size;c : ([ `Exp ], 'a, 'b) term;t : ([ `Exp ], 'a, 'b) term;e : ([ `Exp ], 'a, 'b) term;
} -> ([ `Exp ], 'a, 'b) term
Constructors
val load : size -> endianness -> t -> b -> tload nbytes endianness addr label
val constant : Bitvector.t -> tconstant bv creates a constant expression from the bitvector bv.
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 -> tzeros n creates a constant expression of value 0 with length n
val ones : int -> tones n creates a constant expression of value 1 with length n. I.e.; it has (n - 1) zeros in binary.
val one : tval zero : tUtils
*
val hash : t -> inthash t returns the hash of t in constant time.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page