Module BO__BufferOverrunModels

type exec_fun = BO.BufferOverrunUtils.ModelEnv.model_env -> ret:(IR.Ident.t * IR.Typ.t) -> BO.BufferOverrunDomain.Mem.t -> BO.BufferOverrunDomain.Mem.t
type check_fun = BO.BufferOverrunUtils.ModelEnv.model_env -> BO.BufferOverrunDomain.Mem.t -> BO.BufferOverrunProofObligations.ConditionSet.checked_t -> BO.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