1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/bug0245.i (no preprocessing)
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
R ∈ {0}
p ∈ {0}
S ∈ {0}
q ∈ {0}
tests/value/bug0245.i:20:[value] warning: locals {u} escaping the scope of a block of main through p
tests/value/bug0245.i:20:[value] warning: locals {v} escaping the scope of a block of main through q
tests/value/bug0245.i:23:[value] warning: accessing left-value that contains escaping addresses.
assert ¬\dangling(&p);
tests/value/bug0245.i:24:[value] warning: accessing left-value that contains escaping addresses.
assert ¬\dangling(&q);
[value] Recording results for main
[value] done for function main
tests/value/bug0245.i:23:[value] assertion 'Value,dangling_pointer' got final status invalid.
tests/value/bug0245.i:24:[value] assertion 'Value,dangling_pointer' got final status invalid.
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function main:
R ∈ {0}
p ∈ ESCAPINGADDR
S ∈ {0}
q ∈ ESCAPINGADDR
a ∈ {2}
i ∈ {2}
[from] Computing for function main
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function main:
R FROM c (and SELF)
p FROM \nothing
S FROM d (and SELF)
q FROM \nothing
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function main:
R; p; S; q; a; i; u; v
[inout] Inputs for function main:
p; q
|