package encoding

  1. Overview
  2. Docs

Module Encoding.ExprSource

Sourcetype t = {
  1. e : expr;
  2. ty : Ty.t;
}
Sourceand expr =
  1. | Val of Value.t
  2. | Ptr of int32 * t
  3. | Unop of Ty.unop * t
  4. | Binop of Ty.binop * t * t
  5. | Triop of Ty.triop * t * t * t
  6. | Relop of Ty.relop * t * t
  7. | Cvtop of Ty.cvtop * t
  8. | Symbol of Symbol.t
  9. | Extract of t * int * int
  10. | Concat of t * t
Sourceval (@:) : expr -> Ty.t -> t
Sourceval mk_symbol : Symbol.t -> t
Sourceval is_num : t -> bool
Sourceval equal : t -> t -> bool
Sourceval get_symbols : t list -> Symbol.t list
Sourceval negate_relop : t -> (t, string) Result.t
Sourcemodule Pp : sig ... end
Sourceval pp : Format.formatter -> t -> unit
Sourceval pp_list : Format.formatter -> t list -> unit
Sourceval pp_smt : Format.formatter -> t list -> unit
Sourceval to_string : t -> string
Sourceval simplify_binop : Ty.t -> Ty.binop -> t -> t -> expr
Sourceval simplify_relop : Ty.t -> Ty.relop -> t -> t -> expr
Sourceval nland64 : int64 -> int -> int64
Sourceval nland32 : int32 -> int -> int32
Sourceval simplify_extract : t -> int -> int -> expr
Sourceval simplify_concat : t -> t -> expr
Sourceval simplify : ?extract:bool -> t -> t
Sourcemodule Infix : sig ... end
Sourcemodule Bitv : sig ... end
OCaml

Innovation. Community. Security.