GithubHelp home page GithubHelp logo

Incorrect FALSE detected in function strncpy (43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c) about cbmc HOT 3 OPEN

lucasccordeiro avatar lucasccordeiro commented on September 9, 2024
Incorrect FALSE detected in function strncpy (43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c)

from cbmc.

Comments (3)

marek-trtik avatar marek-trtik commented on September 9, 2024
State 35 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1196 function main thread 0
----------------------------------------------------
  var_param_set_ac_online_6_p0=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 36 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1197 function main thread 0
----------------------------------------------------
  var_param_set_ac_online_6_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 37 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1198 function main thread 0
----------------------------------------------------
  var_param_get_ac_online_7_p0=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 41 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1198 function main thread 0
----------------------------------------------------
  __size=4ul (0000000000000000000000000000000000000000000000000000000000000100)

State 42 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1188 function ldv_successful_malloc thread 0
----------------------------------------------------
  p=0 (0000000000000000000000000000000000000000000000000000000000000000)

State 45 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1188 function ldv_successful_malloc thread 0
----------------------------------------------------
  malloc_size=4ul (0000000000000000000000000000000000000000000000000000000000000100)

State 62 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1188 function ldv_successful_malloc thread 0
----------------------------------------------------
  p=dynamic_object1 (0000011010100000000000000000000000000000000000000000000000000000)

State 66 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1198 function main thread 0
----------------------------------------------------
  var_param_get_ac_online_7_p0=dynamic_object1 (0000011010100000000000000000000000000000000000000000000000000000)

State 67 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1199 function main thread 0
----------------------------------------------------
  var_param_get_ac_online_7_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 68 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1200 function main thread 0
----------------------------------------------------
  var_param_set_battery_status_8_p0=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 69 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1201 function main thread 0
----------------------------------------------------
  var_param_set_battery_status_8_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 70 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1202 function main thread 0
----------------------------------------------------
  var_param_get_battery_status_9_p0="discharging" + 4 (0000010010100000000000000000000000000000000000000000000000000100)

State 71 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1203 function main thread 0
----------------------------------------------------
  var_param_get_battery_status_9_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 72 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1204 function main thread 0
----------------------------------------------------
  var_param_set_battery_present_12_p0=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 73 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1205 function main thread 0
----------------------------------------------------
  var_param_set_battery_present_12_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 74 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1206 function main thread 0
----------------------------------------------------
  var_param_get_battery_present_13_p0="true" (0000010001100000000000000000000000000000000000000000000000000000)

State 75 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1207 function main thread 0
----------------------------------------------------
  var_param_get_battery_present_13_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 76 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1208 function main thread 0
----------------------------------------------------
  var_param_set_battery_technology_14_p0=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 77 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1209 function main thread 0
----------------------------------------------------
  var_param_set_battery_technology_14_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 78 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1210 function main thread 0
----------------------------------------------------
  var_param_get_battery_technology_15_p0="LION" + 5 (0000010100100000000000000000000000000000000000000000000000000101)

State 79 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1211 function main thread 0
----------------------------------------------------
  var_param_get_battery_technology_15_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 80 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1212 function main thread 0
----------------------------------------------------
  var_param_set_battery_health_10_p0=buf!0@25 (0000001101000000000000000000000000000000000000000000000000000000)

State 81 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1213 function main thread 0
----------------------------------------------------
  var_param_set_battery_health_10_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 82 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1214 function main thread 0
----------------------------------------------------
  var_param_get_battery_health_11_p0=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 83 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1215 function main thread 0
----------------------------------------------------
  var_param_get_battery_health_11_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 84 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1216 function main thread 0
----------------------------------------------------
  var_param_set_battery_capacity_16_p0=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 85 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1217 function main thread 0
----------------------------------------------------
  var_param_set_battery_capacity_16_p1=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 86 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1218 function main thread 0
----------------------------------------------------
  tmp=0 (00000000000000000000000000000000)

State 87 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1219 function main thread 0
----------------------------------------------------
  tmp___0=0 (00000000000000000000000000000000)

State 88 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1220 function main thread 0
----------------------------------------------------
  tmp___1=0 (00000000000000000000000000000000)

