Module Frama_c_kernel_base.Addresses

Represent a set of addresses by associating bases with integer offsets.

Invariants of both exported modules:

Bytes is intended to represent sets of pointer values:

Bits is intended to represent sets of lvalue addresses:

Conversion functions Bits.of_bytes and Bits.to_bytes convert integer offsets and absolute addresses to enforce these invariants.

module Bytes : sig ... end

Association between bases and offsets in byte. Absolute addresses are represented as integers bound to Base.base.Null.

module Bits : sig ... end

Association between bases and offsets in bits. Valid absolute addresses are represented as offsets bound to Absolute bases. Absolute addresses outside all valid absolute ranges are represented as integers bound to Base.base.Null.