Changes between Version 5 and Version 6 of MemoryAnalysis


Ignore:
Timestamp:
03/08/16 13:10:05 (10 years ago)
Author:
zmanchun
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MemoryAnalysis

    v5 v6  
    1313=== Impact memory unit analysis ===
    1414The analysis below is an over approximation.
     15
     16Given a location `L`, which has outgoing statements `s1, s2, ... sn`, the impact memory units of `L` is:\\
     17`impact(L) = impact(s1) U impact(s2) U ... U impact(sn)`.
     18
     19Reachable memory units analysis:
     20
     21`reach(L) = U` ,,`L --> L'`,, `reach(L') U impact(L)`.
     22
    1523==== Expressions ====
    1624let `e` be an expression, let `le` be an left-hand-side expression, let `impact(e)` be the set of impact memory units of `e`.
     
    8694   **TBC**
    8795 * otherwise:\\
    88    `impact(l := f(e0, e1, e2, ...)) = impact(l) U impact(e0) U impact(e1) ...`
     96   `impact(l := f(e0, e1, e2, ...)) = impact(l) U impact(e0) U impact(e1) ... U impact(f)`, where `impact(f)` is the impact memory unit set of the function `f`.
    8997
    90983. guarded statement: `[e]s`
     
    96104
    97105
    98