Frama-C API - Chunk
Uniform access to chunks features.
type t = chunkval hash : t -> intval pretty : Stdlib.Format.formatter -> t -> unitval basename_of_chunk : t -> stringUsed when generating fresh variables for a chunk.
val is_init : t -> boolWhether the chunk tracks memory initialization (used for filtering).
val is_primary : t -> boolUsed to sort memory chunk parameters in compiled ACSL symbols.
Non-primary chunk parameters come first, followed by primary ones, followed by logical parameters.
Typical primary chunks are memory chunks with a single location, like hoare of ref variables in MemVar or singleton regions in MemRegion.
val is_framed : t -> boolWhether the chunk is local to a function call.
Means the chunk is separated from another call side-effects. If true, entails that a function assigning everything can not modify the chunk. Only used for optimisation, it would be safe to always return false.
