package frama-c
Install
dune-project
Dependency
Authors
-
MMichele Alberti
-
TThibaud Antignac
-
GGergö Barany
-
PPatrick Baudin
-
NNicolas Bellec
-
TThibaut Benjamin
-
AAllan Blanchard
-
LLionel Blatter
-
FFrançois Bobot
-
RRichard Bonichon
-
VVincent Botbol
-
QQuentin Bouillaguet
-
DDavid Bühler
-
ZZakaria Chihani
-
LLoïc Correnson
-
JJulien Crétin
-
PPascal Cuoq
-
ZZaynah Dargaye
-
BBasile Desloges
-
JJean-Christophe Filliâtre
-
PPhilippe Herrmann
-
MMaxime Jacquemin
-
FFlorent Kirchner
-
AAlexander Kogtenkov
-
RRemi Lazarini
-
TTristan Le Gall
-
KKilyan Le Gallic
-
JJean-Christophe Léchenet
-
MMatthieu Lemerre
-
DDara Ly
-
DDavid Maison
-
CClaude Marché
-
AAndré Maroneze
-
TThibault Martin
-
FFonenantsoa Maurica
-
MMelody Méaulle
-
BBenjamin Monate
-
YYannick Moy
-
PPierre Nigron
-
AAnne Pacalet
-
VValentin Perrelle
-
GGuillaume Petiot
-
DDario Pinto
-
VVirgile Prevosto
-
AArmand Puccetti
-
FFélix Ridoux
-
VVirgile Robles
-
JJan Rochel
-
MMuriel Roger
-
CCécile Ruet-Cros
-
JJulien Signoles
-
NNicolas Stouls
-
KKostyantyn Vorobyov
-
BBoris Yakobowski
Maintainers
Sources
sha256=93a291a8764644df2f3618d7ea18258b5fbe0912ec98dfdfd180967afdf24474
doc/frama-c.kernel/Frama_c_kernel/Cvalue/V_Or_Uninitialized/index.html
Module Cvalue.V_Or_Uninitialized
Values with 'undefined' and 'escaping addresses' flags.
Semantics of the constructors:
C_init_*: definitely initializedC_uninit_*: possibly uninitializedC_*_noesc: never contains escaping addressesC_*_esc: may contain escaping addresses
C_uninit_noesc V.bottom: guaranteed to be uninitializedC_init_esc V.bottom: guaranteed to be an escaping addressC_uninit_esc V.bottom: either uninitialized or an escaping address
C_init_noesc V.bottom: "real" bottom, with an empty concretization. Corresponds to an unreachable state.
include Offsetmap_lattice_with_isotropy.S
with type t := t
and type widen_hint = Locations.Location_Bytes.widen_hint
include Lattice_type.Bounded_Join_Semi_Lattice with type t := t
include Lattice_type.Join_Semi_Lattice with type t := t
datatype of element of the lattice
include Datatype.S with type t := t
include Datatype.S_no_copy with type t := t
include Datatype.Ty with type t := t
val packed_descr : Structural_descr.packPacked version of the descriptor.
val reprs : t listList of representants of the descriptor.
val hash : t -> intHash function: same spec than Hashtbl.hash.
val pretty : Format.formatter -> t -> unitPretty print each value in an user-friendly way.
val mem_project : (Project_skeleton.t -> bool) -> t -> boolmem_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 bottom : tsmallest element
include Lattice_type.With_Cardinal_One with type t := t
val cardinal_zero_or_one : t -> booltype widen_hint = Locations.Location_Bytes.widen_hintHints for the widening.
val widen : ?size:Integer.t -> ?hint:widen_hint -> t -> t -> twiden ~size ~hint v1 v2 is an over-approximation of join v1 v2. size is the size (in bits) of the widened value, and hint is some hint for the widening.
val pretty_typ : Cil_types.typ option -> t Pretty_utils.formatterIsotropy
val is_isotropic : t -> boolAre the bits independent?
Force a value to be isotropic, when a loss of imprecision occurs. The resulting value must verify is_isotropic.
Reading bits of values
val extract_bits :
topify:Origin.kind ->
start:Integer.t ->
stop:Integer.t ->
size:Integer.t ->
t ->
bool * tExtract the bits between start and stop in the value of type t, assuming this value has size bits. Return the corresponding value, and a boolean indicating that an imprecision occurred during the operation. In the latter case, the origin of the imprecision is flagged as having kind topify.
val shift_bits :
topify:Origin.kind ->
offset:Integer.t ->
size:Integer.t ->
t ->
tLeft-shift the given value, of size size, by offset bits. topify indicates which operation caused this shift to take place, for imprecision tracking.
val merge_distinct_bits :
topify:Origin.kind ->
conflate_bottom:bool ->
t ->
t ->
tMerge the bits of the two given values, that span disjoint bit ranges by construction. (So either an abstraction of + or | are correct implementations.)
The conflate_bottom argument deals with bottom values in either of the arguments. If conflate_bottom holds, any pre-existing bottom value must result in bottom. Otherwise, the bottom value is ignored.
topify indicates which operation caused this merge to take place, for imprecision tracking.
val merge_neutral_element : tValue that can be passed to merge_distinct_bits as the starting value. This value must be neutral wrt. merging of values.
include Lattice_type.With_Top with type t := t
val top : tlargest element
include Lattice_type.With_Top_Opt with type t := t
val top_opt : t optionoptional largest element
val is_bottom : t -> boolval is_initialized : t -> boolis_initialized v = true implies v is definitely initialized. is_initialized v = false implies v is possibly uninitialized. is_initialized v = false && is_bottom v implies v is definitely uninitialized.
val is_noesc : t -> boolis_noesc v = true implies v has no escaping addresses. is_noesc v = false implies v may have escaping addresses.
val is_indeterminate : t -> boolis_indeterminate v = false implies v only has definitely initialized values and non-escaping addresses. is_indeterminate v = true implies v may have uninitialized values and/or escaping addresses.
val uninitialized : tReturns the canonical representant of a definitely uninitialized value.
initialized v returns the definitely initialized, non-escaping representant of v.
reduce_by_initializedness initialized v reduces v so that its result r verifies \initialized(r) if initialized is true, and !\initialized(r) otherwise.
reduce_by_danglingness dangling v reduces v so that its result r verifies \dangling(r) if dangling is true, and !\dangling(r) otherwise.
Remove 'uninitialized' and 'escaping addresses' flags from the argument
val replace_base : Base.substitution -> t -> bool * t