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 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/array_zero_length.i (no preprocessing)
tests/value/array_zero_length.i:10:[kernel] warning: declaration of array of 'zero-length arrays' ('char [0]`);
zero-length arrays are a compiler extension
tests/value/array_zero_length.i:15:[kernel] warning: declaration of array of 'zero-length arrays' ('char [0]`);
zero-length arrays are a compiler extension
[value] Analyzing an incomplete application starting at main
[value] Computing initial state
tests/value/array_zero_length.i:7:[kernel] imprecise size for variable T (Size of array without number of elements.)
tests/value/array_zero_length.i:7:[value] warning: during initialization of variable 'T', size of type 'char []' cannot be
computed (Size of array without number of elements.)
tests/value/array_zero_length.i:9:[kernel] imprecise size for variable V (Size of array without number of elements.)
tests/value/array_zero_length.i:9:[value] warning: during initialization of variable 'V', size of type 'char [][2]' cannot be
computed (Size of array without number of elements.)
tests/value/array_zero_length.i:10:[kernel] imprecise size for variable W (Size of array without number of elements.)
tests/value/array_zero_length.i:10:[value] warning: during initialization of variable 'W', size of type 'char [][0]' cannot be
computed (Size of array without number of elements.)
[value] Initial state computed
[value:initial-state] Values of globals at initialization
T[0..4294967295] ∈ [--..--] or UNINITIALIZED
V[0..2147483647][0..1] ∈ [--..--] or UNINITIALIZED
W[bits 0 to ..] ∈ [--..--] or UNINITIALIZED
W2[0..1][0] ∈ [--..--]
pW ∈ {{ NULL ; &S_pW[0] }}
S_pW[0..1] ∈ [--..--]
tests/value/array_zero_length.i:24:[value] assertion got status valid.
tests/value/array_zero_length.i:28:[value] assertion got status valid.
tests/value/array_zero_length.i:30:[value] assertion got status valid.
tests/value/array_zero_length.i:32:[value] assertion got status valid.
tests/value/array_zero_length.i:34:[value] assertion got status valid.
tests/value/array_zero_length.i:36:[value] warning: out of bounds write. assert \valid(&T[2]);
tests/value/array_zero_length.i:37:[value] warning: out of bounds write. assert \valid(&T[1]);
tests/value/array_zero_length.i:37:[value] warning: accessing uninitialized left-value. assert \initialized(&T[3]);
tests/value/array_zero_length.i:37:[value] warning: out of bounds read. assert \valid_read(&T[3]);
tests/value/array_zero_length.i:39:[value] warning: out of bounds write. assert \valid(&V[2][1]);
tests/value/array_zero_length.i:40:[value] warning: out of bounds write. assert \valid(&V[1][1]);
tests/value/array_zero_length.i:40:[value] warning: accessing uninitialized left-value. assert \initialized(&V[3][1]);
tests/value/array_zero_length.i:40:[value] warning: out of bounds read. assert \valid_read(&V[3][1]);
tests/value/array_zero_length.i:42:[value] warning: out of bounds write. assert \valid(&W[2][1]);
tests/value/array_zero_length.i:43:[value] warning: out of bounds write. assert \valid(&W[1][1]);
tests/value/array_zero_length.i:43:[value] warning: accessing uninitialized left-value. assert \initialized(&W[3][1]);
tests/value/array_zero_length.i:43:[value] warning: out of bounds read. assert \valid_read(&W[3][1]);
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function main:
T[0..1] ∈ [--..--] or UNINITIALIZED
[2] ∈ {3}
[3..4294967295] ∈ [--..--] or UNINITIALIZED
V[0..2147483647][0..1] ∈ [--..--] or UNINITIALIZED
W[bits 0 to ..] ∈ [--..--] or UNINITIALIZED
pW ∈ {{ NULL ; &W[-1] ; &S_pW[0] }}
sT ∈ [--..--]
sU ∈ {0}
sV ∈ [--..--]
sW ∈ [--..--]
sT1 ∈ {0}
sU1 ∈ {0}
sV1 ∈ {0}
sW1 ∈ {0}
sW2 ∈ {2}
|