State 89 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1224 function main thread 0
----------------------------------------------------
  LDV_IN_INTERRUPT=1 (00000000000000000000000000000001)

State 95 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 652 function test_power_init thread 0
----------------------------------------------------
  i=0 (00000000000000000000000000000000)

State 96 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 653 function test_power_init thread 0
----------------------------------------------------
  ret=0 (00000000000000000000000000000000)

State 97 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 654 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp3=((struct device *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 98 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 655 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp4=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 99 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 656 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp5=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 100 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 657 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp6=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 101 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 658 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp7=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 102 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 659 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp8=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 103 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 660 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp9=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 104 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 661 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp10=0u (00000000000000000000000000000000)

State 105 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 662 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp11=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 106 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 663 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp12=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 107 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 664 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp13=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 108 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 667 function test_power_init thread 0
----------------------------------------------------
  i=0 (00000000000000000000000000000000)

State 111 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 691 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp10=0u (00000000000000000000000000000000)

State 114 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 671 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp3=((struct device *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 115 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 672 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp4=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 116 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 673 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp5=&test_power_supplies[0].name (0000011011000000000000000000000000000000000000000000000000000000)

State 117 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 674 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp6=&test_power_supplies[0].name (0000011011000000000000000000000000000000000000000000000000000000)

State 121 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 675 function test_power_init thread 0
----------------------------------------------------
  ret=0 (00000000000000000000000000000000)

State 123 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 688 function test_power_init thread 0
----------------------------------------------------
  i=1 (00000000000000000000000000000001)

State 125 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 691 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp10=1u (00000000000000000000000000000001)

State 128 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 671 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp3=((struct device *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 129 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 672 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp4=1ul (0000000000000000000000000000000000000000000000000000000000000001)

State 130 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 673 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp5=&test_power_supplies[0].name (0000011011000000000000000000000000000000000000000000000000000000)

State 131 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 674 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp6=&test_power_supplies[1].name (0000011011000000000000000000000000000000000000000000000100001000)

State 135 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 675 function test_power_init thread 0
----------------------------------------------------
  ret=0 (00000000000000000000000000000000)

State 137 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 688 function test_power_init thread 0
----------------------------------------------------
  i=2 (00000000000000000000000000000010)

State 139 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 691 function test_power_init thread 0
----------------------------------------------------
  __cil_tmp10=2u (00000000000000000000000000000010)

State 145 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1226 function main thread 0
----------------------------------------------------
  tmp=0 (00000000000000000000000000000000)

State 148 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1339 function main thread 0
----------------------------------------------------
  tmp___1=8 (00000000000000000000000000001000)

State 151 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1236 function main thread 0
----------------------------------------------------
  tmp___0=136 (00000000000000000000000010001000)

State 167 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1339 function main thread 0
----------------------------------------------------
  tmp___1=262144 (00000000000001000000000000000000)

State 170 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1236 function main thread 0
----------------------------------------------------
  tmp___0=10 (00000000000000000000000000001010)

State 185 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1326 function main thread 0
----------------------------------------------------
  key=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 186 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1326 function main thread 0
----------------------------------------------------
  kp=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 187 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1155 function param_set_battery_capacity thread 0
----------------------------------------------------
  tmp=50 (00000000000000000000000000110010)

State 188 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1156 function param_set_battery_capacity thread 0
----------------------------------------------------
  tmp___0=0 (00000000000000000000000000000000)

State 189 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1157 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp5=((signed int *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 190 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1158 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp6=((signed int *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 191 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1159 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp7=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 192 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1160 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp8=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 196 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1164 function param_set_battery_capacity thread 0
----------------------------------------------------
  tmp___0=1 (00000000000000000000000000000001)

State 198 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1172 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp5=&battery_capacity (0000100001000000000000000000000000000000000000000000000000000000)

State 199 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1173 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp6=&tmp!0@2 (0000100010000000000000000000000000000000000000000000000000000000)

State 200 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1174 function param_set_battery_capacity thread 0
----------------------------------------------------
  battery_capacity=50 (00000000000000000000000000110010)

State 201 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1175 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp7=&test_power_supplies[0].name (0000011011000000000000000000000000000000000000000000000000000000)

State 202 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1176 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp8=&test_power_supplies[1].name (0000011011000000000000000000000000000000000000000000000100001000)

State 210 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1339 function main thread 0
----------------------------------------------------
  tmp___1=1 (00000000000000000000000000000001)

State 213 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1236 function main thread 0
----------------------------------------------------
  tmp___0=10 (00000000000000000000000000001010)

State 228 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1326 function main thread 0
----------------------------------------------------
  key=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 229 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1326 function main thread 0
----------------------------------------------------
  kp=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 230 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1155 function param_set_battery_capacity thread 0
----------------------------------------------------
  tmp=0 (00000000000000000000000000000000)

State 231 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1156 function param_set_battery_capacity thread 0
----------------------------------------------------
  tmp___0=0 (00000000000000000000000000000000)

State 232 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1157 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp5=((signed int *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 233 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1158 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp6=((signed int *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 234 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1159 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp7=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 235 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1160 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp8=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 239 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1164 function param_set_battery_capacity thread 0
----------------------------------------------------
  tmp___0=1 (00000000000000000000000000000001)

State 241 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1172 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp5=&battery_capacity (0000100001000000000000000000000000000000000000000000000000000000)

State 242 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1173 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp6=&tmp!0@3 (0000100010100000000000000000000000000000000000000000000000000000)

State 243 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1174 function param_set_battery_capacity thread 0
----------------------------------------------------
  battery_capacity=0 (00000000000000000000000000000000)

State 244 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1175 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp7=&test_power_supplies[0].name (0000011011000000000000000000000000000000000000000000000000000000)

State 245 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1176 function param_set_battery_capacity thread 0
----------------------------------------------------
  __cil_tmp8=&test_power_supplies[1].name (0000011011000000000000000000000000000000000000000000000100001000)

State 253 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1339 function main thread 0
----------------------------------------------------
  tmp___1=1 (00000000000000000000000000000001)

State 256 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1236 function main thread 0
----------------------------------------------------
  tmp___0=12 (00000000000000000000000000001100)

State 272 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1339 function main thread 0
----------------------------------------------------
  tmp___1=1 (00000000000000000000000000000001)

State 275 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1236 function main thread 0
----------------------------------------------------
  tmp___0=8 (00000000000000000000000000001000)

State 288 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1316 function main thread 0
----------------------------------------------------
  key=buf!0@25 (0000001101000000000000000000000000000000000000000000000000000000)

State 289 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1316 function main thread 0
----------------------------------------------------
  kp=((struct kernel_param *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 290 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1028 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp3=((signed int *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 291 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1029 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp4=((struct battery_property_map *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 292 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1030 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp5=((signed int *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 293 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1031 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp6=0 (00000000000000000000000000000000)

State 294 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1032 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp7=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 295 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1033 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp8=((struct power_supply *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 296 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1037 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp3=&battery_health (0000100000000000000000000000000000000000000000000000000000000000)

State 297 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1038 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp4=&map_health[0].value (0000100000100000000000000000000000000000000000000000000000000000)

State 298 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1039 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp5=&battery_health (0000100000000000000000000000000000000000000000000000000000000000)

State 299 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1040 function param_set_battery_health thread 0
----------------------------------------------------
  __cil_tmp6=1 (00000000000000000000000000000001)

State 302 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1041 function param_set_battery_health thread 0
----------------------------------------------------
  map=&map_health[0].value (0000100000100000000000000000000000000000000000000000000000000000)

State 303 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1041 function param_set_battery_health thread 0
----------------------------------------------------
  key=buf!0@25 (0000001101000000000000000000000000000000000000000000000000000000)

State 304 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 1041 function param_set_battery_health thread 0
----------------------------------------------------
  def_val=1 (00000000000000000000000000000001)

State 305 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 810 function map_get_value thread 0
----------------------------------------------------
  buf={ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '\n', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 8, 0, 0, 8, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } ({ 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00001000, 00000000, 00000000, 00000010, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000010, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00001000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00001000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00001000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00001010, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000010, 00000000, 00000000, 00001000, 00000000, 00000000, 00001000, 00000010, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000010, 00000000, 00000000, 00000000, 00000000, 00001000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00001000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000, 00000000 })

State 306 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 811 function map_get_value thread 0
----------------------------------------------------
  cr=0 (00000000000000000000000000000000)

State 307 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 812 function map_get_value thread 0
----------------------------------------------------
  tmp=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 308 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 813 function map_get_value thread 0
----------------------------------------------------
  tmp___0=0 (00000000000000000000000000000000)

State 309 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 814 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp8=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 310 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 815 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp9=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 311 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 816 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp10=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 312 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 817 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp11=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 313 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 818 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp12=0u (00000000000000000000000000000000)

State 314 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 819 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp13=0u (00000000000000000000000000000000)

State 315 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 820 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp14=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 316 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 821 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp15=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 317 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 822 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp16=0 (00000000)

State 318 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 823 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp17=0 (00000000)

State 319 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 824 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp18=0 (00000000000000000000000000000000)

State 320 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 825 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp19=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 321 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 826 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp20=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 322 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 827 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp21=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 323 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 828 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp22=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 324 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 829 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp23=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 325 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 830 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp24=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 326 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 831 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp25=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 327 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 832 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp26=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 328 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 833 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp27=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 329 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 834 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp28=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 330 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 835 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp29=((const char *)0) (0000000000000000000000000000000000000000000000000000000000000000)

State 331 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 836 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp30=0ul (0000000000000000000000000000000000000000000000000000000000000000)

State 332 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 840 function map_get_value thread 0
----------------------------------------------------
  __cil_tmp8=buf!0@25 (0000001101000000000000000000000000000000000000000000000000000000)

State 335 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 841 function map_get_value thread 0
----------------------------------------------------
  dst=buf!0@25 (0000001101000000000000000000000000000000000000000000000000000000)

State 336 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 841 function map_get_value thread 0
----------------------------------------------------
  src=buf!0@25 (0000001101000000000000000000000000000000000000000000000000000000)

State 337 file ../../sv-benchmarks/c/ldv-linux-3.4-simple/43_1a_cilled_true-unreach-call_ok_nondet_linux-43_1a-drivers--power--test_power.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c line 841 function map_get_value thread 0
----------------------------------------------------
  n=256ul (0000000000000000000000000000000000000000000000000000000100000000)

Violated property:
  file <builtin-library-strncpy> line 18 function strncpy
  strncpy src/dst overlap
  POINTER_OBJECT(dst) != POINTER_OBJECT(src)


VERIFICATION FAILED
EC=10
FALSE

from cbmc.

marek-trtik avatar marek-trtik commented on September 9, 2024

Here is the proof the benchmark contains an execution trace leading to an undefined behaviour related to overlap of strings passed to strncpy (this is a shorter version of the error trace found by CBMC above):

  1. In main function at line 1225: The function pointer ldv_initialize is undefined, because the function is only declared as external (i.e. the definition is not present), so the call leads to an undefined behaviour. But let us continue further under assumption this function was defined as the identity.
  2. At line 1226 we call tespower_init. There we iterate twice in the loop described by labels ldv_14529 and ldv_14530 (goto jumps are used), before we exit the function at line 699. Note that in each iteration, there is called another external undefined function via undefined function pointer power_supply_register, i.e. another undefined behaviour. But we can ignore that under assumption the function behaves like __VERIFIER_nondet_int. In that case, let the function returned 0 in both calls.
  3. The execution takes false branch at line 1228.
  4. At line 1339 __VERIFIER_nondet_int returns 1.
  5. At line 1236 __VERIFIER_nondet_int returns 8.
  6. At line 1316 there is called function param_set_battery_health with the first argument var_param_set_battery_health_10_p0 which is uninitialised automatic pointer variable. Let us assume the value of var_param_set_battery_health_10_p0 is the address of the local array variable buf of the stack record which will be created for the function map_get_value, which will be called at line 1041 from the just called function param_set_battery_health. Let us denote this address as X
  7. We enter the function param_set_battery_health with the parameter key set to X.
  8. At line 1041 there is called function map_get_value with the argument the second argument being the address X.
  9. We enter the function param_set_battery_health with the parameter key set to X.
  10. At line 841 there is called strncpy with the first and the second parameter both pointing to the same address X. So, we reached an undefined behaviour.

from cbmc.

lucasccordeiro avatar lucasccordeiro commented on September 9, 2024

We have just created an issue in sosy-lab/sv-benchmarks#552

from cbmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.