Module BO.BufferOverrunModels

type exec_fun = BufferOverrunUtils.ModelEnv.model_env -> ret:(IR.Ident.t * IR.Typ.t) -> BufferOverrunDomain.Mem.t -> BufferOverrunDomain.Mem.t
type check_fun = BufferOverrunUtils.ModelEnv.model_env -> BufferOverrunDomain.Mem.t -> BufferOverrunProofObligations.ConditionSet.checked_t -> BufferOverrunProofObligations.ConditionSet.checked_t
type model = {
exec : exec_fun;
check : check_fun;
}
module Collection : sig ... end
module NSCollection : sig ... end
module NSString : sig ... end
module JavaString : sig ... end
module Call : sig ... end
val get_malloc_info_opt : IR.Exp.t -> (IR.Typ.t * IStdlib.IStd.Int.t option * IR.Exp.t * IR.Exp.t option) option

Return a tuple of malloc information with heuristics:

  • type of array element
  • stride of the type
  • array size
  • flexible array size