package frama-c

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Widening hints for the Value Analysis datastructures.

include Datatype.S
include Datatype.S_no_copy
val name : string

Unique name of the datatype.

val descr : t Descr.t

Datatype descriptor.

val packed_descr : Structural_descr.pack

Packed version of the descriptor.

val reprs : t list

List of representants of the descriptor.

val equal : t -> t -> bool

Equality: same spec than Stdlib.(=).

val compare : t -> t -> int

Comparison: same spec than Stdlib.compare.

val hash : t -> int

Hash function: same spec than Hashtbl.hash.

val mem_project : (Project_skeleton.t -> bool) -> t -> bool

mem_project f x must return true iff there is a value p of type Project.t in x such that f p returns true.

val copy : t -> t

Deep copy: no possible sharing between x and copy x.

val empty : t

An empty set of hints

val default : unit -> t

A default set of hints

val join : t -> t -> t
val pretty : Format.formatter -> t -> unit

Pretty-prints a set of hints (for debug purposes only).

  • since Silicon-20161101
val num_hints : Cil_types.stmt option -> Base.t option -> Frama_c_kernel.Ival.Widen_Hints.t -> t

Define numeric hints for one or all variables (None), for a certain stmt or for all statements (None).

val float_hints : Cil_types.stmt option -> Base.t option -> Fc_float.Widen_Hints.t -> t

Define floating hints for one or all variables (None), for a certain stmt or for all statements (None).

val var_hints : Cil_types.stmt -> Base.Set.t -> t

Define a set of bases to widen in priority for a given statement.

Widen hints for a given statement, suitable for function Cvalue.Model.widen.