[kernel] Parsing linked_list.c (with preprocessing) [eva] Analyzing a complete application starting at main [eva] Computing initial state [eva] Initial state computed [eva:initial-state] Values of globals at initialization MEMORY[0..0x3FF] ∈ {0} malloc_next_free ∈ {0} [eva] linked_list.c:40: Frama_C_dump_each: # cvalue: MEMORY[0..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ UNINITIALIZED head ∈ {0} i ∈ {1} malloc_next_free ∈ {0} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function malloc <- main. Called from linked_list.c:41. [eva:alarm] FRAMAC_SHARE/libc/stdlib.h:394: Warning: function malloc, behavior allocation: postcondition 'allocation' got status unknown. [eva] Recording results for malloc [eva] Done for function malloc [eva] linked_list.c:42: Frama_C_dump_each: # cvalue: MEMORY[0..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ (item *)&MEMORY }} head ∈ {0} i ∈ {1} malloc_next_free ∈ {8} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] linked_list.c:39: starting to merge loop iterations [eva] linked_list.c:40: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ {0; 1} [4..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ (item *)&MEMORY }} or UNINITIALIZED head ∈ {{ NULL ; (item *)&MEMORY }} i ∈ {1; 2} malloc_next_free ∈ {0; 8} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function malloc <- main. Called from linked_list.c:41. [eva] Recording results for malloc [eva] Done for function malloc [eva] linked_list.c:42: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ {0; 1} [4..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ (item *)&MEMORY{[0], [8]} }} head ∈ {{ NULL ; (item *)&MEMORY }} i ∈ {1; 2} malloc_next_free ∈ {8; 16} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] linked_list.c:40: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ {0; 1; 2} [bits 32 to 63] ∈ {{ NULL ; (? *)&MEMORY }} [bits 64 to 95] ∈ {0; 1; 2} [bits 96 to 127] ∈ {{ NULL ; (? *)&MEMORY }} [16..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ (item *)&MEMORY{[0], [8]} }} or UNINITIALIZED head ∈ {{ NULL ; (item *)&MEMORY{[0], [8]} }} i ∈ {1; 2; 3} malloc_next_free ∈ {0; 8; 16} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function malloc <- main. Called from linked_list.c:41. [eva] Recording results for malloc [eva] Done for function malloc [eva] linked_list.c:42: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ {0; 1; 2} [bits 32 to 63] ∈ {{ NULL ; (? *)&MEMORY }} [bits 64 to 95] ∈ {0; 1; 2} [bits 96 to 127] ∈ {{ NULL ; (? *)&MEMORY }} [16..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ (item *)&MEMORY{[0], [8], [16]} }} head ∈ {{ NULL ; (item *)&MEMORY{[0], [8]} }} i ∈ {1; 2; 3} malloc_next_free ∈ {8; 16; 24} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] linked_list.c:40: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ {0; 1; 2; 3} [bits 32 to 63] ∈ {{ NULL ; (? *)&MEMORY{[0], [8]} }} [bits 64 to 95] ∈ {0; 1; 2; 3} [bits 96 to 127] ∈ {{ NULL ; (? *)&MEMORY{[0], [8]} }} [bits 128 to 159] ∈ {0; 1; 2; 3} [bits 160 to 191] ∈ {{ NULL ; (? *)&MEMORY{[0], [8]} }} [24..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ (item *)&MEMORY{[0], [8], [16]} }} or UNINITIALIZED head ∈ {{ NULL ; (item *)&MEMORY{[0], [8], [16]} }} i ∈ [1..10] malloc_next_free ∈ {0; 8; 16; 24} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function malloc <- main. Called from linked_list.c:41. [eva] Recording results for malloc [eva] Done for function malloc [eva] linked_list.c:42: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ {0; 1; 2; 3} [bits 32 to 63] ∈ {{ NULL ; (? *)&MEMORY{[0], [8]} }} [bits 64 to 95] ∈ {0; 1; 2; 3} [bits 96 to 127] ∈ {{ NULL ; (? *)&MEMORY{[0], [8]} }} [bits 128 to 159] ∈ {0; 1; 2; 3} [bits 160 to 191] ∈ {{ NULL ; (? *)&MEMORY{[0], [8]} }} [24..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ (item *)&MEMORY{[0], [8], [16], [24]} }} head ∈ {{ NULL ; (item *)&MEMORY{[0], [8], [16]} }} i ∈ [1..10] malloc_next_free ∈ {8; 16; 24; 32} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] linked_list.c:40: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 63] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16]} }} [bits 64 to 95] ∈ [0..10] [bits 96 to 127] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16]} }} [bits 128 to 159] ∈ [0..10] [bits 160 to 191] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16]} }} [bits 192 to 223] ∈ [0..10] [bits 224 to 255] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16]} }} [32..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ (item *)&MEMORY{[0], [8], [16], [24]} }} or UNINITIALIZED head ∈ {{ NULL ; (item *)&MEMORY{[0], [8], [16], [24]} }} i ∈ [1..10] malloc_next_free ∈ {0; 8; 16; 24; 32} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function malloc <- main. Called from linked_list.c:41. [eva] Recording results for malloc [eva] Done for function malloc [eva] linked_list.c:42: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 63] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16]} }} [bits 64 to 95] ∈ [0..10] [bits 96 to 127] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16]} }} [bits 128 to 159] ∈ [0..10] [bits 160 to 191] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16]} }} [bits 192 to 223] ∈ [0..10] [bits 224 to 255] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16]} }} [32..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ (item *)&MEMORY{[0], [8], [16], [24], [32]} }} head ∈ {{ NULL ; (item *)&MEMORY{[0], [8], [16], [24]} }} i ∈ [1..10] malloc_next_free ∈ {8; 16; 24; 32; 40} S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] linked_list.c:40: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 63] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [bits 64 to 95] ∈ [0..10] [bits 96 to 127] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [bits 128 to 159] ∈ [0..10] [bits 160 to 191] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [bits 192 to 223] ∈ [0..10] [bits 224 to 255] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [bits 256 to 0x11F] ∈ [0..10] [bits 0x120 to 0x13F] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16], [24]} }} [40..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ &MEMORY + [0..0x3F8],0%8 }} or UNINITIALIZED head ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} i ∈ [1..10] malloc_next_free ∈ [0..0x3F8],0%8 S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function malloc <- main. Called from linked_list.c:41. [eva] Recording results for malloc [eva] Done for function malloc [eva] linked_list.c:42: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 63] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [bits 64 to 95] ∈ [0..10] [bits 96 to 127] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [bits 128 to 159] ∈ [0..10] [bits 160 to 191] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [bits 192 to 223] ∈ [0..10] [bits 224 to 255] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [bits 256 to 0x11F] ∈ [0..10] [bits 0x120 to 0x13F] ∈ {{ NULL ; (? *)&MEMORY{[0], [8], [16], [24]} }} [40..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ NULL ; &MEMORY + [0..0x3F0],0%8 }} head ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} i ∈ [1..10] malloc_next_free ∈ [8..0x400],0%8 S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva:alarm] linked_list.c:43: Warning: out of bounds write. assert \valid(&curr->val); [kernel] linked_list.c:43: more than 100(127) locations to update in array. Approximating. [kernel] linked_list.c:44: more than 100(127) locations to update in array. Approximating. [eva] linked_list.c:40: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 0x1F9F]# ∈ {{ NULL + [0..10] ; &MEMORY + [0..0x3F8],0%8 }} repeated %32 [bits 0x1FA0 to 0x1FBF] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [0x3F8..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ &MEMORY + [0..0x3F8],0%8 }} or UNINITIALIZED head ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} i ∈ [1..10] malloc_next_free ∈ [0..0x400],0%8 S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function malloc <- main. Called from linked_list.c:41. [eva] Recording results for malloc [eva] Done for function malloc [eva] linked_list.c:42: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 0x1F9F]# ∈ {{ NULL + [0..10] ; &MEMORY + [0..0x3F8],0%8 }} repeated %32 [bits 0x1FA0 to 0x1FBF] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [0x3F8..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ NULL ; &MEMORY + [0..0x3F0],0%8 }} head ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} i ∈ [1..10] malloc_next_free ∈ [8..0x408],0%8 S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] linked_list.c:40: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 0x1F9F]# ∈ {{ NULL + [0..10] ; &MEMORY + [0..0x3F8],0%8 }} repeated %32 [bits 0x1FA0 to 0x1FBF] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [0x3F8..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ &MEMORY + [0..0x3F8],0%8 }} or UNINITIALIZED head ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} i ∈ [1..10] malloc_next_free ∈ [0..0x7FFFFFF8],0%8 S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function malloc <- main. Called from linked_list.c:41. [eva] Recording results for malloc [eva] Done for function malloc [eva] linked_list.c:42: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 0x1F9F]# ∈ {{ NULL + [0..10] ; &MEMORY + [0..0x3F8],0%8 }} repeated %32 [bits 0x1FA0 to 0x1FBF] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} [0x3F8..0x3FF] ∈ {0} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ NULL ; &MEMORY + [0..0xFFFFFFF8],0%8 }} head ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} i ∈ [1..10] malloc_next_free ∈ [-0x80000000..0x7FFFFFF8],0%8 S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [kernel] linked_list.c:43: more than 100(128) locations to update in array. Approximating. [kernel] linked_list.c:44: more than 100(128) locations to update in array. Approximating. [eva] linked_list.c:40: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 0x1FDF]# ∈ {{ NULL + [0..10] ; &MEMORY + [0..0x3F8],0%8 }} repeated %32 [bits 0x1FE0 to 0x1FFF] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ &MEMORY + [0..0x3F8],0%8 }} or UNINITIALIZED head ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} i ∈ [1..10] malloc_next_free ∈ [-0x80000000..0x7FFFFFF8],0%8 S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function malloc <- main. Called from linked_list.c:41. [eva] Recording results for malloc [eva] Done for function malloc [eva] linked_list.c:42: Frama_C_dump_each: # cvalue: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 0x1FDF]# ∈ {{ NULL + [0..10] ; &MEMORY + [0..0x3F8],0%8 }} repeated %32 [bits 0x1FE0 to 0x1FFF] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} __fc_errno ∈ [--..--] __fc_stderr ∈ {{ &__fc_initial_stderr }} __fc_stdin ∈ {{ &__fc_initial_stdin }} __fc_stdout ∈ {{ &__fc_initial_stdout }} __fc_fopen[0..15] ∈ {0} __fc_p_fopen ∈ {{ &__fc_fopen[0] }} __fc_tmpnam[0..0x7FF] ∈ {0} __fc_p_tmpnam ∈ {{ &__fc_tmpnam[0] }} __fc_heap_status ∈ [--..--] Frama_C_entropy_source ∈ [--..--] __fc_random_counter ∈ [--..--] __fc_rand_max ∈ {0x7FFF} __fc_random48_init ∈ {0} __fc_random48_counter[0..2] ∈ [--..--] __fc_p_random48_counter ∈ {{ &__fc_random48_counter[0] }} __fc_env[0] ∈ {{ NULL ; &S_0___fc_env[0] }} [1] ∈ {{ NULL ; &S_1___fc_env[0] }} [2..0xFFF] ∈ {{ NULL ; &S_0___fc_env[0] ; &S_1___fc_env[0] }} __fc_mblen_state ∈ [--..--] __fc_mbtowc_state ∈ [--..--] __fc_wctomb_state ∈ [--..--] __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {0} __fc_initial_stderr.__fc_FILE_id ∈ {2} .__fc_FILE_data ∈ {0} __fc_initial_stdin ∈ {0} curr ∈ {{ NULL ; &MEMORY + [0..0xFFFFFFF8],0%8 }} head ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} i ∈ [1..10] malloc_next_free ∈ [-0x80000000..0x7FFFFFF8],0%8 S_0___fc_env[0..1] ∈ [--..--] S_1___fc_env[0..1] ∈ [--..--] ==END OF DUMP== [eva] computing for function printf_va_1 <- main. Called from linked_list.c:51. [eva] using specification for function printf_va_1 [eva] linked_list.c:51: function printf_va_1: precondition got status valid. [eva] Done for function printf_va_1 [eva] linked_list.c:50: starting to merge loop iterations [eva:alarm] linked_list.c:51: Warning: out of bounds read. assert \valid_read(&curr->val); [eva] computing for function printf_va_1 <- main. Called from linked_list.c:51. [eva] Done for function printf_va_1 [eva] Recording results for main [kernel] linked_list.c:43: more than 100(128) elements to enumerate. Approximating. [kernel] linked_list.c:44: more than 100(128) elements to enumerate. Approximating. [eva] done for function main [eva] ====== VALUES COMPUTED ====== [eva:final-states] Values at end of function malloc: malloc_next_free ∈ [-0x80000000..0x7FFFFFF8],0%8 __retres ∈ {{ NULL ; &MEMORY + [0..0xFFFFFFF8],0%8 }} [eva:final-states] Values at end of function main: MEMORY[bits 0 to 31] ∈ [0..10] [bits 32 to 0x1FDF]# ∈ {{ NULL + [0..10] ; &MEMORY + [0..0x3F8],0%8 }} repeated %32 [bits 0x1FE0 to 0x1FFF] ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} __fc_initial_stdout.__fc_FILE_id ∈ {1} .__fc_FILE_data ∈ {{ garbled mix of &{MEMORY} (origin: Library function {linked_list.c:51}) }} curr ∈ {0} head ∈ {{ NULL ; &MEMORY + [0..0x3F8],0%8 }} i ∈ {11} malloc_next_free ∈ [-0x80000000..0x7FFFFFF8],0%8 [from] Computing for function malloc [from] Done for function malloc [from] Computing for function main [kernel] linked_list.c:43: more than 100(128) dependencies to update. Approximating. [kernel] linked_list.c:44: more than 100(128) dependencies to update. Approximating. [from] Computing for function printf_va_1 <-main [from] Done for function printf_va_1 [from] Done for function main [from] ====== DEPENDENCIES COMPUTED ====== These dependencies hold at termination for the executions that terminate: [from] Function malloc: malloc_next_free FROM size; malloc_next_free \result FROM size; malloc_next_free [from] Function printf_va_1: __fc_initial_stdout.__fc_FILE_data FROM __fc_initial_stdout; param0; "%d\n" (and SELF) \result FROM __fc_initial_stdout; param0; "%d\n" [from] Function main: MEMORY[0..3] FROM malloc_next_free (and SELF) [4..0x3FF] FROM malloc_next_free (and SELF) __fc_initial_stdout.__fc_FILE_data FROM MEMORY[0..0x3FF]; __fc_initial_stdout; malloc_next_free; "%d\n" (and SELF) malloc_next_free FROM malloc_next_free (and SELF) [from] ====== END OF DEPENDENCIES ====== [inout] Out (internal) for function malloc: malloc_next_free; __retres [inout] Inputs for function malloc: malloc_next_free [inout] Out (internal) for function main: MEMORY[0..0x3FF]; __fc_initial_stdout.__fc_FILE_data; curr; head; i; malloc_next_free [inout] Inputs for function main: MEMORY[0..0x3FF]; __fc_initial_stdout; malloc_next_free; "%d\n"