File: string_h.res.oracle

package info (click to toggle)
frama-c 20161101%2Bsilicon%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 42,324 kB
  • ctags: 35,695
  • sloc: ml: 200,142; ansic: 31,465; makefile: 2,334; sh: 1,643; lisp: 259; python: 85; asm: 26
file content (49 lines) | stat: -rw-r--r-- 2,915 bytes parent folder | download
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
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/libc/string_h.c (with 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
  
[value] computing for function test_strcmp <- main.
        Called from tests/libc/string_h.c:20.
[value] computing for function strcmp <- test_strcmp <- main.
        Called from tests/libc/string_h.c:5.
[value] using specification for function strcmp
share/libc/string.h:103:[value] function strcmp: precondition 'valid_string_s1' got status valid.
share/libc/string.h:104:[value] function strcmp: precondition 'valid_string_s2' got status valid.
tests/libc/string_h.c:5:[value] cannot evaluate ACSL term, unsupported ACSL construct: logic functions or predicates
[value] Done for function strcmp
tests/libc/string_h.c:6:[value] warning: assertion got status unknown.
[value] Recording results for test_strcmp
[value] Done for function test_strcmp
[value] computing for function test_strcat <- main.
        Called from tests/libc/string_h.c:21.
[value] computing for function strcat <- test_strcat <- main.
        Called from tests/libc/string_h.c:13.
[value] using specification for function strcat
share/libc/string.h:249:[value] function strcat: precondition 'valid_string_src' got status valid.
share/libc/string.h:250:[value] function strcat: precondition 'valid_string_dst' got status valid.
tests/libc/string_h.c:13:[value] Cannot evaluate range bound strlen(dest) + strlen(src)
        (unsupported ACSL construct: logic functions or predicates). Approximating
share/libc/string.h:251:[value] warning: function strcat: precondition 'room_string' got status unknown.
tests/libc/string_h.c:13:[value] Cannot evaluate range bound strlen{Old}(src)
        (unsupported ACSL construct: logic functions or predicates). Approximating
tests/libc/string_h.c:13:[value] Cannot evaluate range bound strlen{Old}(dest)
        (unsupported ACSL construct: logic functions or predicates). Approximating
tests/libc/string_h.c:13:[value] Cannot evaluate range bound strlen{Old}(dest) + strlen{Old}(src)
        (unsupported ACSL construct: logic functions or predicates). Approximating
tests/libc/string_h.c:13:[value] cannot evaluate ACSL term, unsupported ACSL construct: logic functions or predicates
[value] Done for function strcat
[value] Recording results for test_strcat
[value] Done for function test_strcat
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function test_strcat:
  string[0] ∈ [--..--]
        [1..9] ∈ [--..--] or UNINITIALIZED
[value:final-states] Values at end of function test_strcmp:
  res ∈ {0}
[value:final-states] Values at end of function main:
  __retres ∈ {0}