Skip to content

Commit

Permalink
udpate expected
Browse files Browse the repository at this point in the history
  • Loading branch information
ailrst committed Nov 28, 2023
1 parent c04a1f1 commit 678e3d3
Show file tree
Hide file tree
Showing 349 changed files with 7,386 additions and 5,021 deletions.
6 changes: 6 additions & 0 deletions src/test/correct/arrays_simple/clang/arrays_simple.expected
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
assume {:captureState "%000008b7"} true;
R0, Gamma_R0 := 0bv64, true;
R31, Gamma_R31 := bvadd64(R31, 32bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,11 @@ procedure main()
lmain:
assume {:captureState "lmain"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
assume {:captureState "%000008b7"} true;
R0, Gamma_R0 := 0bv64, true;
R31, Gamma_R31 := bvadd64(R31, 32bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
assume {:captureState "%000008b7"} true;
R0, Gamma_R0 := 0bv64, true;
R31, Gamma_R31 := bvadd64(R31, 32bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
6 changes: 6 additions & 0 deletions src/test/correct/arrays_simple/gcc_O2/arrays_simple.expected
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,11 @@ procedure main()
lmain:
assume {:captureState "lmain"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -203,5 +203,11 @@ procedure main()
call rely();
R0, Gamma_R0 := zero_extend32_32(memory_load32_le(mem, bvadd64(R8, 52bv64))), (gamma_load32(Gamma_mem, bvadd64(R8, 52bv64)) || L(mem, bvadd64(R8, 52bv64)));
R31, Gamma_R31 := bvadd64(R31, 16bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,11 @@ procedure main()
mem, Gamma_mem := memory_store32_le(mem, bvadd64(R8, 52bv64), 0bv32), gamma_store32(Gamma_mem, bvadd64(R8, 52bv64), true);
assert true;
assume {:captureState "%000002c9"} true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -203,5 +203,11 @@ procedure main()
call rely();
R0, Gamma_R0 := zero_extend32_32(memory_load32_le(mem, bvadd64(R8, 52bv64))), (gamma_load32(Gamma_mem, bvadd64(R8, 52bv64)) || L(mem, bvadd64(R8, 52bv64)));
R31, Gamma_R31 := bvadd64(R31, 16bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -237,5 +237,11 @@ procedure main()
call rely();
R0, Gamma_R0 := zero_extend32_32(memory_load32_le(mem, R8)), (gamma_load32(Gamma_mem, R8) || L(mem, R8));
R31, Gamma_R31 := bvadd64(R31, 16bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
R0, Gamma_R0 := bvadd64(R0, 24bv64), Gamma_R0;
call rely();
R0, Gamma_R0 := zero_extend32_32(memory_load32_le(mem, R0)), (gamma_load32(Gamma_mem, R0) || L(mem, R0));
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,11 @@ procedure main()
mem, Gamma_mem := memory_store32_le(mem, bvadd64(R1, 24bv64), 0bv32), gamma_store32(Gamma_mem, bvadd64(R1, 24bv64), true);
assert true;
assume {:captureState "%000001b7"} true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
R0, Gamma_R0 := bvadd64(R0, 24bv64), Gamma_R0;
call rely();
R0, Gamma_R0 := zero_extend32_32(memory_load32_le(mem, R0)), (gamma_load32(Gamma_mem, R0) || L(mem, R0));
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,11 @@ procedure main()
R0, Gamma_R0 := memory_load64_le(mem, bvadd64(R0, 4080bv64)), (gamma_load64(Gamma_mem, bvadd64(R0, 4080bv64)) || L(mem, bvadd64(R0, 4080bv64)));
call rely();
R0, Gamma_R0 := zero_extend32_32(memory_load32_le(mem, R0)), (gamma_load32(Gamma_mem, R0) || L(mem, R0));
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,11 @@ procedure main()
assume {:captureState "%000002f4"} true;
R0, Gamma_R0 := 0bv64, true;
R31, Gamma_R31 := bvadd64(R31, 16bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
mem, Gamma_mem := memory_store32_le(mem, bvadd64(R9, 56bv64), R8[32:0]), gamma_store32(Gamma_mem, bvadd64(R9, 56bv64), Gamma_R8);
assert (arr$0_old == memory_load32_le(mem, bvadd64($arr_addr, 0bv64)));
assume {:captureState "%000002d4"} true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -209,5 +209,11 @@ procedure main()
assume {:captureState "%0000089f"} true;
R0, Gamma_R0 := 0bv64, true;
R31, Gamma_R31 := bvadd64(R31, 16bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -242,5 +242,11 @@ procedure main()
assume {:captureState "%000002f5"} true;
R0, Gamma_R0 := 0bv64, true;
R31, Gamma_R31 := bvadd64(R31, 16bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,11 @@ procedure main()
assume {:captureState "%000002f4"} true;
R0, Gamma_R0 := 0bv64, true;
R31, Gamma_R31 := bvadd64(R31, 16bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
mem, Gamma_mem := memory_store32_le(mem, bvadd64(R1, 28bv64), R2[32:0]), gamma_store32(Gamma_mem, bvadd64(R1, 28bv64), Gamma_R2);
assert (arr$0_old == memory_load32_le(mem, bvadd64($arr_addr, 0bv64)));
assume {:captureState "%000001be"} true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -207,5 +207,11 @@ procedure main()
assume {:captureState "%0000089f"} true;
R0, Gamma_R0 := 0bv64, true;
R31, Gamma_R31 := bvadd64(R31, 16bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,11 @@ procedure main()
assume {:captureState "%000002f5"} true;
R0, Gamma_R0 := 0bv64, true;
R31, Gamma_R31 := bvadd64(R31, 16bv64), Gamma_R31;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
assert ((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 5bv32));
assume {:captureState "%000002ce"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
mem, Gamma_mem := memory_store32_le(mem, bvadd64(R8, 52bv64), R9[32:0]), gamma_store32(Gamma_mem, bvadd64(R8, 52bv64), Gamma_R9);
assert ((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 5bv32));
assume {:captureState "%000002d3"} true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
assert ((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 5bv32));
assume {:captureState "%00000845"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,11 @@ procedure main()
assert ((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 5bv32));
assume {:captureState "%000002d9"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,11 @@ procedure main()
assert ((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 5bv32));
assume {:captureState "%000002d8"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,11 @@ procedure main()
mem, Gamma_mem := memory_store32_le(mem, bvadd64(R1, 20bv64), R2[32:0]), gamma_store32(Gamma_mem, bvadd64(R1, 20bv64), Gamma_R2);
assert ((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 5bv32));
assume {:captureState "%000001bd"} true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,11 @@ procedure main()
assert ((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 5bv32));
assume {:captureState "%0000085b"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,11 @@ procedure main()
assert ((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 5bv32));
assume {:captureState "%000002d9"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,11 @@ procedure main()
assert (((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 1bv32)) || (memory_load32_le(mem, $x_addr) == 6bv32));
assume {:captureState "%000002da"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,11 @@ procedure main()
mem, Gamma_mem := memory_store32_le(mem, bvadd64(R8, 52bv64), R9[32:0]), gamma_store32(Gamma_mem, bvadd64(R8, 52bv64), Gamma_R9);
assert (((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 1bv32)) || (memory_load32_le(mem, $x_addr) == 6bv32));
assume {:captureState "%000002df"} true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,11 @@ procedure main()
assert (((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 1bv32)) || (memory_load32_le(mem, $x_addr) == 6bv32));
assume {:captureState "%0000085f"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Original file line number Diff line number Diff line change
Expand Up @@ -236,5 +236,11 @@ procedure main()
assert (((memory_load32_le(mem, $x_addr) == x_old) || (memory_load32_le(mem, $x_addr) == 1bv32)) || (memory_load32_le(mem, $x_addr) == 6bv32));
assume {:captureState "%000002e5"} true;
R0, Gamma_R0 := 0bv64, true;
goto main_return;
terminate:
assume {:captureState "terminate"} true;
goto terminate;
main_return:
assume {:captureState "main_return"} true;
return;
}
Loading

0 comments on commit 678e3d3

Please sign in to comment.