-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
335 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
|
||
cousot.correct.nts | ||
SOLVABLE | ||
nondetint_s0(A,B,C,D) :- true. | ||
nondetint_s1(A,B,C,D) :- true. | ||
nondetint_sinit(A,B,C,D) :- ((D = B), (C = A)). | ||
undundndetvalinrange_s1(A,B,C,D,E,F,G,H,I,J,K,L) :- false. | ||
undundndetvalinrange_sinit(A,B,C,D,E,F,G,H,I,J,K,L) :- false. | ||
undundverifier_nondet_int_s0(A,B,C,D) :- false. | ||
undundverifier_nondet_int_s1(A,B,C,D) :- false. | ||
undundverifier_nondet_int_sinit(A,B,C,D) :- false. | ||
undundassert_fail_sinit(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P) :- false. | ||
main_s0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- true. | ||
main_s11(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((X = 0), ((((\+((K1 = J1)); (J1 >= 0)), (\+((K1 = 1)); (J1 = 1))), (\+((K1 = 0)); (J1 = 0))), (((K1 = J1); (K1 = 1)); (K1 = 0)))). | ||
main_s14(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- (\+((X = 0)), ((((\+(((K1 - J1) = -1)); (J1 >= 1)), (\+((K1 = 1)); (J1 = 2))), (\+((K1 = 0)); (J1 = 1))), ((((K1 - J1) = -1); (K1 = 1)); (K1 = 0)))). | ||
main_s15(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((X = 0), ((((\+((K1 = J1)); (J1 >= 0)), (\+((K1 = 1)); (J1 = 1))), (\+((K1 = 0)); (J1 = 0))), (((K1 = J1); (K1 = 1)); (K1 = 0)))). | ||
main_s17(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- (\+((X = 0)), ((((\+((K1 = J1)); (J1 >= 1)), (\+((K1 = 2)); (J1 = 2))), (\+((K1 = 1)); (J1 = 1))), (((K1 = J1); (K1 = 2)); (K1 = 1)))). | ||
main_s18(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((J1 = K1), (J1 >= 0)). | ||
main_s19(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((K1 = J1), (J1 >= 0)). | ||
main_s2(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- (J1 = 0). | ||
main_s20(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((K1 = J1), (J1 >= 1)). | ||
main_s22(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((K1 = 0), (J1 = 0)). | ||
main_s25(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- (((K1 - J1) = 1), (J1 >= 0)). | ||
main_s26(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((K1 = 0), (J1 = 0)). | ||
main_s28(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((K1 = J1), (J1 >= 0)). | ||
main_s29(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((K1 = 0), (J1 = 0)). | ||
main_s33(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- true. | ||
main_s34(A,B,C,D) :- true. | ||
main_s4(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((K1 = 0), (J1 = 0)). | ||
main_s5(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((((J1 = K1), (J1 >= 2)); ((J1 = 1), (K1 = 1))); ((J1 = 0), (K1 = 0))). | ||
main_s7(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((((J1 = K1), (J1 >= 2)); ((J1 = 1), (K1 = 1))); ((J1 = 0), (K1 = 0))). | ||
main_s8(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((((\+((K1 = J1)); (J1 >= 0)), (\+((K1 = 1)); (J1 = 1))), (\+((K1 = 0)); (J1 = 0))), (((K1 = J1); (K1 = 1)); (K1 = 0))). | ||
main_s9(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- (\+((X = 0)), ((((\+((K1 = J1)); (J1 >= 0)), (\+((K1 = 1)); (J1 = 1))), (\+((K1 = 0)); (J1 = 0))), (((K1 = J1); (K1 = 1)); (K1 = 0)))). | ||
main_sinit(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- (((((((((((((((((((L1 = S), (K1 = R)), (J1 = Q)), (I1 = P)), (H1 = O)), (G1 = N)), (F1 = M)), (E1 = L)), (D1 = K)), (C1 = J)), (B1 = I)), (A1 = H)), (Z = G)), (Y = F)), (X = E)), (W = D)), (V = C)), (U = B)), (T = A)). | ||
main_sinter0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- ((((\+((K1 = J1)); (J1 >= 0)), (\+((K1 = 1)); (J1 = 1))), (\+((K1 = 0)); (J1 = 0))), (((K1 = J1); (K1 = 1)); (K1 = 0))). | ||
main_sinter1(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- false. | ||
main_sinter2(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,A1,B1,C1,D1,E1,F1,G1,H1,I1,J1,K1,L1) :- false. | ||
memcpy_s0(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P) :- false. | ||
memcpy_s1(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P) :- false. | ||
memcpy_sinit(A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P) :- false. | ||
printf_sfinal(A,B,C,D,E,F,G,H,I,J,K,L) :- false. | ||
printf_sinit(A,B,C,D,E,F,G,H,I,J,K,L) :- false. | ||
strlen_s0(A,B,C,D,E,F,G,H) :- false. | ||
strlen_s1(A,B,C,D,E,F,G,H) :- false. | ||
strlen_sinit(A,B,C,D,E,F,G,H) :- false. | ||
strstr_sfinal(A,B,C,D,E,F,G,H,I,J,K,L) :- false. | ||
strstr_sinit(A,B,C,D,E,F,G,H,I,J,K,L) :- false. | ||
|
||
listreversal.error.nts | ||
NOT SOLVABLE | ||
|
||
0: FALSE -> 1 | ||
1: main_h_74(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 2 | ||
2: main_h_69(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 3 | ||
3: main_h_62(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 4 | ||
4: main_h_58(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 5 | ||
5: main_h_54(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 6 | ||
6: main_h_50(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 7 | ||
7: main_h_46(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 8 | ||
8: main_h_43(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 9 | ||
9: main_h_40(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 10 | ||
10: main_h_37(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 11 | ||
11: main_h_35(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 12 | ||
12: main_h_31(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0) -> 13 | ||
13: main_h_27(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 14 | ||
14: main_h_23(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 15 | ||
15: main_h_20(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 16 | ||
16: main_h_17(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 17 | ||
17: main_h_14(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 18 | ||
18: main_h_12(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 19 | ||
19: main_h_10(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 20 | ||
20: main_h_8(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 21 | ||
21: main_h_6(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 22 | ||
22: main_h_5(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 23 | ||
23: main_h_4(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 24 | ||
24: main_h_2(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) -> 25 | ||
25: main_h_1(0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
/* | ||
Licensed under the MIT License. | ||
Copyright (C) 2012 EPFL (Switzerland) , Verimag (France). | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
*/ | ||
nts cousot; | ||
|
||
main{ | ||
|
||
__nts__naffected_ret_val_,validity____nts__naffected_ret_val__,validity____retres_,validity__tmp_,validity__x_,validity__y_,__ndet_cond__,__if_ndet_cond__,_ndet_arg_4,_ndet_arg_3,_ndet_arg_2,_ndet_arg_1,_ndet_arg_0,__retres,tmp,y,x : int ; | ||
|
||
out ret_val_, validity__ret_val__ : int; | ||
initial sinit ; | ||
final s34; | ||
error s1,s3,s6,s10,s12,s13,s16,s21,s23,s24,s27,s30,s31,s32; sinit->s0 { } | ||
s0->s2 { x'=0 and havoc(x) } | ||
s2->s4 { y'=0 and havoc(y) } | ||
s4->s5 { havoc() } | ||
s5->sinter0 { havoc() } | ||
sinter0->s7 { (tmp',validity__tmp_')=NonDetInt() and havoc(tmp,validity__tmp_) } | ||
s7->s8 { havoc() } | ||
s8->s9 { tmp != 0 and havoc() } | ||
s8->s11 { tmp = 0 and havoc() } | ||
s9->s14 { x'=x+1 and havoc(x) } | ||
s11->s15 { havoc() } | ||
s14->s17 { y'=y+1 and havoc(y) } | ||
s15->s18 { havoc() } | ||
s17->s5 { havoc() } | ||
s18->s19 { havoc() } | ||
s19->s20 { x > 0 and havoc() } | ||
s19->s22 { x <= 0 and havoc() } | ||
s20->s25 { x'=x-1 and havoc(x) } | ||
s22->s26 { havoc() } | ||
s25->s28 { y'=y-1 and havoc(y) } | ||
s26->s29 { havoc() } | ||
s28->s18 { havoc() } | ||
s29->sinter1 { y != 0 and havoc(_ndet_arg_1,_ndet_arg_2) } | ||
sinter1->s31 { __assert_fail(_ndet_arg_0,1,_ndet_arg_1,1,22,1,_ndet_arg_2,1) and havoc() } | ||
s29->sinter2 { y != 0 and havoc(_ndet_arg_1,_ndet_arg_2) } | ||
sinter2->s31 { __assert_fail(_ndet_arg_0,1,_ndet_arg_1,1,22,1,_ndet_arg_2,1) and havoc() } | ||
s29->s33 { __retres'=1 and y = 0 and havoc(__retres) } | ||
s33->s34 { ret_val_'=__retres and havoc(ret_val_) } | ||
} | ||
__assert_fail{ | ||
in a,b,c,d,e,f,g,h : int; | ||
initial sinit ; | ||
error s0; | ||
sinit->s0 { true and havoc() } | ||
} | ||
|
||
NonDetInt{ | ||
out ndet, validity_ndet_: int; | ||
initial sinit; | ||
final s1; | ||
|
||
sinit->s0{ havoc(ndet, validity_ndet_)} | ||
s0->s1{havoc()} | ||
|
||
} | ||
|
||
__VERIFIER_nondet_int{ | ||
out ndet, validity_ndet_: int; | ||
initial sinit; | ||
final s1; | ||
|
||
sinit->s0{ havoc(ndet, validity_ndet_)} | ||
s0->s1{havoc()} | ||
|
||
} | ||
|
||
__NdetValInRange { | ||
out ndval, ndvalid : int; | ||
in lowerb, lbval, upperb, upbval : int; | ||
initial sinit; | ||
final s1; | ||
|
||
sinit->s1 { ndval' <= upperb and ndval' >= lowerb and ndvalid'=1 and havoc(ndval, ndvalid) } | ||
|
||
} | ||
|
||
strlen{ | ||
out len, valid_len : int; | ||
in ptr_off, ptr_valid : int; | ||
|
||
initial sinit; | ||
final s1; | ||
sinit->s0 {valid_len'=ptr_valid and havoc(valid_len,len)} | ||
s0->s1 { havoc()} | ||
} | ||
|
||
memcpy{ | ||
in dest_off, dest_val, src_off, srv_val, sizein, size_val : int; | ||
out ret_addr, valid_ret : int; | ||
initial sinit; | ||
final s1; | ||
|
||
sinit -> s0 {ret_addr'=dest_off and valid_ret'=dest_val and havoc(ret_addr,valid_ret)} | ||
s0->s1 {havoc()} | ||
} | ||
|
||
strstr{ | ||
in a,b,c,d : int; | ||
out off, val : int; | ||
|
||
initial sinit; | ||
final sfinal; | ||
|
||
sinit->sfinal {val' = b and havoc(off,val) } | ||
} | ||
|
||
printf{ | ||
in a,b,c,d : int; | ||
out off, val : int; | ||
|
||
initial sinit; | ||
final sfinal; | ||
|
||
sinit->sfinal { havoc(off,val) } | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
nts listreversal_error; | ||
|
||
main { | ||
c1,c2,c0,tmp_0,tmp_1,tmp_2,tmp_3,z,y,x : int; | ||
initial h_1; | ||
error h_error; | ||
t_0: h_1 -> h_2 { havoc() } | ||
t_2: h_2 -> h_4 { havoc() } | ||
t_3: h_4 -> h_5 { havoc() } | ||
t_4: h_5 -> h_6 { x=1 && havoc() } | ||
t_5: h_5 -> h_7 { x'=1 && c0'=x-1 && x>=2 && havoc(c0,x) } | ||
t_6: h_6 -> h_8 { x'=1 && havoc(x) } | ||
t_7: h_7 -> h_9 { x'=1 && havoc(x) } | ||
t_8: h_8 -> h_10 { havoc() } | ||
t_9: h_9 -> h_11 { havoc() } | ||
t_10: h_10 -> h_12 { havoc() } | ||
t_11: h_11 -> h_13 { havoc() } | ||
t_12: h_12 -> h_14 { havoc() } | ||
t_13: h_13 -> h_15 { havoc() } | ||
t_16: h_15 -> h_18 { havoc() } | ||
t_15: h_14 -> h_17 { havoc() } | ||
t_18: h_17 -> h_20 { havoc() } | ||
t_20: h_20 -> h_22 { y'=1 && c0'=y-1 && y>=2 && havoc(c0,y) } | ||
t_19: h_18 -> h_21 { havoc() } | ||
t_22: h_21 -> h_24 { c0=1 && havoc() } | ||
t_21: h_20 -> h_23 { y=1 && havoc() } | ||
t_24: h_22 -> h_26 { y'=1 && havoc(y) } | ||
t_23: h_21 -> h_25 { c1'=c0-1 && c0'=1 && c0>=2 && havoc(c0,c1) } | ||
t_26: h_24 -> h_28 { c0'=1 && havoc(c0) } | ||
t_25: h_23 -> h_27 { y'=1 && havoc(y) } | ||
t_28: h_26 -> h_30 { y'=y+x && havoc(y) } | ||
t_27: h_25 -> h_29 { c0'=1 && havoc(c0) } | ||
t_30: h_28 -> h_32 { c0'=c0+x && havoc(c0) } | ||
t_29: h_27 -> h_31 { y'=y+x && havoc(y) } | ||
t_33: h_33 -> h_11 { tmp_2'=z && z'=tmp_2 && x'=tmp_0 && tmp_0'=c0 && tmp_1'=y && y'=tmp_1 && tmp_3'=c1 && c0'=tmp_3 && havoc(c0,tmp_0,tmp_1,tmp_3,tmp_2,x,z,y) } | ||
t_34: h_30 -> h_34 { havoc() } | ||
t_31: h_32 -> h_10 { tmp_2'=z && z'=tmp_2 && x'=tmp_0 && tmp_0'=c0 && tmp_1'=y && y'=tmp_1 && havoc(tmp_0,tmp_1,tmp_2,x,z,y) } | ||
t_32: h_29 -> h_33 { c0'=c0+x && havoc(c0) } | ||
t_37: h_35 -> h_37 { havoc() } | ||
t_38: h_36 -> h_38 { havoc() } | ||
t_35: h_31 -> h_35 { havoc() } | ||
t_36: h_34 -> h_36 { havoc() } | ||
t_42: h_38 -> h_42 { havoc() } | ||
t_40: h_37 -> h_40 { havoc() } | ||
t_45: h_42 -> h_45 { c0=1 && havoc() } | ||
t_46: h_43 -> h_46 { z=1 && havoc() } | ||
t_43: h_40 -> h_43 { havoc() } | ||
t_44: h_42 -> h_44 { c1'=c0-1 && c0'=1 && c0>=2 && havoc(c0,c1) } | ||
t_50: h_46 -> h_50 { z'=1 && havoc(z) } | ||
t_49: h_45 -> h_49 { c0'=1 && havoc(c0) } | ||
t_48: h_44 -> h_48 { c0'=1 && havoc(c0) } | ||
t_47: h_43 -> h_47 { z'=1 && c0'=z-1 && z>=2 && havoc(c0,z) } | ||
t_54: h_50 -> h_54 { havoc() } | ||
t_53: h_49 -> h_53 { havoc() } | ||
t_52: h_48 -> h_52 { havoc() } | ||
t_51: h_47 -> h_51 { z'=1 && havoc(z) } | ||
t_58: h_54 -> h_58 { havoc() } | ||
t_57: h_53 -> h_57 { havoc() } | ||
t_56: h_52 -> h_56 { havoc() } | ||
t_55: h_51 -> h_55 { havoc() } | ||
t_62: h_58 -> h_62 { havoc() } | ||
t_61: h_57 -> h_61 { havoc() } | ||
t_60: h_56 -> h_60 { havoc() } | ||
t_59: h_55 -> h_59 { havoc() } | ||
t_69: h_62 -> h_69 { havoc() } | ||
t_63: h_59 -> h_63 { havoc() } | ||
t_64: h_60 -> h_64 { havoc() } | ||
t_66: h_61 -> h_66 { havoc() } | ||
t_75: h_71 -> h_75 { havoc() } | ||
t_76: h_72 -> h_76 { c1=1 && havoc() } | ||
t_77: h_72 -> h_77 { c1'=1 && c2'=c1-1 && c1>=2 && havoc(c2,c1) } | ||
t_78: h_73 -> h_78 { z=1 && havoc() } | ||
t_71: h_63 -> h_71 { havoc() } | ||
t_72: h_64 -> h_72 { havoc() } | ||
t_73: h_66 -> h_73 { havoc() } | ||
t_74: h_69 -> h_74 { havoc() } | ||
t_84: h_77 -> h_83 { c1'=1 && havoc(c1) } | ||
t_83: h_76 -> h_82 { c1'=1 && havoc(c1) } | ||
t_86: h_79 -> h_85 { z'=1 && havoc(z) } | ||
t_85: h_78 -> h_84 { z'=1 && havoc(z) } | ||
t_80: h_74 -> h_error { havoc() } | ||
t_79: h_73 -> h_79 { c1'=z-1 && z'=1 && z>=2 && havoc(c1,z) } | ||
t_82: h_75 -> h_81 { c0=1 && havoc() } | ||
t_81: h_75 -> h_80 { c1'=c0-1 && c0'=1 && c0>=2 && havoc(c0,c1) } | ||
t_92: h_89 -> h_52 { c1'=tmp_0 && tmp_0'=c2 && tmp_2'=c1 && c0'=tmp_2 && tmp_1'=y && y'=tmp_1 && tmp_3'=z && z'=tmp_3 && havoc(c0,c1,tmp_0,tmp_1,tmp_3,tmp_2,z,y) } | ||
t_91: h_83 -> h_89 { c1'=c1+c0 && havoc(c1) } | ||
t_94: h_90 -> h_54 { tmp_1'=z && z'=tmp_1 && tmp_0'=y && y'=tmp_0 && havoc(tmp_0,tmp_1,z,y) } | ||
t_93: h_84 -> h_90 { z'=c0+z && havoc(z) } | ||
t_88: h_81 -> h_87 { c0'=1 && havoc(c0) } | ||
t_87: h_80 -> h_86 { c0'=1 && havoc(c0) } | ||
t_90: h_88 -> h_53 { tmp_2'=z && z'=tmp_2 && tmp_0'=y && y'=tmp_0 && tmp_1'=c1 && c0'=tmp_1 && havoc(tmp_0,tmp_1,tmp_2,c0,z,y) } | ||
t_89: h_82 -> h_88 { c1'=c1+c0 && havoc(c1) } | ||
t_101: h_94 -> h_96 { havoc() } | ||
t_102: h_95 -> h_97 { havoc() } | ||
t_99: h_92 -> h_94 { havoc() } | ||
t_100: h_93 -> h_95 { havoc() } | ||
t_97: h_86 -> h_92 { havoc() } | ||
t_98: h_87 -> h_93 { havoc() } | ||
t_95: h_85 -> h_91 { z'=c0+z && havoc(z) } | ||
t_96: h_91 -> h_55 { tmp_2'=z && z'=tmp_2 && tmp_0'=c1 && c0'=tmp_0 && tmp_1'=y && y'=tmp_1 && havoc(tmp_0,tmp_1,tmp_2,c0,z,y) } | ||
t_109: h_102 -> h_104 { c1'=1 && c2'=c1-1 && c1>=2 && havoc(c2,c1) } | ||
t_110: h_102 -> h_105 { c1=1 && havoc() } | ||
t_107: h_99 -> h_102 { havoc() } | ||
t_108: h_101 -> h_103 { havoc() } | ||
t_106: h_97 -> h_101 { havoc() } | ||
t_104: h_96 -> h_99 { havoc() } | ||
t_117: h_109 -> h_93 { tmp_2'=z && z'=tmp_2 && tmp_0'=c1 && c0'=tmp_0 && tmp_1'=y && y'=tmp_1 && havoc(tmp_0,tmp_1,tmp_2,c0,z,y) } | ||
t_116: h_107 -> h_109 { c1'=c1+c0 && havoc(c1) } | ||
t_115: h_108 -> h_92 { c1'=tmp_2 && tmp_2'=c2 && tmp_0'=c1 && c0'=tmp_0 && tmp_1'=y && y'=tmp_1 && tmp_3'=z && z'=tmp_3 && havoc(c0,c1,tmp_0,tmp_1,tmp_3,tmp_2,z,y) } | ||
t_114: h_106 -> h_108 { c1'=c1+c0 && havoc(c1) } | ||
t_113: h_105 -> h_107 { c1'=1 && havoc(c1) } | ||
t_112: h_104 -> h_106 { c1'=1 && havoc(c1) } | ||
t_111: h_103 -> h_error { havoc() } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/sh | ||
|
||
LAZABS=../../eld | ||
|
||
TESTS="cousot.correct.nts listreversal.error.nts" | ||
|
||
for name in $TESTS; do | ||
echo | ||
echo $name | ||
$LAZABS -cex -sol -abstract "$@" $name 2>&1 | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters