Skip to main content

Module infoflow

Module infoflow 

Source
Expand description

Information flow over tast, on the two-level lattice Low ≤ High: a mapping’s label must be at least its memory region’s, so a High region is never read through a Low mapping.

// .fis
High MemoryRegion secret(0x1000);
Low  MemoryRegion public(0x1000);

// .fi
High Mapping a(secret, "r");    // OK
High Mapping b(public, "rw");   // OK: upward
Low  Mapping c(secret, "r");    // ERROR: High region through a Low mapping

Functions§

infoflow
Check that no High memory region is mapped at Low.