type ref; type realVar; type classConst; // type Field x; // var $HeapVar : [ref, Field x]x; const unique $null : ref ; const unique $intArrNull : [int]int ; const unique $realArrNull : [int]realVar ; const unique $refArrNull : [int]ref ; const unique $arrSizeIdx : int; var $intArrSize : [int]int; var $realArrSize : [realVar]int; var $refArrSize : [ref]int; var $stringSize : [ref]int; //built-in axioms axiom ($arrSizeIdx == -1); //note: new version doesn't put helpers in the perlude anymore//Prelude finished const unique javaUtilEx.Content : classConst ; const unique javaUtilEx.RandomAccess : classConst ; const unique javaUtilEx.List : classConst ; var javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305 : Field ref; var javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304 : Field ref; var javaUtilEx.AbstractList$javaUtilEx.AbstractList$ListItr$this$0296 : Field ref; var int$javaUtilEx.AbstractList$Itr$expectedModCount0 : Field int; var javaUtilEx.ListIterator$javaUtilEx.SubList$1$i308 : Field ref; var int$javaUtilEx.LinkedList$ListItr$nextIndex0 : Field int; var javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303 : Field ref; var javaUtilEx.AbstractList$javaUtilEx.AbstractList$Itr$this$0295 : Field ref; var javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298 : Field ref; var java.lang.Object$javaUtilEx.LinkedList$Entry$element300 : Field ref; var java.lang.String$lp$$rp$$javaUtilEx.Random$args299 : [int]ref; var $fresh5 : ref; var $fresh3 : ref; var javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302 : Field ref; var int$javaUtilEx.LinkedList$size0 : Field int; var int$javaUtilEx.SubList$offset0 : Field int; var $fresh6 : ref; var int$javaUtilEx.SubList$size0 : Field int; var int$javaUtilEx.LinkedList$ListItr$expectedModCount0 : Field int; var $fresh1 : ref; var int$javaUtilEx.AbstractList$modCount0 : Field int; var javaUtilEx.LinkedList$javaUtilEx.LinkedList$DescendingIterator$this$0307 : Field ref; var int$javaUtilEx.AbstractList$Itr$lastRet0 : Field int; var int$javaUtilEx.SubList$1$val$index0 : Field int; var javaUtilEx.LinkedList$ListItr$javaUtilEx.LinkedList$DescendingIterator$itr306 : Field ref; var int$javaUtilEx.AbstractList$Itr$cursor0 : Field int; var javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309 : Field ref; var $fresh4 : ref; var javaUtilEx.AbstractList$javaUtilEx.SubList$l297 : Field ref; var javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301 : Field ref; var int$javaUtilEx.Random$index0 : int; var $fresh2 : ref; var int$javaUtilEx.Content$val0 : Field int; // procedure is generated by joogie. function {:inline true} $realarrtoref($param00 : [int]realVar) returns (__ret : ref); // @line: 180 // procedure void$javaUtilEx.LinkedList$addLast$2636(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r1565 : ref; var r0564 : ref; var $r2566 : ref; //temp local variables var $freshlocal0 : ref; Block802: r0564 := __this; r1565 := $param_0; assert ($neref((r0564), ($null))==1); // @line: 181 $r2566 := $HeapVar[r0564, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref((r0564), ($null))==1); // @line: 181 call $freshlocal0 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$addBefore$2665((r0564), (r1565), ($r2566)); return; } // @line: 452 // procedure boolean$javaUtilEx.LinkedList$offer$2653(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0675 : ref; var r1676 : ref; var $z0677 : int; Block998: r0675 := __this; r1676 := $param_0; assert ($neref((r0675), ($null))==1); // @line: 453 call $z0677 := boolean$javaUtilEx.LinkedList$add$2639((r0675), (r1676)); // @line: 453 __ret := $z0677; return; } // ()> procedure void$java.lang.StringBuilder$$la$init$ra$$2261(__this : ref); // procedure is generated by joogie. function {:inline true} $leref($param00 : ref, $param11 : ref) returns (__ret : int); // @line: 2 // ()> procedure void$javaUtilEx.juLinkedListCreateRetainAll$$la$init$ra$$2626(__this : ref) requires ($neref((__this), ($null))==1); { var r0516 : ref; Block753: r0516 := __this; assert ($neref((r0516), ($null))==1); // @line: 3 call void$java.lang.Object$$la$init$ra$$28((r0516)); return; } // (java.lang.Throwable)> procedure void$java.lang.RuntimeException$$la$init$ra$$763(__this : ref, $param_0 : ref); // @line: 74 // (java.lang.String,java.lang.Throwable)> procedure void$javaUtilEx.IllegalStateException$$la$init$ra$$2576(__this : ref, $param_0 : ref, $param_1 : ref) requires ($neref((__this), ($null))==1); { var r0438 : ref; var r2440 : ref; var r1439 : ref; Block688: r0438 := __this; r1439 := $param_0; r2440 := $param_1; assert ($neref((r0438), ($null))==1); // @line: 75 call void$java.lang.RuntimeException$$la$init$ra$$762((r0438), (r1439), (r2440)); return; } // @line: 651 // procedure boolean$javaUtilEx.LinkedList$ListItr$hasNext$2678(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0804 : ref; var $z0809 : int; var $r1805 : ref; var $i1807 : int; var $i0806 : int; Block1166: r0804 := __this; assert ($neref((r0804), ($null))==1); // @line: 652 $i0806 := $HeapVar[r0804, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; assert ($neref((r0804), ($null))==1); // @line: 652 $r1805 := $HeapVar[r0804, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; // @line: 652 call $i1807 := int$javaUtilEx.LinkedList$access$100$2670(($r1805)); goto Block1167; // @line: 652 Block1167: goto Block1170, Block1168; // @line: 652 Block1170: // @line: 652 assume ($negInt(($eqint(($i0806), ($i1807))))==1); // @line: 652 $z0809 := 1; goto Block1171; // @line: 652 Block1168: assume ($eqint(($i0806), ($i1807))==1); goto Block1169; // @line: 652 Block1171: // @line: 652 __ret := $z0809; return; // @line: 652 Block1169: // @line: 652 $z0809 := 0; goto Block1171; } // procedure boolean$javaUtilEx.Collection$contains$2243(__this : ref, $param_0 : ref) returns (__ret : int); // ()> procedure void$java.lang.Object$$la$init$ra$$28(__this : ref); // procedure is generated by joogie. function {:inline true} $inttoreal($param00 : int) returns (__ret : realVar); // @line: 697 // procedure javaUtilEx.ListIterator$javaUtilEx.SubList$listIterator$2559(__this : ref, $param_0 : int) returns (__ret : ref, $Exep1 : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r1395 : ref; var i0394 : int; var r0393 : ref; //temp local variables var $caughtEx2 : ref; var $caughtEx3 : ref; // @line: 697 Block620: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block622; Block622: r0393 := __this; i0394 := $param_0; assert ($neref((r0393), ($null))==1); // @line: 698 call $caughtEx2 := void$javaUtilEx.SubList$checkForComodification$2564((r0393)); goto Block625, Block623; Block625: assume ($eqref(($caughtEx2), ($null))==1); goto Block626; Block623: assume ($neref(($caughtEx2), ($null))==1); goto Block624; Block626: assert ($neref((r0393), ($null))==1); // @line: 699 call $caughtEx3 := void$javaUtilEx.SubList$rangeCheckForAdd$2562((r0393), (i0394)); goto Block629, Block627; Block624: $Exep0 := $caughtEx2; return; Block629: assume ($eqref(($caughtEx3), ($null))==1); goto Block630; Block627: assume ($neref(($caughtEx3), ($null))==1); goto Block628; Block630: // @line: 701 $r1395 := $newvariable((631)); assume ($neref(($newvariable((631))), ($null))==1); assert ($neref(($r1395), ($null))==1); // @line: 701 call $caughtEx3 := void$javaUtilEx.SubList$1$$la$init$ra$$2693(($r1395), (r0393), (i0394)); goto Block632, Block634; Block628: $Exep1 := $caughtEx3; return; Block632: assume ($neref(($caughtEx3), ($null))==1); goto Block633; Block634: assume ($eqref(($caughtEx3), ($null))==1); goto Block635; Block633: $Exep1 := $caughtEx3; return; Block635: // @line: 701 __ret := $r1395; return; } // @line: 635 // procedure java.lang.Object$javaUtilEx.SubList$set$2550(__this : ref, $param_0 : int, $param_1 : ref) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref, $Exep2 : ref) requires ($neref((__this), ($null))==1); { var $i1327 : int; var $r2330 : ref; var $r3331 : ref; var r1328 : ref; var r0325 : ref; var $i2329 : int; var i0326 : int; //temp local variables var $caughtEx4 : ref; var $caughtEx3 : ref; var $caughtEx5 : ref; // @line: 635 Block507: $caughtEx5 := $null; $caughtEx4 := $null; $caughtEx3 := $null; $Exep2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block509; Block509: r0325 := __this; i0326 := $param_0; r1328 := $param_1; assert ($neref((r0325), ($null))==1); // @line: 636 call $caughtEx3 := void$javaUtilEx.SubList$rangeCheck$2561((r0325), (i0326)); goto Block510, Block512; Block510: assume ($neref(($caughtEx3), ($null))==1); goto Block511; Block512: assume ($eqref(($caughtEx3), ($null))==1); goto Block513; Block511: $Exep0 := $caughtEx3; return; Block513: assert ($neref((r0325), ($null))==1); // @line: 637 call $caughtEx4 := void$javaUtilEx.SubList$checkForComodification$2564((r0325)); goto Block514, Block516; Block514: assume ($neref(($caughtEx4), ($null))==1); goto Block515; Block516: assume ($eqref(($caughtEx4), ($null))==1); goto Block517; Block515: $Exep1 := $caughtEx4; return; Block517: assert ($neref((r0325), ($null))==1); // @line: 638 $r2330 := $HeapVar[r0325, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref((r0325), ($null))==1); // @line: 638 $i1327 := $HeapVar[r0325, int$javaUtilEx.SubList$offset0]; // @line: 638 $i2329 := $addint((i0326), ($i1327)); assert ($neref(($r2330), ($null))==1); // @line: 638 call $r3331, $caughtEx5 := java.lang.Object$javaUtilEx.AbstractList$set$2486(($r2330), ($i2329), (r1328)); goto Block520, Block518; Block520: assume ($eqref(($caughtEx5), ($null))==1); goto Block521; Block518: assume ($neref(($caughtEx5), ($null))==1); goto Block519; Block521: // @line: 638 __ret := $r3331; return; Block519: $Exep2 := $caughtEx5; return; } // @line: 42 // ()> procedure void$javaUtilEx.IllegalArgumentException$$la$init$ra$$2622(__this : ref) requires ($neref((__this), ($null))==1); { var r0508 : ref; Block749: r0508 := __this; assert ($neref((r0508), ($null))==1); // @line: 43 call void$java.lang.RuntimeException$$la$init$ra$$760((r0508)); return; } // @line: 770 // procedure boolean$javaUtilEx.LinkedList$DescendingIterator$hasNext$2689(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $z0888 : int; var r0886 : ref; var $r1887 : ref; Block1262: r0886 := __this; assert ($neref((r0886), ($null))==1); // @line: 771 $r1887 := $HeapVar[r0886, javaUtilEx.LinkedList$ListItr$javaUtilEx.LinkedList$DescendingIterator$itr306]; assert ($neref(($r1887), ($null))==1); // @line: 771 call $z0888 := boolean$javaUtilEx.LinkedList$ListItr$hasPrevious$2680(($r1887)); // @line: 771 __ret := $z0888; return; } // @line: 571 // procedure void$javaUtilEx.AbstractList$removeRange$2499(__this : ref, $param_0 : int, $param_1 : int) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var r1205 : ref; var r0202 : ref; var i2208 : int; var i1207 : int; var i3210 : int; var i0203 : int; //temp local variables var $caughtEx1 : ref; var $freshlocal2 : ref; // @line: 571 Block208: $caughtEx1 := $null; $Exep0 := $null; goto Block326; Block326: r0202 := __this; i0203 := $param_0; i1207 := $param_1; assert ($neref((r0202), ($null))==1); // @line: 572 call r1205, $caughtEx1 := javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2495((r0202), (i0203)); goto Block327, Block329; Block327: assume ($neref(($caughtEx1), ($null))==1); goto Block328; Block329: assume ($eqref(($caughtEx1), ($null))==1); goto Block330; Block328: $Exep0 := $caughtEx1; return; Block330: // @line: 573 i3210 := 0; // @line: 573 i2208 := $subint((i1207), (i0203)); goto Block331; // @line: 573 Block331: goto Block334, Block332; // @line: 573 Block334: // @line: 573 assume ($negInt(($geint((i3210), (i2208))))==1); assert ($neref((r1205), ($null))==1); // @line: 574 call $freshlocal2 := java.lang.Object$javaUtilEx.ListIterator$next$2526((r1205)); assert ($neref((r1205), ($null))==1); // @line: 575 call void$javaUtilEx.ListIterator$remove$2531((r1205)); // @line: 573 i3210 := $addint((i3210), (1)); goto Block331; // @line: 573 Block332: assume ($geint((i3210), (i2208))==1); goto Block333; // @line: 577 Block333: return; } // @line: 400 // procedure java.lang.Object$javaUtilEx.AbstractList$ListItr$previous$2544(__this : ref) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $i0277 : int; var i1284 : int; var r1281 : ref; var $r4283 : ref; var $r3282 : ref; var r0276 : ref; var $r2279 : ref; //temp local variables var $caughtEx2 : ref; var $caughtEx3 : ref; // @line: 400 Block431: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block432; Block432: r0276 := __this; assert ($neref((r0276), ($null))==1); // @line: 401 call $caughtEx2 := void$javaUtilEx.AbstractList$Itr$checkForComodification$2538((r0276)); goto Block435, Block433; Block435: assume ($eqref(($caughtEx2), ($null))==1); goto Block436; Block433: assume ($neref(($caughtEx2), ($null))==1); goto Block434; Block436: goto Block437; Block434: $Exep0 := $caughtEx2; return; // @line: 403 Block437: assert ($neref((r0276), ($null))==1); // @line: 403 $i0277 := $HeapVar[r0276, int$javaUtilEx.AbstractList$Itr$cursor0]; // @line: 403 i1284 := $subint(($i0277), (1)); assert ($neref((r0276), ($null))==1); // @line: 404 $r2279 := $HeapVar[r0276, javaUtilEx.AbstractList$javaUtilEx.AbstractList$ListItr$this$0296]; assert ($neref(($r2279), ($null))==1); // @line: 404 call r1281 := java.lang.Object$javaUtilEx.AbstractList$get$2485(($r2279), (i1284)); assert ($neref((r0276), ($null))==1); // @line: 405 $HeapVar[r0276, int$javaUtilEx.AbstractList$Itr$cursor0] := i1284; assert ($neref((r0276), ($null))==1); // @line: 405 $HeapVar[r0276, int$javaUtilEx.AbstractList$Itr$lastRet0] := i1284; goto Block438; // @line: 406 Block438: // @line: 406 __ret := r1281; return; } // @line: 767 // (javaUtilEx.LinkedList,javaUtilEx.LinkedList$1)> procedure void$javaUtilEx.LinkedList$DescendingIterator$$la$init$ra$$2692(__this : ref, $param_0 : ref, $param_1 : ref) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var r1895 : ref; var r2896 : ref; var r0894 : ref; //temp local variables var $caughtEx1 : ref; // @line: 767 Block1112: $caughtEx1 := $null; $Exep0 := $null; goto Block1283; Block1283: r0894 := __this; r1895 := $param_0; r2896 := $param_1; assert ($neref((r0894), ($null))==1); // @line: 768 call $caughtEx1 := void$javaUtilEx.LinkedList$DescendingIterator$$la$init$ra$$2688((r0894), (r1895)); goto Block1286, Block1284; Block1286: assume ($eqref(($caughtEx1), ($null))==1); goto Block1287; Block1284: assume ($neref(($caughtEx1), ($null))==1); goto Block1285; Block1287: return; Block1285: $Exep0 := $caughtEx1; return; } // procedure is generated by joogie. function {:inline true} $mulref($param00 : ref, $param11 : ref) returns (__ret : ref); // @line: 145 // procedure void$javaUtilEx.AbstractSequentialList$add$2581(__this : ref, $param_0 : int, $param_1 : ref) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var i0463 : int; var $r4466 : ref; var $r5468 : ref; var r1465 : ref; var $r3464 : ref; var r0462 : ref; //temp local variables var $caughtEx1 : ref; // @line: 145 Block705: $caughtEx1 := $null; $Exep0 := $null; goto Block706; Block706: r0462 := __this; i0463 := $param_0; r1465 := $param_1; goto Block707; // @line: 146 Block707: assert ($neref((r0462), ($null))==1); // @line: 146 call $r3464 := javaUtilEx.ListIterator$javaUtilEx.AbstractSequentialList$listIterator$2585((r0462), (i0463)); assert ($neref(($r3464), ($null))==1); // @line: 146 call void$javaUtilEx.ListIterator$add$2533(($r3464), (r1465)); goto Block708; // @line: 149 Block708: goto Block709; // @line: 150 Block709: return; } // procedure is generated by joogie. function {:inline true} $reftorefarr($param00 : ref) returns (__ret : [int]ref); // procedure is generated by joogie. function {:inline true} $reftoint($param00 : ref) returns (__ret : int); // @line: 288 // procedure javaUtilEx.Iterator$javaUtilEx.AbstractList$iterator$2493(__this : ref) returns (__ret : ref) requires ($neref((__this), ($null))==1); { var r0157 : ref; var $r1156 : ref; Block230: r0157 := __this; // @line: 289 $r1156 := $newvariable((231)); assume ($neref(($newvariable((231))), ($null))==1); assert ($neref(($r1156), ($null))==1); // @line: 289 call void$javaUtilEx.AbstractList$Itr$$la$init$ra$$2539(($r1156), (r0157), ($null)); // @line: 289 __ret := $r1156; return; } // procedure is generated by joogie. function {:inline true} $xorreal($param00 : realVar, $param11 : realVar) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $andref($param00 : ref, $param11 : ref) returns (__ret : int); // @line: 587 // procedure boolean$javaUtilEx.LinkedList$removeLastOccurrence$2663(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r8711 : ref; var r1701 : ref; var $z0707 : int; var r10713 : ref; var $r4706 : ref; var $r2703 : ref; var $r6709 : ref; var $r3705 : ref; var $r7710 : ref; var r0702 : ref; var r11714 : ref; //temp local variables var $freshlocal3 : ref; var $freshlocal2 : ref; var $caughtEx1 : ref; // @line: 587 Block1058: $caughtEx1 := $null; $Exep0 := $null; goto Block1059; Block1059: r0702 := __this; r1701 := $param_0; goto Block1060; // @line: 588 Block1060: goto Block1061, Block1063; // @line: 588 Block1061: assume ($neref((r1701), ($null))==1); goto Block1062; // @line: 588 Block1063: // @line: 588 assume ($negInt(($neref((r1701), ($null))))==1); assert ($neref((r0702), ($null))==1); // @line: 589 $r6709 := $HeapVar[r0702, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r6709), ($null))==1); // @line: 589 r10713 := $HeapVar[$r6709, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; goto Block1064; // @line: 596 Block1062: assert ($neref((r0702), ($null))==1); // @line: 596 $r2703 := $HeapVar[r0702, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block1079; // @line: 589 Block1064: assert ($neref((r0702), ($null))==1); // @line: 589 $r7710 := $HeapVar[r0702, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block1065; // @line: 596 Block1079: assert ($neref(($r2703), ($null))==1); // @line: 596 r11714 := $HeapVar[$r2703, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; goto Block1080; // @line: 589 Block1065: goto Block1066, Block1068; // @line: 596 Block1080: assert ($neref((r0702), ($null))==1); // @line: 596 $r3705 := $HeapVar[r0702, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block1081; // @line: 589 Block1066: assume ($eqref((r10713), ($r7710))==1); goto Block1067; // @line: 589 Block1068: // @line: 589 assume ($negInt(($eqref((r10713), ($r7710))))==1); assert ($neref((r10713), ($null))==1); // @line: 590 $r8711 := $HeapVar[r10713, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; goto Block1069; // @line: 596 Block1081: goto Block1082, Block1083; // @line: 589 Block1067: goto Block1078; // @line: 590 Block1069: goto Block1070, Block1072; // @line: 596 Block1082: assume ($eqref((r11714), ($r3705))==1); goto Block1078; // @line: 596 Block1083: // @line: 596 assume ($negInt(($eqref((r11714), ($r3705))))==1); assert ($neref((r11714), ($null))==1); // @line: 597 $r4706 := $HeapVar[r11714, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; assert ($neref((r1701), ($null))==1); // @line: 597 call $z0707 := boolean$java.lang.Object$equals$32((r1701), ($r4706)); goto Block1084; // @line: 603 Block1078: // @line: 603 __ret := 0; return; // @line: 590 Block1070: assume ($neref(($r8711), ($null))==1); goto Block1071; // @line: 590 Block1072: // @line: 590 assume ($negInt(($neref(($r8711), ($null))))==1); assert ($neref((r0702), ($null))==1); // @line: 591 call $freshlocal2, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$remove$2666((r0702), (r10713)); goto Block1073, Block1075; // @line: 597 Block1084: goto Block1085, Block1087; // @line: 589 Block1071: assert ($neref((r10713), ($null))==1); // @line: 589 r10713 := $HeapVar[r10713, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; goto Block1077; // @line: 590 Block1073: assume ($neref(($caughtEx1), ($null))==1); goto Block1074; // @line: 590 Block1075: assume ($eqref(($caughtEx1), ($null))==1); goto Block1076; // @line: 597 Block1085: assume ($eqint(($z0707), (0))==1); goto Block1086; // @line: 597 Block1087: // @line: 597 assume ($negInt(($eqint(($z0707), (0))))==1); assert ($neref((r0702), ($null))==1); // @line: 598 call $freshlocal3, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$remove$2666((r0702), (r11714)); goto Block1090, Block1088; // @line: 589 Block1077: goto Block1064; // @line: 590 Block1074: $Exep0 := $caughtEx1; return; // @line: 590 Block1076: // @line: 592 __ret := 1; return; // @line: 596 Block1086: assert ($neref((r11714), ($null))==1); // @line: 596 r11714 := $HeapVar[r11714, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; goto Block1092; // @line: 597 Block1090: assume ($eqref(($caughtEx1), ($null))==1); goto Block1091; // @line: 597 Block1088: assume ($neref(($caughtEx1), ($null))==1); goto Block1089; // @line: 596 Block1092: goto Block1080; // @line: 597 Block1091: // @line: 599 __ret := 1; return; // @line: 597 Block1089: $Exep0 := $caughtEx1; return; } // procedure is generated by joogie. function {:inline true} $cmpreal(x : realVar, y : realVar) returns (__ret : int) { if ($ltreal((x), (y)) == 1) then 1 else if ($eqreal((x), (y)) == 1) then 0 else -1 } // @line: 766 // procedure java.lang.String$javaUtilEx.SubList$outOfBoundsMsg$2563(__this : ref, $param_0 : int) returns (__ret : ref) modifies $stringSize; requires ($neref((__this), ($null))==1); { var r0410 : ref; var i0411 : int; Block669: r0410 := __this; i0411 := $param_0; $stringSize[$fresh2] := 0; // @line: 767 __ret := $fresh2; return; } // @line: 24 // (int)> procedure void$javaUtilEx.Content$$la$init$ra$$2586(__this : ref, $param_0 : int) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var i0496 : int; var r0495 : ref; Block737: r0495 := __this; i0496 := $param_0; assert ($neref((r0495), ($null))==1); // @line: 25 call void$java.lang.Object$$la$init$ra$$28((r0495)); assert ($neref((r0495), ($null))==1); // @line: 26 $HeapVar[r0495, int$javaUtilEx.Content$val0] := i0496; return; } // @line: 73 // ()> procedure void$javaUtilEx.AbstractSequentialList$$la$init$ra$$2578(__this : ref) requires ($neref((__this), ($null))==1); { var r0443 : ref; Block690: r0443 := __this; assert ($neref((r0443), ($null))==1); // @line: 74 call void$javaUtilEx.AbstractList$$la$init$ra$$2483((r0443)); return; } // procedure is generated by joogie. function {:inline true} $ltint(x : int, y : int) returns (__ret : int) { if (x < y) then 1 else 0 } // procedure is generated by joogie. function {:inline true} $mulint($param00 : int, $param11 : int) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $ltref($param00 : ref, $param11 : ref) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $mulreal($param00 : realVar, $param11 : realVar) returns (__ret : realVar); // procedure int$javaUtilEx.ListIterator$nextIndex$2529(__this : ref) returns (__ret : int); // procedure void$javaUtilEx.ListIterator$remove$2531(__this : ref); // @line: 746 // procedure java.lang.Object$javaUtilEx.LinkedList$remove$2666(__this : ref, $param_0 : ref) returns (__ret : ref, $Exep0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r3732 : ref; var r0731 : ref; var $r6736 : ref; var $i0739 : int; var r1730 : ref; var $r5735 : ref; var $r4734 : ref; var r2733 : ref; var $r7737 : ref; var $i3742 : int; var $i1740 : int; var $i2741 : int; var $r8743 : ref; //temp local variables // @line: 746 Block788: $Exep0 := $null; goto Block1103; Block1103: r0731 := __this; r1730 := $param_0; assert ($neref((r0731), ($null))==1); // @line: 747 $r3732 := $HeapVar[r0731, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block1104; // @line: 747 Block1104: goto Block1105, Block1107; // @line: 747 Block1105: assume ($neref((r1730), ($r3732))==1); goto Block1106; // @line: 747 Block1107: // @line: 747 assume ($negInt(($neref((r1730), ($r3732))))==1); // @line: 748 $r8743 := $newvariable((1108)); assume ($neref(($newvariable((1108))), ($null))==1); assert ($neref(($r8743), ($null))==1); // @line: 748 call void$javaUtilEx.NoSuchElementException$$la$init$ra$$2572(($r8743)); goto Block1109; // @line: 750 Block1106: assert ($neref((r1730), ($null))==1); // @line: 750 r2733 := $HeapVar[r1730, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; goto Block1110; // @line: 747 Block1109: $Exep0 := $r8743; return; // @line: 751 Block1110: assert ($neref((r1730), ($null))==1); // @line: 751 $r5735 := $HeapVar[r1730, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; assert ($neref((r1730), ($null))==1); // @line: 751 $r4734 := $HeapVar[r1730, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref(($r5735), ($null))==1); // @line: 751 $HeapVar[$r5735, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301] := $r4734; assert ($neref((r1730), ($null))==1); // @line: 752 $r7737 := $HeapVar[r1730, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref((r1730), ($null))==1); // @line: 752 $r6736 := $HeapVar[r1730, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; assert ($neref(($r7737), ($null))==1); // @line: 752 $HeapVar[$r7737, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302] := $r6736; assert ($neref((r1730), ($null))==1); // @line: 753 $HeapVar[r1730, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302] := $null; assert ($neref((r1730), ($null))==1); // @line: 753 $HeapVar[r1730, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301] := $null; assert ($neref((r1730), ($null))==1); // @line: 754 $HeapVar[r1730, java.lang.Object$javaUtilEx.LinkedList$Entry$element300] := $null; assert ($neref((r0731), ($null))==1); // @line: 755 $i0739 := $HeapVar[r0731, int$javaUtilEx.LinkedList$size0]; // @line: 755 $i1740 := $subint(($i0739), (1)); assert ($neref((r0731), ($null))==1); // @line: 755 $HeapVar[r0731, int$javaUtilEx.LinkedList$size0] := $i1740; assert ($neref((r0731), ($null))==1); // @line: 756 $i2741 := $HeapVar[r0731, int$javaUtilEx.AbstractList$modCount0]; // @line: 756 $i3742 := $addint(($i2741), (1)); assert ($neref((r0731), ($null))==1); // @line: 756 $HeapVar[r0731, int$javaUtilEx.AbstractList$modCount0] := $i3742; // @line: 757 __ret := r2733; return; } // procedure is generated by joogie. function {:inline true} $ushrreal($param00 : realVar, $param11 : realVar) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $cmpref(x : ref, y : ref) returns (__ret : int) { if ($ltref((x), (y)) == 1) then 1 else if ($eqref((x), (y)) == 1) then 0 else -1 } // @line: 276 // procedure java.lang.Object$javaUtilEx.LinkedList$get$2642(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r2608 : ref; var $r1607 : ref; var r0605 : ref; var i0606 : int; //temp local variables var $caughtEx1 : ref; // @line: 276 Block854: $caughtEx1 := $null; $Exep0 := $null; goto Block855; Block855: r0605 := __this; i0606 := $param_0; assert ($neref((r0605), ($null))==1); // @line: 277 call $r1607, $caughtEx1 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$entry$2646((r0605), (i0606)); goto Block858, Block856; Block858: assume ($eqref(($caughtEx1), ($null))==1); goto Block859; Block856: assume ($neref(($caughtEx1), ($null))==1); goto Block857; Block859: assert ($neref(($r1607), ($null))==1); // @line: 277 $r2608 := $HeapVar[$r1607, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; // @line: 277 __ret := $r2608; return; Block857: $Exep0 := $caughtEx1; return; } // @line: 670 // procedure java.lang.Object$javaUtilEx.LinkedList$ListItr$previous$2681(__this : ref) returns (__ret : ref, $Exep1 : ref, $Exep0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r5834 : ref; var $r1828 : ref; var $r3832 : ref; var r0826 : ref; var $r4833 : ref; var $r2829 : ref; var $i1830 : int; var $i0827 : int; var $i2831 : int; //temp local variables var $caughtEx2 : ref; // @line: 670 Block1192: $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block1193; Block1193: r0826 := __this; assert ($neref((r0826), ($null))==1); // @line: 671 $i0827 := $HeapVar[r0826, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; goto Block1194; // @line: 671 Block1194: goto Block1195, Block1197; // @line: 671 Block1195: assume ($neint(($i0827), (0))==1); goto Block1196; // @line: 671 Block1197: // @line: 671 assume ($negInt(($neint(($i0827), (0))))==1); // @line: 672 $r5834 := $newvariable((1198)); assume ($neref(($newvariable((1198))), ($null))==1); assert ($neref(($r5834), ($null))==1); // @line: 672 call void$javaUtilEx.NoSuchElementException$$la$init$ra$$2572(($r5834)); goto Block1199; // @line: 674 Block1196: assert ($neref((r0826), ($null))==1); // @line: 674 $r1828 := $HeapVar[r0826, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304]; goto Block1200; // @line: 671 Block1199: $Exep0 := $r5834; return; // @line: 674 Block1200: assert ($neref(($r1828), ($null))==1); // @line: 674 $r2829 := $HeapVar[$r1828, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; assert ($neref((r0826), ($null))==1); // @line: 674 $HeapVar[r0826, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304] := $r2829; assert ($neref((r0826), ($null))==1); // @line: 674 $HeapVar[r0826, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303] := $r2829; assert ($neref((r0826), ($null))==1); // @line: 675 $i1830 := $HeapVar[r0826, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; // @line: 675 $i2831 := $subint(($i1830), (1)); assert ($neref((r0826), ($null))==1); // @line: 675 $HeapVar[r0826, int$javaUtilEx.LinkedList$ListItr$nextIndex0] := $i2831; assert ($neref((r0826), ($null))==1); // @line: 676 call $caughtEx2 := void$javaUtilEx.LinkedList$ListItr$checkForComodification$2687((r0826)); goto Block1201, Block1203; // @line: 674 Block1201: assume ($neref(($caughtEx2), ($null))==1); goto Block1202; // @line: 674 Block1203: assume ($eqref(($caughtEx2), ($null))==1); goto Block1204; // @line: 674 Block1202: $Exep1 := $caughtEx2; return; // @line: 674 Block1204: assert ($neref((r0826), ($null))==1); // @line: 677 $r3832 := $HeapVar[r0826, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303]; assert ($neref(($r3832), ($null))==1); // @line: 677 $r4833 := $HeapVar[$r3832, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; // @line: 677 __ret := $r4833; return; } // procedure javaUtilEx.Iterator$javaUtilEx.AbstractCollection$iterator$2229(__this : ref) returns (__ret : ref); // procedure java.lang.Object$javaUtilEx.AbstractList$get$2485(__this : ref, $param_0 : int) returns (__ret : ref); // @line: 90 // (java.lang.Throwable)> procedure void$javaUtilEx.IllegalArgumentException$$la$init$ra$$2625(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r1515 : ref; var r0514 : ref; Block752: r0514 := __this; r1515 := $param_0; assert ($neref((r0514), ($null))==1); // @line: 91 call void$java.lang.RuntimeException$$la$init$ra$$763((r0514), (r1515)); return; } // @line: 90 // procedure java.lang.Object$javaUtilEx.LinkedList$access$200$2671($param_0 : ref, $param_1 : ref) returns (__ret : ref, $Exep0 : ref) { var $r2763 : ref; var r0761 : ref; var r1762 : ref; //temp local variables var $caughtEx1 : ref; // @line: 90 Block1129: $caughtEx1 := $null; $Exep0 := $null; goto Block1130; Block1130: r0761 := $param_0; r1762 := $param_1; assert ($neref((r0761), ($null))==1); // @line: 91 call $r2763, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$remove$2666((r0761), (r1762)); goto Block1131, Block1133; Block1131: assume ($neref(($caughtEx1), ($null))==1); goto Block1132; Block1133: assume ($eqref(($caughtEx1), ($null))==1); goto Block1134; Block1132: $Exep0 := $caughtEx1; return; Block1134: // @line: 91 __ret := $r2763; return; } // @line: 740 // procedure void$javaUtilEx.SubList$1$set$2701(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var $r2949 : ref; var r1948 : ref; var r0947 : ref; Block1326: r0947 := __this; r1948 := $param_0; assert ($neref((r0947), ($null))==1); // @line: 741 $r2949 := $HeapVar[r0947, javaUtilEx.ListIterator$javaUtilEx.SubList$1$i308]; assert ($neref(($r2949), ($null))==1); // @line: 741 call void$javaUtilEx.ListIterator$set$2532(($r2949), (r1948)); return; } // procedure is generated by joogie. function {:inline true} $eqintarray($param00 : [int]int, $param11 : [int]int) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $lereal($param00 : realVar, $param11 : realVar) returns (__ret : int); // @line: 719 // procedure void$javaUtilEx.LinkedList$ListItr$checkForComodification$2687(__this : ref) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r2879 : ref; var $r1876 : ref; var $i0877 : int; var $i1878 : int; var r0875 : ref; //temp local variables // @line: 719 Block1172: $Exep0 := $null; goto Block1249; Block1249: r0875 := __this; assert ($neref((r0875), ($null))==1); // @line: 720 $r1876 := $HeapVar[r0875, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; assert ($neref(($r1876), ($null))==1); // @line: 720 $i1878 := $HeapVar[$r1876, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0875), ($null))==1); // @line: 720 $i0877 := $HeapVar[r0875, int$javaUtilEx.LinkedList$ListItr$expectedModCount0]; goto Block1250; // @line: 720 Block1250: goto Block1251, Block1253; // @line: 720 Block1251: assume ($eqint(($i1878), ($i0877))==1); goto Block1252; // @line: 720 Block1253: // @line: 720 assume ($negInt(($eqint(($i1878), ($i0877))))==1); // @line: 721 $r2879 := $newvariable((1254)); assume ($neref(($newvariable((1254))), ($null))==1); assert ($neref(($r2879), ($null))==1); // @line: 721 call void$javaUtilEx.ConcurrentModificationException$$la$init$ra$$2570(($r2879)); goto Block1255; // @line: 722 Block1252: return; // @line: 720 Block1255: $Exep0 := $r2879; return; } // procedure boolean$javaUtilEx.ListIterator$hasNext$2525(__this : ref) returns (__ret : int); // @line: 181 // procedure boolean$javaUtilEx.AbstractCollection$containsAll$2235(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $z133 : int; var r229 : ref; var $z030 : int; var r127 : ref; var $r332 : ref; var r031 : ref; Block65: r031 := __this; r127 := $param_0; assert ($neref((r127), ($null))==1); // @line: 182 call r229 := javaUtilEx.Iterator$javaUtilEx.Collection$iterator$2244((r127)); goto Block66; // @line: 183 Block66: assert ($neref((r229), ($null))==1); // @line: 183 call $z030 := boolean$javaUtilEx.Iterator$hasNext$2254((r229)); goto Block67; // @line: 183 Block67: goto Block70, Block68; // @line: 183 Block70: // @line: 183 assume ($negInt(($eqint(($z030), (0))))==1); assert ($neref((r229), ($null))==1); // @line: 184 call $r332 := java.lang.Object$javaUtilEx.Iterator$next$2255((r229)); assert ($neref((r031), ($null))==1); // @line: 184 call $z133 := boolean$javaUtilEx.AbstractCollection$contains$2232((r031), ($r332)); goto Block71; // @line: 183 Block68: assume ($eqint(($z030), (0))==1); goto Block69; // @line: 184 Block71: goto Block73, Block72; // @line: 186 Block69: // @line: 186 __ret := 1; return; // @line: 184 Block73: // @line: 184 assume ($negInt(($neint(($z133), (0))))==1); // @line: 185 __ret := 0; return; // @line: 184 Block72: assume ($neint(($z133), (0))==1); goto Block66; } // @line: 767 // (javaUtilEx.LinkedList)> procedure void$javaUtilEx.LinkedList$DescendingIterator$$la$init$ra$$2688(__this : ref, $param_0 : ref) returns ($Exep0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r3883 : ref; var $r4884 : ref; var r0880 : ref; var r1881 : ref; var $i0885 : int; var $r2882 : ref; //temp local variables var $caughtEx1 : ref; // @line: 767 Block1111: $caughtEx1 := $null; $Exep0 := $null; goto Block1256; Block1256: r0880 := __this; r1881 := $param_0; assert ($neref((r0880), ($null))==1); // @line: 768 $HeapVar[r0880, javaUtilEx.LinkedList$javaUtilEx.LinkedList$DescendingIterator$this$0307] := r1881; assert ($neref((r0880), ($null))==1); // @line: 768 call void$java.lang.Object$$la$init$ra$$28((r0880)); // @line: 769 $r2882 := $newvariable((1257)); assume ($neref(($newvariable((1257))), ($null))==1); assert ($neref((r0880), ($null))==1); // @line: 769 $r4884 := $HeapVar[r0880, javaUtilEx.LinkedList$javaUtilEx.LinkedList$DescendingIterator$this$0307]; assert ($neref((r0880), ($null))==1); // @line: 769 $r3883 := $HeapVar[r0880, javaUtilEx.LinkedList$javaUtilEx.LinkedList$DescendingIterator$this$0307]; assert ($neref(($r3883), ($null))==1); // @line: 769 call $i0885 := int$javaUtilEx.LinkedList$size$2638(($r3883)); assert ($neref(($r2882), ($null))==1); // @line: 769 call $caughtEx1 := void$javaUtilEx.LinkedList$ListItr$$la$init$ra$$2677(($r2882), ($r4884), ($i0885)); goto Block1258, Block1260; Block1258: assume ($neref(($caughtEx1), ($null))==1); goto Block1259; Block1260: assume ($eqref(($caughtEx1), ($null))==1); goto Block1261; Block1259: $Exep0 := $caughtEx1; return; Block1261: assert ($neref((r0880), ($null))==1); // @line: 769 $HeapVar[r0880, javaUtilEx.LinkedList$ListItr$javaUtilEx.LinkedList$DescendingIterator$itr306] := $r2882; return; } // procedure is generated by joogie. function {:inline true} $xorref($param00 : ref, $param11 : ref) returns (__ret : int); // @line: 44 // ()> procedure void$javaUtilEx.NoSuchElementException$$la$init$ra$$2572(__this : ref) requires ($neref((__this), ($null))==1); { var r0432 : ref; Block684: r0432 := __this; assert ($neref((r0432), ($null))==1); // @line: 45 call void$java.lang.RuntimeException$$la$init$ra$$760((r0432)); return; } // procedure boolean$javaUtilEx.Iterator$hasNext$2254(__this : ref) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $intarrtoref($param00 : [int]int) returns (__ret : ref); // procedure is generated by joogie. function {:inline true} $subreal($param00 : realVar, $param11 : realVar) returns (__ret : realVar); // @line: 177 // procedure int$javaUtilEx.AbstractList$indexOf$2489(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r3124 : ref; var $i0126 : int; var $z2127 : int; var r2121 : ref; var $z1125 : int; var r1122 : ref; var $i1129 : int; var $z0123 : int; var $r4128 : ref; var r0119 : ref; //temp local variables var $caughtEx1 : ref; // @line: 177 Block160: $caughtEx1 := $null; $Exep0 := $null; goto Block161; Block161: r0119 := __this; r1122 := $param_0; assert ($neref((r0119), ($null))==1); // @line: 178 call r2121, $caughtEx1 := javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2494((r0119)); goto Block164, Block162; Block164: assume ($eqref(($caughtEx1), ($null))==1); goto Block165; Block162: assume ($neref(($caughtEx1), ($null))==1); goto Block163; Block165: goto Block166; Block163: $Exep0 := $caughtEx1; return; // @line: 179 Block166: goto Block169, Block167; // @line: 179 Block169: // @line: 179 assume ($negInt(($neref((r1122), ($null))))==1); goto Block170; // @line: 179 Block167: assume ($neref((r1122), ($null))==1); goto Block168; // @line: 180 Block170: assert ($neref((r2121), ($null))==1); // @line: 180 call $z2127 := boolean$javaUtilEx.ListIterator$hasNext$2525((r2121)); goto Block171; // @line: 184 Block168: assert ($neref((r2121), ($null))==1); // @line: 184 call $z0123 := boolean$javaUtilEx.ListIterator$hasNext$2525((r2121)); goto Block178; // @line: 180 Block171: goto Block174, Block172; // @line: 184 Block178: goto Block179, Block180; // @line: 180 Block174: // @line: 180 assume ($negInt(($eqint(($z2127), (0))))==1); assert ($neref((r2121), ($null))==1); // @line: 181 call $r4128 := java.lang.Object$javaUtilEx.ListIterator$next$2526((r2121)); goto Block175; // @line: 180 Block172: assume ($eqint(($z2127), (0))==1); goto Block173; // @line: 184 Block179: assume ($eqint(($z0123), (0))==1); goto Block173; // @line: 184 Block180: // @line: 184 assume ($negInt(($eqint(($z0123), (0))))==1); assert ($neref((r2121), ($null))==1); // @line: 185 call $r3124 := java.lang.Object$javaUtilEx.ListIterator$next$2526((r2121)); assert ($neref((r1122), ($null))==1); // @line: 185 call $z1125 := boolean$java.lang.Object$equals$32((r1122), ($r3124)); goto Block181; // @line: 181 Block175: goto Block176, Block177; // @line: 188 Block173: // @line: 188 __ret := -1; return; // @line: 185 Block181: goto Block182, Block183; // @line: 181 Block176: assume ($neref(($r4128), ($null))==1); goto Block170; // @line: 181 Block177: // @line: 181 assume ($negInt(($neref(($r4128), ($null))))==1); assert ($neref((r2121), ($null))==1); // @line: 182 call $i1129 := int$javaUtilEx.ListIterator$previousIndex$2530((r2121)); // @line: 182 __ret := $i1129; return; // @line: 185 Block182: assume ($eqint(($z1125), (0))==1); goto Block168; // @line: 185 Block183: // @line: 185 assume ($negInt(($eqint(($z1125), (0))))==1); assert ($neref((r2121), ($null))==1); // @line: 186 call $i0126 := int$javaUtilEx.ListIterator$previousIndex$2530((r2121)); // @line: 186 __ret := $i0126; return; } // procedure boolean$javaUtilEx.ListIterator$hasPrevious$2527(__this : ref) returns (__ret : int); // @line: 114 // procedure java.lang.Object$javaUtilEx.AbstractSequentialList$set$2580(__this : ref, $param_0 : int, $param_1 : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r1457 : ref; var r2456 : ref; var r0451 : ref; var $r3458 : ref; var i0452 : int; var $r4459 : ref; var r5460 : ref; //temp local variables var $caughtEx1 : ref; // @line: 114 Block698: $caughtEx1 := $null; $Exep0 := $null; goto Block699; Block699: r0451 := __this; i0452 := $param_0; r1457 := $param_1; goto Block700; // @line: 115 Block700: assert ($neref((r0451), ($null))==1); // @line: 115 call r5460 := javaUtilEx.ListIterator$javaUtilEx.AbstractSequentialList$listIterator$2585((r0451), (i0452)); assert ($neref((r5460), ($null))==1); // @line: 116 call r2456 := java.lang.Object$javaUtilEx.ListIterator$next$2526((r5460)); assert ($neref((r5460), ($null))==1); // @line: 117 call void$javaUtilEx.ListIterator$set$2532((r5460), (r1457)); goto Block701; // @line: 118 Block701: // @line: 118 __ret := r2456; return; } // @line: 85 // procedure boolean$javaUtilEx.AbstractCollection$isEmpty$2231(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $z05 : int; var r02 : ref; var $i03 : int; Block17: r02 := __this; assert ($neref((r02), ($null))==1); // @line: 86 call $i03 := int$javaUtilEx.AbstractCollection$size$2230((r02)); goto Block18; // @line: 86 Block18: goto Block21, Block19; // @line: 86 Block21: // @line: 86 assume ($negInt(($neint(($i03), (0))))==1); // @line: 86 $z05 := 1; goto Block22; // @line: 86 Block19: assume ($neint(($i03), (0))==1); goto Block20; // @line: 86 Block22: // @line: 86 __ret := $z05; return; // @line: 86 Block20: // @line: 86 $z05 := 0; goto Block22; } // @line: 169 // procedure void$javaUtilEx.LinkedList$addFirst$2635(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r1560 : ref; var $r3562 : ref; var $r2561 : ref; var r0559 : ref; //temp local variables var $freshlocal0 : ref; Block801: r0559 := __this; r1560 := $param_0; assert ($neref((r0559), ($null))==1); // @line: 170 $r2561 := $HeapVar[r0559, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r2561), ($null))==1); // @line: 170 $r3562 := $HeapVar[$r2561, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref((r0559), ($null))==1); // @line: 170 call $freshlocal0 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$addBefore$2665((r0559), (r1560), ($r3562)); return; } // @line: 160 // procedure java.lang.Object$javaUtilEx.AbstractList$remove$2488(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r1116 : ref; var r0117 : ref; var i0118 : int; //temp local variables // @line: 160 Block153: $Exep0 := $null; goto Block154; Block154: r0117 := __this; i0118 := $param_0; // @line: 161 $r1116 := $newvariable((155)); assume ($neref(($newvariable((155))), ($null))==1); assert ($neref(($r1116), ($null))==1); // @line: 161 call void$javaUtilEx.UnsupportedOperationException$$la$init$ra$$2257(($r1116)); goto Block156; Block156: $Exep0 := $r1116; return; } // @line: 715 // procedure boolean$javaUtilEx.SubList$1$hasPrevious$2696(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0918 : ref; var $i0919 : int; var $z0921 : int; Block1308: r0918 := __this; assert ($neref((r0918), ($null))==1); // @line: 716 call $i0919 := int$javaUtilEx.SubList$1$previousIndex$2699((r0918)); goto Block1309; // @line: 716 Block1309: goto Block1310, Block1312; // @line: 716 Block1310: assume ($ltint(($i0919), (0))==1); goto Block1311; // @line: 716 Block1312: // @line: 716 assume ($negInt(($ltint(($i0919), (0))))==1); // @line: 716 $z0921 := 1; goto Block1313; // @line: 716 Block1311: // @line: 716 $z0921 := 0; goto Block1313; // @line: 716 Block1313: // @line: 716 __ret := $z0921; return; } // procedure is generated by joogie. function {:inline true} $cmpint(x : int, y : int) returns (__ret : int) { if (x < y) then 1 else if (x == y) then 0 else -1 } // @line: 107 // procedure boolean$javaUtilEx.AbstractList$add$2484(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0105 : ref; var r1107 : ref; var $i0106 : int; //temp local variables var $caughtEx1 : ref; // @line: 107 Block140: $caughtEx1 := $null; $Exep0 := $null; goto Block141; Block141: r0105 := __this; r1107 := $param_0; assert ($neref((r0105), ($null))==1); // @line: 108 call $i0106 := int$javaUtilEx.AbstractCollection$size$2230((r0105)); assert ($neref((r0105), ($null))==1); // @line: 108 call $caughtEx1 := void$javaUtilEx.AbstractList$add$2487((r0105), ($i0106), (r1107)); goto Block142, Block144; Block142: assume ($neref(($caughtEx1), ($null))==1); goto Block143; Block144: assume ($eqref(($caughtEx1), ($null))==1); goto Block145; Block143: $Exep0 := $caughtEx1; return; Block145: // @line: 109 __ret := 1; return; } // @line: 795 // procedure java.lang.Object$lp$$rp$$javaUtilEx.LinkedList$toArray$2668(__this : ref) returns (__ret : [int]ref) modifies $refArrSize; requires ($neref((__this), ($null))==1); { var $i0747 : int; var $r3752 : ref; var r5756 : ref; var $i1753 : int; var $r2750 : ref; var r0746 : ref; var r1748 : [int]ref; var $r4754 : ref; var i2755 : int; Block1120: r0746 := __this; assert ($neref((r0746), ($null))==1); // @line: 796 $i0747 := $HeapVar[r0746, int$javaUtilEx.LinkedList$size0]; // @line: 796 r1748 := $reftorefarr(($newvariable((1121)))); $refArrSize[$reftorefarr(($newvariable((1121))))[$arrSizeIdx]] := $i0747; assume ($negInt(($eqrefarray(($reftorefarr(($newvariable((1121))))), ($refArrNull))))==1); // @line: 797 i2755 := 0; assert ($neref((r0746), ($null))==1); // @line: 798 $r2750 := $HeapVar[r0746, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r2750), ($null))==1); // @line: 798 r5756 := $HeapVar[$r2750, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block1122; // @line: 798 Block1122: assert ($neref((r0746), ($null))==1); // @line: 798 $r3752 := $HeapVar[r0746, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block1123; // @line: 798 Block1123: goto Block1126, Block1124; // @line: 798 Block1126: // @line: 798 assume ($negInt(($eqref((r5756), ($r3752))))==1); // @line: 799 $i1753 := i2755; // @line: 799 i2755 := $addint((i2755), (1)); assert ($neref((r5756), ($null))==1); // @line: 799 $r4754 := $HeapVar[r5756, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; assert ($geint(($i1753), (0))==1); assert ($ltint(($i1753), ($refArrSize[r1748[$arrSizeIdx]]))==1); // @line: 799 r1748[$i1753] := $r4754; assert ($neref((r5756), ($null))==1); // @line: 798 r5756 := $HeapVar[r5756, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block1122; // @line: 798 Block1124: assume ($eqref((r5756), ($r3752))==1); goto Block1125; // @line: 800 Block1125: // @line: 800 __ret := r1748; return; } // procedure is generated by joogie. function {:inline true} $subint(x : int, y : int) returns (__ret : int) { (x - y) } // procedure is generated by joogie. function {:inline true} $neref(x : ref, y : ref) returns (__ret : int) { if (x != y) then 1 else 0 } // @line: 666 // procedure boolean$javaUtilEx.LinkedList$ListItr$hasPrevious$2680(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $i0823 : int; var r0822 : ref; var $z0825 : int; Block1186: r0822 := __this; assert ($neref((r0822), ($null))==1); // @line: 667 $i0823 := $HeapVar[r0822, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; goto Block1187; // @line: 667 Block1187: goto Block1188, Block1190; // @line: 667 Block1188: assume ($eqint(($i0823), (0))==1); goto Block1189; // @line: 667 Block1190: // @line: 667 assume ($negInt(($eqint(($i0823), (0))))==1); // @line: 667 $z0825 := 1; goto Block1191; // @line: 667 Block1189: // @line: 667 $z0825 := 0; goto Block1191; // @line: 667 Block1191: // @line: 667 __ret := $z0825; return; } // @line: 700 // (javaUtilEx.SubList,int)> procedure void$javaUtilEx.SubList$1$$la$init$ra$$2693(__this : ref, $param_0 : ref, $param_1 : int) returns ($Exep0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r2900 : ref; var $i2904 : int; var $r5906 : ref; var r1898 : ref; var $r3901 : ref; var $i3905 : int; var i0899 : int; var $r4902 : ref; var $i1903 : int; var r0897 : ref; //temp local variables var $caughtEx1 : ref; // @line: 700 Block621: $caughtEx1 := $null; $Exep0 := $null; goto Block1288; Block1288: r0897 := __this; r1898 := $param_0; i0899 := $param_1; assert ($neref((r0897), ($null))==1); // @line: 701 $HeapVar[r0897, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309] := r1898; assert ($neref((r0897), ($null))==1); // @line: 701 $HeapVar[r0897, int$javaUtilEx.SubList$1$val$index0] := i0899; assert ($neref((r0897), ($null))==1); // @line: 701 call void$java.lang.Object$$la$init$ra$$28((r0897)); assert ($neref((r0897), ($null))==1); // @line: 702 $r2900 := $HeapVar[r0897, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; // @line: 702 call $r3901 := javaUtilEx.AbstractList$javaUtilEx.SubList$access$100$2566(($r2900)); assert ($neref((r0897), ($null))==1); // @line: 702 $i1903 := $HeapVar[r0897, int$javaUtilEx.SubList$1$val$index0]; assert ($neref((r0897), ($null))==1); // @line: 702 $r4902 := $HeapVar[r0897, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; // @line: 702 call $i2904 := int$javaUtilEx.SubList$access$000$2565(($r4902)); // @line: 702 $i3905 := $addint(($i1903), ($i2904)); assert ($neref(($r3901), ($null))==1); // @line: 702 call $r5906, $caughtEx1 := javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2495(($r3901), ($i3905)); goto Block1291, Block1289; Block1291: assume ($eqref(($caughtEx1), ($null))==1); goto Block1292; Block1289: assume ($neref(($caughtEx1), ($null))==1); goto Block1290; Block1292: assert ($neref((r0897), ($null))==1); // @line: 702 $HeapVar[r0897, javaUtilEx.ListIterator$javaUtilEx.SubList$1$i308] := $r5906; return; Block1290: $Exep0 := $caughtEx1; return; } // procedure is generated by joogie. function {:inline true} $modint($param00 : int, $param11 : int) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $eqrealarray($param00 : [int]realVar, $param11 : [int]realVar) returns (__ret : int); // @line: 253 // procedure void$javaUtilEx.LinkedList$clear$2641(__this : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r4597 : ref; var r0593 : ref; var $r3596 : ref; var r7604 : ref; var $r6599 : ref; var $i1601 : int; var $i0600 : int; var $r5598 : ref; var r1602 : ref; var $r2594 : ref; Block846: r0593 := __this; assert ($neref((r0593), ($null))==1); // @line: 254 $r2594 := $HeapVar[r0593, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r2594), ($null))==1); // @line: 254 r7604 := $HeapVar[$r2594, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block847; // @line: 255 Block847: assert ($neref((r0593), ($null))==1); // @line: 255 $r3596 := $HeapVar[r0593, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block848; // @line: 255 Block848: goto Block851, Block849; // @line: 255 Block851: // @line: 255 assume ($negInt(($eqref((r7604), ($r3596))))==1); assert ($neref((r7604), ($null))==1); // @line: 256 r1602 := $HeapVar[r7604, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref((r7604), ($null))==1); // @line: 257 $HeapVar[r7604, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302] := $null; assert ($neref((r7604), ($null))==1); // @line: 257 $HeapVar[r7604, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301] := $null; assert ($neref((r7604), ($null))==1); // @line: 258 $HeapVar[r7604, java.lang.Object$javaUtilEx.LinkedList$Entry$element300] := $null; // @line: 259 r7604 := r1602; goto Block847; // @line: 255 Block849: assume ($eqref((r7604), ($r3596))==1); goto Block850; // @line: 261 Block850: assert ($neref((r0593), ($null))==1); // @line: 261 $r6599 := $HeapVar[r0593, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block852; // @line: 261 Block852: assert ($neref((r0593), ($null))==1); // @line: 261 $r5598 := $HeapVar[r0593, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref((r0593), ($null))==1); // @line: 261 $r4597 := $HeapVar[r0593, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r5598), ($null))==1); // @line: 261 $HeapVar[$r5598, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302] := $r4597; assert ($neref(($r6599), ($null))==1); // @line: 261 $HeapVar[$r6599, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301] := $r4597; assert ($neref((r0593), ($null))==1); // @line: 262 $HeapVar[r0593, int$javaUtilEx.LinkedList$size0] := 0; assert ($neref((r0593), ($null))==1); // @line: 263 $i0600 := $HeapVar[r0593, int$javaUtilEx.AbstractList$modCount0]; // @line: 263 $i1601 := $addint(($i0600), (1)); assert ($neref((r0593), ($null))==1); // @line: 263 $HeapVar[r0593, int$javaUtilEx.AbstractList$modCount0] := $i1601; return; } // @line: 113 // (javaUtilEx.Collection)> procedure void$javaUtilEx.LinkedList$$la$init$ra$$2630(__this : ref, $param_0 : ref) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var r1537 : ref; var r0536 : ref; //temp local variables var $caughtEx1 : ref; var $freshlocal2 : int; // @line: 113 Block764: $caughtEx1 := $null; $Exep0 := $null; goto Block765; Block765: r0536 := __this; r1537 := $param_0; assert ($neref((r0536), ($null))==1); // @line: 114 call void$javaUtilEx.LinkedList$$la$init$ra$$2629((r0536)); assert ($neref((r0536), ($null))==1); // @line: 115 call $freshlocal2, $caughtEx1 := boolean$javaUtilEx.AbstractCollection$addAll$2236((r0536), (r1537)); goto Block768, Block766; Block768: assume ($eqref(($caughtEx1), ($null))==1); goto Block769; Block766: assume ($neref(($caughtEx1), ($null))==1); goto Block767; Block769: return; Block767: $Exep0 := $caughtEx1; return; } // @line: 65 // ()> procedure void$javaUtilEx.AbstractCollection$$la$init$ra$$2228(__this : ref) requires ($neref((__this), ($null))==1); { var r01 : ref; Block16: r01 := __this; assert ($neref((r01), ($null))==1); // @line: 66 call void$java.lang.Object$$la$init$ra$$28((r01)); return; } // procedure is generated by joogie. function {:inline true} $shrint($param00 : int, $param11 : int) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $ushrint($param00 : int, $param11 : int) returns (__ret : int); // @line: 513 // procedure boolean$javaUtilEx.AbstractList$equals$2497(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $z6190 : int; var $r6177 : ref; var r3179 : ref; var r4186 : ref; var $z3182 : int; var $z5189 : int; var r0173 : ref; var $z1180 : int; var r5188 : ref; var $z4184 : int; var $z0174 : int; var $z2181 : int; var r1172 : ref; var r2176 : ref; //temp local variables var $caughtEx1 : ref; // @line: 513 Block271: $caughtEx1 := $null; $Exep0 := $null; goto Block272; Block272: r0173 := __this; r1172 := $param_0; goto Block273; // @line: 514 Block273: goto Block274, Block276; // @line: 514 Block274: assume ($neref((r1172), (r0173))==1); goto Block275; // @line: 514 Block276: // @line: 514 assume ($negInt(($neref((r1172), (r0173))))==1); // @line: 515 __ret := 1; return; // @line: 516 Block275: // @line: 516 $z0174 := $instanceof((r1172), (javaUtilEx.List)); goto Block277; // @line: 516 Block277: goto Block280, Block278; // @line: 516 Block280: // @line: 516 assume ($negInt(($neint(($z0174), (0))))==1); // @line: 517 __ret := 0; return; // @line: 516 Block278: assume ($neint(($z0174), (0))==1); goto Block279; // @line: 519 Block279: assert ($neref((r0173), ($null))==1); // @line: 519 call r2176, $caughtEx1 := javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2494((r0173)); goto Block281, Block283; // @line: 519 Block281: assume ($neref(($caughtEx1), ($null))==1); goto Block282; // @line: 519 Block283: assume ($eqref(($caughtEx1), ($null))==1); goto Block284; // @line: 519 Block282: $Exep0 := $caughtEx1; return; // @line: 519 Block284: goto Block285; // @line: 520 Block285: // @line: 520 $r6177 := r1172; assert ($neref(($r6177), ($null))==1); // @line: 520 call r3179 := javaUtilEx.ListIterator$javaUtilEx.List$listIterator$2522(($r6177)); goto Block286; // @line: 521 Block286: assert ($neref((r2176), ($null))==1); // @line: 521 call $z1180 := boolean$javaUtilEx.ListIterator$hasNext$2525((r2176)); goto Block287; // @line: 521 Block287: goto Block288, Block290; // @line: 521 Block288: assume ($eqint(($z1180), (0))==1); goto Block289; // @line: 521 Block290: // @line: 521 assume ($negInt(($eqint(($z1180), (0))))==1); assert ($neref((r3179), ($null))==1); // @line: 527 call $z4184 := boolean$javaUtilEx.ListIterator$hasNext$2525((r3179)); goto Block291; // @line: 527 Block289: assert ($neref((r2176), ($null))==1); // @line: 527 call $z2181 := boolean$javaUtilEx.ListIterator$hasNext$2525((r2176)); goto Block306; // @line: 527 Block291: goto Block292, Block293; // @line: 527 Block306: goto Block307, Block309; // @line: 527 Block292: assume ($eqint(($z4184), (0))==1); goto Block289; // @line: 527 Block293: // @line: 527 assume ($negInt(($eqint(($z4184), (0))))==1); assert ($neref((r2176), ($null))==1); // @line: 522 call r4186 := java.lang.Object$javaUtilEx.ListIterator$next$2526((r2176)); assert ($neref((r3179), ($null))==1); // @line: 523 call r5188 := java.lang.Object$javaUtilEx.ListIterator$next$2526((r3179)); goto Block294; // @line: 527 Block307: assume ($neint(($z2181), (0))==1); goto Block308; // @line: 527 Block309: // @line: 527 assume ($negInt(($neint(($z2181), (0))))==1); assert ($neref((r3179), ($null))==1); // @line: 527 call $z3182 := boolean$javaUtilEx.ListIterator$hasNext$2525((r3179)); goto Block310; // @line: 524 Block294: goto Block297, Block295; // @line: 527 Block308: // @line: 527 $z6190 := 0; goto Block313; // @line: 527 Block310: goto Block311, Block312; // @line: 524 Block297: // @line: 524 assume ($negInt(($neref((r4186), ($null))))==1); goto Block298; // @line: 524 Block295: assume ($neref((r4186), ($null))==1); goto Block296; // @line: 527 Block313: // @line: 527 __ret := $z6190; return; // @line: 527 Block311: assume ($neint(($z3182), (0))==1); goto Block308; // @line: 527 Block312: // @line: 527 assume ($negInt(($neint(($z3182), (0))))==1); // @line: 527 $z6190 := 1; goto Block313; // @line: 525 Block298: goto Block299, Block301; // @line: 524 Block296: assert ($neref((r4186), ($null))==1); // @line: 524 call $z5189 := boolean$java.lang.Object$equals$32((r4186), (r5188)); goto Block303; // @line: 525 Block299: assume ($neref((r5188), ($null))==1); goto Block300; // @line: 525 Block301: // @line: 525 assume ($negInt(($neref((r5188), ($null))))==1); goto Block302; // @line: 524 Block303: goto Block304, Block305; // @line: 525 Block300: // @line: 525 __ret := 0; return; // @line: 526 Block302: goto Block286; // @line: 524 Block304: assume ($neint(($z5189), (0))==1); goto Block302; // @line: 524 Block305: // @line: 524 assume ($negInt(($neint(($z5189), (0))))==1); goto Block300; } // @line: 680 // procedure boolean$javaUtilEx.SubList$addAll$2557(__this : ref, $param_0 : int, $param_1 : ref) returns (__ret : int, $Exep0 : ref, $Exep1 : ref, $Exep2 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var i0379 : int; var $i6390 : int; var $r3387 : ref; var $i3384 : int; var $i2383 : int; var r0378 : ref; var $i5389 : int; var r1380 : ref; var i1382 : int; var $i4388 : int; var $r2385 : ref; //temp local variables var $caughtEx3 : ref; var $caughtEx4 : ref; var $freshlocal6 : int; var $caughtEx5 : ref; // @line: 680 Block577: $caughtEx5 := $null; $caughtEx4 := $null; $caughtEx3 := $null; $Exep2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block592; Block592: r0378 := __this; i0379 := $param_0; r1380 := $param_1; assert ($neref((r0378), ($null))==1); // @line: 681 call $caughtEx3 := void$javaUtilEx.SubList$rangeCheckForAdd$2562((r0378), (i0379)); goto Block595, Block593; Block595: assume ($eqref(($caughtEx3), ($null))==1); goto Block596; Block593: assume ($neref(($caughtEx3), ($null))==1); goto Block594; Block596: assert ($neref((r1380), ($null))==1); // @line: 682 call i1382 := int$javaUtilEx.Collection$size$2241((r1380)); goto Block597; Block594: $Exep0 := $caughtEx3; return; // @line: 683 Block597: goto Block600, Block598; // @line: 683 Block600: // @line: 683 assume ($negInt(($neint((i1382), (0))))==1); // @line: 684 __ret := 0; return; // @line: 683 Block598: assume ($neint((i1382), (0))==1); goto Block599; // @line: 686 Block599: assert ($neref((r0378), ($null))==1); // @line: 686 call $caughtEx4 := void$javaUtilEx.SubList$checkForComodification$2564((r0378)); goto Block601, Block603; // @line: 686 Block601: assume ($neref(($caughtEx4), ($null))==1); goto Block602; // @line: 686 Block603: assume ($eqref(($caughtEx4), ($null))==1); goto Block604; // @line: 686 Block602: $Exep1 := $caughtEx4; return; // @line: 686 Block604: goto Block605; // @line: 687 Block605: assert ($neref((r0378), ($null))==1); // @line: 687 $r2385 := $HeapVar[r0378, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref((r0378), ($null))==1); // @line: 687 $i2383 := $HeapVar[r0378, int$javaUtilEx.SubList$offset0]; // @line: 687 $i3384 := $addint(($i2383), (i0379)); assert ($neref(($r2385), ($null))==1); // @line: 687 call $freshlocal6, $caughtEx3, $caughtEx5 := boolean$javaUtilEx.AbstractList$addAll$2492(($r2385), ($i3384), (r1380)); goto Block606, Block608; // @line: 687 Block606: assume ($neref(($caughtEx3), ($null))==1); goto Block607; // @line: 687 Block608: assume ($eqref(($caughtEx3), ($null))==1); goto Block609; // @line: 687 Block607: $Exep0 := $caughtEx3; return; // @line: 687 Block609: goto Block612, Block610; // @line: 687 Block612: assume ($eqref(($caughtEx5), ($null))==1); goto Block613; // @line: 687 Block610: assume ($neref(($caughtEx5), ($null))==1); goto Block611; // @line: 687 Block613: assert ($neref((r0378), ($null))==1); // @line: 688 $r3387 := $HeapVar[r0378, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref(($r3387), ($null))==1); // @line: 688 $i4388 := $HeapVar[$r3387, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0378), ($null))==1); // @line: 688 $HeapVar[r0378, int$javaUtilEx.AbstractList$modCount0] := $i4388; assert ($neref((r0378), ($null))==1); // @line: 689 $i5389 := $HeapVar[r0378, int$javaUtilEx.SubList$size0]; // @line: 689 $i6390 := $addint(($i5389), (i1382)); assert ($neref((r0378), ($null))==1); // @line: 689 $HeapVar[r0378, int$javaUtilEx.SubList$size0] := $i6390; // @line: 690 __ret := 1; return; // @line: 687 Block611: $Exep2 := $caughtEx5; return; } // @line: 71 // (java.lang.String,java.lang.Throwable)> procedure void$javaUtilEx.UnsupportedOperationException$$la$init$ra$$2259(__this : ref, $param_0 : ref, $param_1 : ref) requires ($neref((__this), ($null))==1); { var r2101 : ref; var r099 : ref; var r1100 : ref; Block136: r099 := __this; r1100 := $param_0; r2101 := $param_1; assert ($neref((r099), ($null))==1); // @line: 72 call void$java.lang.RuntimeException$$la$init$ra$$762((r099), (r1100), (r2101)); return; } // procedure void$javaUtilEx.ListIterator$set$2532(__this : ref, $param_0 : ref); // @line: 90 // procedure javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$access$000$2669($param_0 : ref) returns (__ret : ref) { var $r1758 : ref; var r0757 : ref; Block1127: r0757 := $param_0; assert ($neref((r0757), ($null))==1); // @line: 91 $r1758 := $HeapVar[r0757, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; // @line: 91 __ret := $r1758; return; } // @line: 351 // procedure boolean$javaUtilEx.AbstractList$Itr$hasNext$2535(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $r1223 : ref; var r0222 : ref; var $i0224 : int; var $i1225 : int; var $z0227 : int; Block348: r0222 := __this; assert ($neref((r0222), ($null))==1); // @line: 352 $i0224 := $HeapVar[r0222, int$javaUtilEx.AbstractList$Itr$cursor0]; assert ($neref((r0222), ($null))==1); // @line: 352 $r1223 := $HeapVar[r0222, javaUtilEx.AbstractList$javaUtilEx.AbstractList$Itr$this$0295]; assert ($neref(($r1223), ($null))==1); // @line: 352 call $i1225 := int$javaUtilEx.AbstractCollection$size$2230(($r1223)); goto Block349; // @line: 352 Block349: goto Block352, Block350; // @line: 352 Block352: // @line: 352 assume ($negInt(($eqint(($i0224), ($i1225))))==1); // @line: 352 $z0227 := 1; goto Block353; // @line: 352 Block350: assume ($eqint(($i0224), ($i1225))==1); goto Block351; // @line: 352 Block353: // @line: 352 __ret := $z0227; return; // @line: 352 Block351: // @line: 352 $z0227 := 0; goto Block353; } // @line: 33 // procedure boolean$javaUtilEx.Content$equals$2588(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $z0501 : int; var $r2503 : ref; var $z1507 : int; var r0502 : ref; var $i0504 : int; var r1500 : ref; var $i1505 : int; Block739: r0502 := __this; r1500 := $param_0; // @line: 34 $z0501 := $instanceof((r1500), (javaUtilEx.Content)); goto Block740; // @line: 34 Block740: goto Block741, Block743; // @line: 34 Block741: assume ($eqint(($z0501), (0))==1); goto Block742; // @line: 34 Block743: // @line: 34 assume ($negInt(($eqint(($z0501), (0))))==1); assert ($neref((r0502), ($null))==1); // @line: 35 $i1505 := $HeapVar[r0502, int$javaUtilEx.Content$val0]; // @line: 35 $r2503 := r1500; assert ($neref(($r2503), ($null))==1); // @line: 35 $i0504 := $HeapVar[$r2503, int$javaUtilEx.Content$val0]; goto Block744; // @line: 37 Block742: // @line: 37 __ret := 0; return; // @line: 35 Block744: goto Block745, Block747; // @line: 35 Block745: assume ($neint(($i1505), ($i0504))==1); goto Block746; // @line: 35 Block747: // @line: 35 assume ($negInt(($neint(($i1505), ($i0504))))==1); // @line: 35 $z1507 := 1; goto Block748; // @line: 35 Block746: // @line: 35 $z1507 := 0; goto Block748; // @line: 35 Block748: // @line: 35 __ret := $z1507; return; } // procedure int$javaUtilEx.AbstractCollection$size$2230(__this : ref) returns (__ret : int); // @line: 413 // procedure int$javaUtilEx.AbstractList$ListItr$nextIndex$2545(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0286 : ref; var $i0287 : int; Block446: r0286 := __this; assert ($neref((r0286), ($null))==1); // @line: 414 $i0287 := $HeapVar[r0286, int$javaUtilEx.AbstractList$Itr$cursor0]; // @line: 414 __ret := $i0287; return; } // procedure is generated by joogie. function {:inline true} $gtint(x : int, y : int) returns (__ret : int) { if (x > y) then 1 else 0 } // @line: 680 // procedure int$javaUtilEx.LinkedList$ListItr$nextIndex$2682(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0835 : ref; var $i0836 : int; Block1205: r0835 := __this; assert ($neref((r0835), ($null))==1); // @line: 681 $i0836 := $HeapVar[r0835, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; // @line: 681 __ret := $i0836; return; } // @line: 607 // procedure void$javaUtilEx.AbstractList$rangeCheckForAdd$2500(__this : ref, $param_0 : int) returns ($Exep0 : ref) modifies $stringSize; requires ($neref((__this), ($null))==1); { var $r2214 : ref; var i0211 : int; var $r1212 : ref; var r0213 : ref; var $i1215 : int; //temp local variables // @line: 607 Block157: $Exep0 := $null; goto Block335; Block335: r0213 := __this; i0211 := $param_0; goto Block336; // @line: 608 Block336: goto Block339, Block337; // @line: 608 Block339: // @line: 608 assume ($negInt(($ltint((i0211), (0))))==1); assert ($neref((r0213), ($null))==1); // @line: 609 call $i1215 := int$javaUtilEx.AbstractCollection$size$2230((r0213)); goto Block340; // @line: 608 Block337: assume ($ltint((i0211), (0))==1); goto Block338; // @line: 609 Block340: goto Block343, Block341; // @line: 609 Block338: // @line: 609 $r1212 := $newvariable((344)); assume ($neref(($newvariable((344))), ($null))==1); assert ($neref((r0213), ($null))==1); // @line: 609 call $r2214 := java.lang.String$javaUtilEx.AbstractList$outOfBoundsMsg$2501((r0213), (i0211)); assert ($neref(($r1212), ($null))==1); // @line: 609 call void$java.lang.IndexOutOfBoundsException$$la$init$ra$$2076(($r1212), ($r2214)); goto Block345; // @line: 609 Block343: // @line: 609 assume ($negInt(($leint((i0211), ($i1215))))==1); goto Block338; // @line: 609 Block341: assume ($leint((i0211), ($i1215))==1); goto Block342; // @line: 609 Block345: $Exep0 := $r1212; return; // @line: 610 Block342: return; } // @line: 531 // procedure java.lang.Object$javaUtilEx.LinkedList$pollLast$2659(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $i0692 : int; var $r1693 : ref; var r0691 : ref; //temp local variables var $caughtEx1 : ref; // @line: 531 Block1034: $caughtEx1 := $null; $Exep0 := $null; goto Block1035; Block1035: r0691 := __this; assert ($neref((r0691), ($null))==1); // @line: 532 $i0692 := $HeapVar[r0691, int$javaUtilEx.LinkedList$size0]; goto Block1036; // @line: 532 Block1036: goto Block1037, Block1039; // @line: 532 Block1037: assume ($neint(($i0692), (0))==1); goto Block1038; // @line: 532 Block1039: // @line: 532 assume ($negInt(($neint(($i0692), (0))))==1); // @line: 533 __ret := $null; return; // @line: 534 Block1038: assert ($neref((r0691), ($null))==1); // @line: 534 call $r1693, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$removeLast$2634((r0691)); goto Block1042, Block1040; // @line: 534 Block1042: assume ($eqref(($caughtEx1), ($null))==1); goto Block1043; // @line: 534 Block1040: assume ($neref(($caughtEx1), ($null))==1); goto Block1041; // @line: 534 Block1043: goto Block1044; // @line: 534 Block1041: $Exep0 := $caughtEx1; return; // @line: 534 Block1044: // @line: 534 __ret := $r1693; return; } // @line: 421 // procedure void$javaUtilEx.AbstractList$ListItr$set$2547(__this : ref, $param_0 : ref) returns ($Exep1 : ref, $Exep0 : ref, $Exep2 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r8302 : ref; var $r5297 : ref; var $r6299 : ref; var $i0292 : int; var $i1294 : int; var $i2298 : int; var $r3295 : ref; var r0291 : ref; var r1293 : ref; var $r7300 : ref; //temp local variables var $freshlocal5 : ref; var $caughtEx3 : ref; var $caughtEx6 : ref; var $caughtEx4 : ref; // @line: 421 Block448: $caughtEx6 := $null; $caughtEx4 := $null; $caughtEx3 := $null; $Exep2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block449; Block449: r0291 := __this; r1293 := $param_0; assert ($neref((r0291), ($null))==1); // @line: 422 $i0292 := $HeapVar[r0291, int$javaUtilEx.AbstractList$Itr$lastRet0]; goto Block450; // @line: 422 Block450: goto Block451, Block453; // @line: 422 Block451: assume ($geint(($i0292), (0))==1); goto Block452; // @line: 422 Block453: // @line: 422 assume ($negInt(($geint(($i0292), (0))))==1); // @line: 423 $r6299 := $newvariable((454)); assume ($neref(($newvariable((454))), ($null))==1); assert ($neref(($r6299), ($null))==1); // @line: 423 call void$javaUtilEx.IllegalStateException$$la$init$ra$$2574(($r6299)); goto Block455; // @line: 424 Block452: assert ($neref((r0291), ($null))==1); // @line: 424 call $caughtEx3 := void$javaUtilEx.AbstractList$Itr$checkForComodification$2538((r0291)); goto Block458, Block456; // @line: 422 Block455: $Exep0 := $r6299; return; // @line: 424 Block458: assume ($eqref(($caughtEx3), ($null))==1); goto Block459; // @line: 424 Block456: assume ($neref(($caughtEx3), ($null))==1); goto Block457; // @line: 424 Block459: goto Block460; // @line: 424 Block457: $Exep1 := $caughtEx3; return; // @line: 427 Block460: assert ($neref((r0291), ($null))==1); // @line: 427 $r3295 := $HeapVar[r0291, javaUtilEx.AbstractList$javaUtilEx.AbstractList$ListItr$this$0296]; assert ($neref((r0291), ($null))==1); // @line: 427 $i1294 := $HeapVar[r0291, int$javaUtilEx.AbstractList$Itr$lastRet0]; assert ($neref(($r3295), ($null))==1); // @line: 427 call $freshlocal5, $caughtEx4 := java.lang.Object$javaUtilEx.AbstractList$set$2486(($r3295), ($i1294), (r1293)); goto Block461, Block463; // @line: 427 Block461: assume ($neref(($caughtEx4), ($null))==1); goto Block462; // @line: 427 Block463: assume ($eqref(($caughtEx4), ($null))==1); goto Block464; // @line: 427 Block462: $Exep2 := $caughtEx4; return; // @line: 427 Block464: assert ($neref((r0291), ($null))==1); // @line: 428 $r5297 := $HeapVar[r0291, javaUtilEx.AbstractList$javaUtilEx.AbstractList$ListItr$this$0296]; assert ($neref(($r5297), ($null))==1); // @line: 428 $i2298 := $HeapVar[$r5297, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0291), ($null))==1); // @line: 428 $HeapVar[r0291, int$javaUtilEx.AbstractList$Itr$expectedModCount0] := $i2298; goto Block465; // @line: 431 Block465: goto Block466; // @line: 432 Block466: return; } // @line: 193 // procedure boolean$javaUtilEx.LinkedList$contains$2637(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r1569 : ref; var r0568 : ref; var $i0570 : int; var $z0572 : int; Block803: r0568 := __this; r1569 := $param_0; assert ($neref((r0568), ($null))==1); // @line: 194 call $i0570 := int$javaUtilEx.LinkedList$indexOf$2647((r0568), (r1569)); goto Block804; // @line: 194 Block804: goto Block807, Block805; // @line: 194 Block807: // @line: 194 assume ($negInt(($eqint(($i0570), (-1))))==1); // @line: 194 $z0572 := 1; goto Block808; // @line: 194 Block805: assume ($eqint(($i0570), (-1))==1); goto Block806; // @line: 194 Block808: // @line: 194 __ret := $z0572; return; // @line: 194 Block806: // @line: 194 $z0572 := 0; goto Block808; } // @line: 202 // procedure int$javaUtilEx.AbstractList$lastIndexOf$2490(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r3136 : ref; var $z1137 : int; var $i1138 : int; var r2133 : ref; var r0130 : ref; var $r4140 : ref; var $i0131 : int; var $i2141 : int; var $z0135 : int; var $z2139 : int; var r1134 : ref; //temp local variables var $caughtEx1 : ref; // @line: 202 Block184: $caughtEx1 := $null; $Exep0 := $null; goto Block185; Block185: r0130 := __this; r1134 := $param_0; assert ($neref((r0130), ($null))==1); // @line: 203 call $i0131 := int$javaUtilEx.AbstractCollection$size$2230((r0130)); assert ($neref((r0130), ($null))==1); // @line: 203 call r2133, $caughtEx1 := javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2495((r0130), ($i0131)); goto Block188, Block186; Block188: assume ($eqref(($caughtEx1), ($null))==1); goto Block189; Block186: assume ($neref(($caughtEx1), ($null))==1); goto Block187; Block189: goto Block190; Block187: $Exep0 := $caughtEx1; return; // @line: 204 Block190: goto Block191, Block193; // @line: 204 Block191: assume ($neref((r1134), ($null))==1); goto Block192; // @line: 204 Block193: // @line: 204 assume ($negInt(($neref((r1134), ($null))))==1); goto Block194; // @line: 209 Block192: assert ($neref((r2133), ($null))==1); // @line: 209 call $z0135 := boolean$javaUtilEx.ListIterator$hasPrevious$2527((r2133)); goto Block202; // @line: 205 Block194: assert ($neref((r2133), ($null))==1); // @line: 205 call $z2139 := boolean$javaUtilEx.ListIterator$hasPrevious$2527((r2133)); goto Block195; // @line: 209 Block202: goto Block204, Block203; // @line: 205 Block195: goto Block198, Block196; // @line: 209 Block204: // @line: 209 assume ($negInt(($eqint(($z0135), (0))))==1); assert ($neref((r2133), ($null))==1); // @line: 210 call $r3136 := java.lang.Object$javaUtilEx.ListIterator$previous$2528((r2133)); assert ($neref((r1134), ($null))==1); // @line: 210 call $z1137 := boolean$java.lang.Object$equals$32((r1134), ($r3136)); goto Block205; // @line: 209 Block203: assume ($eqint(($z0135), (0))==1); goto Block197; // @line: 205 Block198: // @line: 205 assume ($negInt(($eqint(($z2139), (0))))==1); assert ($neref((r2133), ($null))==1); // @line: 206 call $r4140 := java.lang.Object$javaUtilEx.ListIterator$previous$2528((r2133)); goto Block199; // @line: 205 Block196: assume ($eqint(($z2139), (0))==1); goto Block197; // @line: 210 Block205: goto Block206, Block207; // @line: 213 Block197: // @line: 213 __ret := -1; return; // @line: 206 Block199: goto Block201, Block200; // @line: 210 Block206: assume ($eqint(($z1137), (0))==1); goto Block192; // @line: 210 Block207: // @line: 210 assume ($negInt(($eqint(($z1137), (0))))==1); assert ($neref((r2133), ($null))==1); // @line: 211 call $i1138 := int$javaUtilEx.ListIterator$nextIndex$2529((r2133)); // @line: 211 __ret := $i1138; return; // @line: 206 Block201: // @line: 206 assume ($negInt(($neref(($r4140), ($null))))==1); assert ($neref((r2133), ($null))==1); // @line: 207 call $i2141 := int$javaUtilEx.ListIterator$nextIndex$2529((r2133)); // @line: 207 __ret := $i2141; return; // @line: 206 Block200: assume ($neref(($r4140), ($null))==1); goto Block194; } // @line: 305 // procedure void$javaUtilEx.LinkedList$add$2644(__this : ref, $param_0 : int, $param_1 : ref) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r3621 : ref; var r0615 : ref; var i0617 : int; var r1616 : ref; var $i1618 : int; //temp local variables var $freshlocal2 : ref; var $caughtEx1 : ref; // @line: 305 Block866: $caughtEx1 := $null; $Exep0 := $null; goto Block867; Block867: r0615 := __this; i0617 := $param_0; r1616 := $param_1; assert ($neref((r0615), ($null))==1); // @line: 306 $i1618 := $HeapVar[r0615, int$javaUtilEx.LinkedList$size0]; goto Block868; // @line: 306 Block868: goto Block871, Block869; // @line: 306 Block871: // @line: 306 assume ($negInt(($neint((i0617), ($i1618))))==1); assert ($neref((r0615), ($null))==1); // @line: 307 $r3621 := $HeapVar[r0615, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block872; // @line: 306 Block869: assume ($neint((i0617), ($i1618))==1); goto Block870; // @line: 306 Block872: assert ($neref((r0615), ($null))==1); // @line: 306 call $freshlocal2 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$addBefore$2665((r0615), (r1616), ($r3621)); goto Block877; // @line: 306 Block870: assert ($neref((r0615), ($null))==1); // @line: 306 call $r3621, $caughtEx1 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$entry$2646((r0615), (i0617)); goto Block873, Block875; // @line: 307 Block877: return; // @line: 306 Block873: assume ($neref(($caughtEx1), ($null))==1); goto Block874; // @line: 306 Block875: assume ($eqref(($caughtEx1), ($null))==1); goto Block876; // @line: 306 Block874: $Exep0 := $caughtEx1; return; // @line: 306 Block876: goto Block872; } // @line: 655 // procedure java.lang.Object$javaUtilEx.LinkedList$ListItr$next$2679(__this : ref) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r6820 : ref; var $r7821 : ref; var $i2817 : int; var $i3818 : int; var $r2814 : ref; var $r5819 : ref; var $r1811 : ref; var $i1813 : int; var $r3815 : ref; var $i0812 : int; var $r4816 : ref; var r0810 : ref; //temp local variables var $caughtEx2 : ref; // @line: 655 Block1173: $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block1174; Block1174: r0810 := __this; assert ($neref((r0810), ($null))==1); // @line: 656 call $caughtEx2 := void$javaUtilEx.LinkedList$ListItr$checkForComodification$2687((r0810)); goto Block1177, Block1175; Block1177: assume ($eqref(($caughtEx2), ($null))==1); goto Block1178; Block1175: assume ($neref(($caughtEx2), ($null))==1); goto Block1176; Block1178: assert ($neref((r0810), ($null))==1); // @line: 657 $i0812 := $HeapVar[r0810, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; assert ($neref((r0810), ($null))==1); // @line: 657 $r1811 := $HeapVar[r0810, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; // @line: 657 call $i1813 := int$javaUtilEx.LinkedList$access$100$2670(($r1811)); goto Block1179; Block1176: $Exep0 := $caughtEx2; return; // @line: 657 Block1179: goto Block1180, Block1182; // @line: 657 Block1180: assume ($neint(($i0812), ($i1813))==1); goto Block1181; // @line: 657 Block1182: // @line: 657 assume ($negInt(($neint(($i0812), ($i1813))))==1); // @line: 658 $r7821 := $newvariable((1183)); assume ($neref(($newvariable((1183))), ($null))==1); assert ($neref(($r7821), ($null))==1); // @line: 658 call void$javaUtilEx.NoSuchElementException$$la$init$ra$$2572(($r7821)); goto Block1184; // @line: 660 Block1181: assert ($neref((r0810), ($null))==1); // @line: 660 $r2814 := $HeapVar[r0810, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304]; goto Block1185; // @line: 657 Block1184: $Exep1 := $r7821; return; // @line: 660 Block1185: assert ($neref((r0810), ($null))==1); // @line: 660 $HeapVar[r0810, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303] := $r2814; assert ($neref((r0810), ($null))==1); // @line: 661 $r3815 := $HeapVar[r0810, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304]; assert ($neref(($r3815), ($null))==1); // @line: 661 $r4816 := $HeapVar[$r3815, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref((r0810), ($null))==1); // @line: 661 $HeapVar[r0810, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304] := $r4816; assert ($neref((r0810), ($null))==1); // @line: 662 $i2817 := $HeapVar[r0810, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; // @line: 662 $i3818 := $addint(($i2817), (1)); assert ($neref((r0810), ($null))==1); // @line: 662 $HeapVar[r0810, int$javaUtilEx.LinkedList$ListItr$nextIndex0] := $i3818; assert ($neref((r0810), ($null))==1); // @line: 663 $r5819 := $HeapVar[r0810, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303]; assert ($neref(($r5819), ($null))==1); // @line: 663 $r6820 := $HeapVar[$r5819, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; // @line: 663 __ret := $r6820; return; } // procedure is generated by joogie. function {:inline true} $eqreal(x : realVar, y : realVar) returns (__ret : int) { if (x == y) then 1 else 0 } // @line: 131 // procedure java.lang.Object$javaUtilEx.AbstractList$set$2486(__this : ref, $param_0 : int, $param_1 : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r2108 : ref; var r0109 : ref; var i0110 : int; var r1111 : ref; //temp local variables // @line: 131 Block146: $Exep0 := $null; goto Block147; Block147: r0109 := __this; i0110 := $param_0; r1111 := $param_1; // @line: 132 $r2108 := $newvariable((148)); assume ($neref(($newvariable((148))), ($null))==1); assert ($neref(($r2108), ($null))==1); // @line: 132 call void$javaUtilEx.UnsupportedOperationException$$la$init$ra$$2257(($r2108)); goto Block149; Block149: $Exep0 := $r2108; return; } // @line: 756 // procedure void$javaUtilEx.SubList$rangeCheck$2561(__this : ref, $param_0 : int) returns ($Exep0 : ref) modifies $stringSize; requires ($neref((__this), ($null))==1); { var i0400 : int; var $r2403 : ref; var $r1401 : ref; var r0402 : ref; var $i1404 : int; //temp local variables // @line: 756 Block506: $Exep0 := $null; goto Block647; Block647: r0402 := __this; i0400 := $param_0; goto Block648; // @line: 757 Block648: goto Block651, Block649; // @line: 757 Block651: // @line: 757 assume ($negInt(($ltint((i0400), (0))))==1); assert ($neref((r0402), ($null))==1); // @line: 758 $i1404 := $HeapVar[r0402, int$javaUtilEx.SubList$size0]; goto Block652; // @line: 757 Block649: assume ($ltint((i0400), (0))==1); goto Block650; // @line: 758 Block652: goto Block653, Block655; // @line: 758 Block650: // @line: 758 $r1401 := $newvariable((656)); assume ($neref(($newvariable((656))), ($null))==1); assert ($neref((r0402), ($null))==1); // @line: 758 call $r2403 := java.lang.String$javaUtilEx.SubList$outOfBoundsMsg$2563((r0402), (i0400)); assert ($neref(($r1401), ($null))==1); // @line: 758 call void$java.lang.IndexOutOfBoundsException$$la$init$ra$$2076(($r1401), ($r2403)); goto Block657; // @line: 758 Block653: assume ($ltint((i0400), ($i1404))==1); goto Block654; // @line: 758 Block655: // @line: 758 assume ($negInt(($ltint((i0400), ($i1404))))==1); goto Block650; // @line: 758 Block657: $Exep0 := $r1401; return; // @line: 759 Block654: return; } // @line: 124 // procedure java.lang.Object$javaUtilEx.LinkedList$getFirst$2631(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r4544 : ref; var $r2542 : ref; var $r1541 : ref; var $i0540 : int; var $r3543 : ref; var r0539 : ref; //temp local variables // @line: 124 Block770: $Exep0 := $null; goto Block771; Block771: r0539 := __this; assert ($neref((r0539), ($null))==1); // @line: 125 $i0540 := $HeapVar[r0539, int$javaUtilEx.LinkedList$size0]; goto Block772; // @line: 125 Block772: goto Block773, Block775; // @line: 125 Block773: assume ($neint(($i0540), (0))==1); goto Block774; // @line: 125 Block775: // @line: 125 assume ($negInt(($neint(($i0540), (0))))==1); // @line: 126 $r4544 := $newvariable((776)); assume ($neref(($newvariable((776))), ($null))==1); assert ($neref(($r4544), ($null))==1); // @line: 126 call void$javaUtilEx.NoSuchElementException$$la$init$ra$$2572(($r4544)); goto Block777; // @line: 128 Block774: assert ($neref((r0539), ($null))==1); // @line: 128 $r1541 := $HeapVar[r0539, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block778; // @line: 125 Block777: $Exep0 := $r4544; return; // @line: 128 Block778: assert ($neref(($r1541), ($null))==1); // @line: 128 $r2542 := $HeapVar[$r1541, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref(($r2542), ($null))==1); // @line: 128 $r3543 := $HeapVar[$r2542, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; // @line: 128 __ret := $r3543; return; } // procedure is generated by joogie. function {:inline true} $divint($param00 : int, $param11 : int) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $leint(x : int, y : int) returns (__ret : int) { if (x <= y) then 1 else 0 } // @line: 693 // procedure javaUtilEx.Iterator$javaUtilEx.SubList$iterator$2558(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0391 : ref; var $r1392 : ref; //temp local variables var $caughtEx1 : ref; // @line: 693 Block614: $caughtEx1 := $null; $Exep0 := $null; goto Block615; Block615: r0391 := __this; assert ($neref((r0391), ($null))==1); // @line: 694 call $r1392, $caughtEx1 := javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2494((r0391)); goto Block618, Block616; Block618: assume ($eqref(($caughtEx1), ($null))==1); goto Block619; Block616: assume ($neref(($caughtEx1), ($null))==1); goto Block617; Block619: // @line: 694 __ret := $r1392; return; Block617: $Exep0 := $caughtEx1; return; } // @line: 54 // (java.lang.String)> procedure void$javaUtilEx.IllegalStateException$$la$init$ra$$2575(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r1437 : ref; var r0436 : ref; Block687: r0436 := __this; r1437 := $param_0; assert ($neref((r0436), ($null))==1); // @line: 55 call void$java.lang.RuntimeException$$la$init$ra$$761((r0436), (r1437)); return; } // procedure is generated by joogie. function {:inline true} $shrreal($param00 : realVar, $param11 : realVar) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $orint($param00 : int, $param11 : int) returns (__ret : int); // @line: 100 // ()> procedure void$javaUtilEx.LinkedList$$la$init$ra$$2629(__this : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r3534 : ref; var $r2533 : ref; var r0531 : ref; var $r4535 : ref; var $r1532 : ref; Block762: r0531 := __this; assert ($neref((r0531), ($null))==1); // @line: 101 call void$javaUtilEx.AbstractSequentialList$$la$init$ra$$2578((r0531)); // @line: 95 $r1532 := $newvariable((763)); assume ($neref(($newvariable((763))), ($null))==1); assert ($neref(($r1532), ($null))==1); // @line: 95 call void$javaUtilEx.LinkedList$Entry$$la$init$ra$$2676(($r1532), ($null), ($null), ($null)); assert ($neref((r0531), ($null))==1); // @line: 95 $HeapVar[r0531, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298] := $r1532; assert ($neref((r0531), ($null))==1); // @line: 96 $HeapVar[r0531, int$javaUtilEx.LinkedList$size0] := 0; assert ($neref((r0531), ($null))==1); // @line: 102 $r4535 := $HeapVar[r0531, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref((r0531), ($null))==1); // @line: 102 $r3534 := $HeapVar[r0531, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref((r0531), ($null))==1); // @line: 102 $r2533 := $HeapVar[r0531, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r3534), ($null))==1); // @line: 102 $HeapVar[$r3534, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302] := $r2533; assert ($neref(($r4535), ($null))==1); // @line: 102 $HeapVar[$r4535, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301] := $r2533; return; } // procedure is generated by joogie. function {:inline true} $reftorealarr($param00 : ref) returns (__ret : [int]realVar); // @line: 330 // (javaUtilEx.AbstractList)> procedure void$javaUtilEx.AbstractList$Itr$$la$init$ra$$2534(__this : ref, $param_0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $i0221 : int; var r0218 : ref; var $r2220 : ref; var r1219 : ref; Block347: r0218 := __this; r1219 := $param_0; assert ($neref((r0218), ($null))==1); // @line: 331 $HeapVar[r0218, javaUtilEx.AbstractList$javaUtilEx.AbstractList$Itr$this$0295] := r1219; assert ($neref((r0218), ($null))==1); // @line: 331 call void$java.lang.Object$$la$init$ra$$28((r0218)); assert ($neref((r0218), ($null))==1); // @line: 335 $HeapVar[r0218, int$javaUtilEx.AbstractList$Itr$cursor0] := 0; assert ($neref((r0218), ($null))==1); // @line: 342 $HeapVar[r0218, int$javaUtilEx.AbstractList$Itr$lastRet0] := -1; assert ($neref((r0218), ($null))==1); // @line: 349 $r2220 := $HeapVar[r0218, javaUtilEx.AbstractList$javaUtilEx.AbstractList$Itr$this$0295]; assert ($neref(($r2220), ($null))==1); // @line: 349 $i0221 := $HeapVar[$r2220, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0218), ($null))==1); // @line: 349 $HeapVar[r0218, int$javaUtilEx.AbstractList$Itr$expectedModCount0] := $i0221; return; } // procedure is generated by joogie. function {:inline true} $orreal($param00 : realVar, $param11 : realVar) returns (__ret : int); // @line: 476 // procedure boolean$javaUtilEx.LinkedList$offerLast$2655(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0680 : ref; var r1681 : ref; Block1000: r0680 := __this; r1681 := $param_0; assert ($neref((r0680), ($null))==1); // @line: 477 call void$javaUtilEx.LinkedList$addLast$2636((r0680), (r1681)); // @line: 478 __ret := 1; return; } // procedure is generated by joogie. function {:inline true} $ushrref($param00 : ref, $param11 : ref) returns (__ret : int); // @line: 417 // procedure int$javaUtilEx.AbstractList$ListItr$previousIndex$2546(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0288 : ref; var $i1290 : int; var $i0289 : int; Block447: r0288 := __this; assert ($neref((r0288), ($null))==1); // @line: 418 $i0289 := $HeapVar[r0288, int$javaUtilEx.AbstractList$Itr$cursor0]; // @line: 418 $i1290 := $subint(($i0289), (1)); // @line: 418 __ret := $i1290; return; } // procedure is generated by joogie. function {:inline true} $modref($param00 : ref, $param11 : ref) returns (__ret : ref); // @line: 72 // (java.lang.String,java.lang.Throwable)> procedure void$javaUtilEx.IllegalArgumentException$$la$init$ra$$2624(__this : ref, $param_0 : ref, $param_1 : ref) requires ($neref((__this), ($null))==1); { var r2513 : ref; var r1512 : ref; var r0511 : ref; Block751: r0511 := __this; r1512 := $param_0; r2513 := $param_1; assert ($neref((r0511), ($null))==1); // @line: 73 call void$java.lang.RuntimeException$$la$init$ra$$762((r0511), (r1512), (r2513)); return; } // procedure boolean$java.lang.Object$equals$32(__this : ref, $param_0 : ref) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $nereal(x : realVar, y : realVar) returns (__ret : int) { if (x != y) then 1 else 0 } // (java.lang.String)> procedure void$java.lang.RuntimeException$$la$init$ra$$761(__this : ref, $param_0 : ref); // procedure is generated by joogie. function {:inline true} $orref($param00 : ref, $param11 : ref) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $shlreal($param00 : realVar, $param11 : realVar) returns (__ret : int); // @line: 616 // procedure int$javaUtilEx.SubList$access$210$2568($param_0 : ref) returns (__ret : int) modifies $HeapVar; { var $i0424 : int; var r0423 : ref; var $i1425 : int; Block680: r0423 := $param_0; assert ($neref((r0423), ($null))==1); // @line: 617 $i0424 := $HeapVar[r0423, int$javaUtilEx.SubList$size0]; // @line: 617 $i1425 := $subint(($i0424), (1)); assert ($neref((r0423), ($null))==1); // @line: 617 $HeapVar[r0423, int$javaUtilEx.SubList$size0] := $i1425; // @line: 617 __ret := $i0424; return; } // @line: 298 // procedure void$javaUtilEx.AbstractCollection$clear$2239(__this : ref) requires ($neref((__this), ($null))==1); { var r061 : ref; var $z064 : int; var r163 : ref; //temp local variables var $freshlocal0 : ref; Block106: r061 := __this; assert ($neref((r061), ($null))==1); // @line: 299 call r163 := javaUtilEx.Iterator$javaUtilEx.AbstractCollection$iterator$2229((r061)); goto Block107; // @line: 300 Block107: assert ($neref((r163), ($null))==1); // @line: 300 call $z064 := boolean$javaUtilEx.Iterator$hasNext$2254((r163)); goto Block108; // @line: 300 Block108: goto Block111, Block109; // @line: 300 Block111: // @line: 300 assume ($negInt(($eqint(($z064), (0))))==1); assert ($neref((r163), ($null))==1); // @line: 301 call $freshlocal0 := java.lang.Object$javaUtilEx.Iterator$next$2255((r163)); assert ($neref((r163), ($null))==1); // @line: 302 call void$javaUtilEx.Iterator$remove$2256((r163)); goto Block107; // @line: 300 Block109: assume ($eqint(($z064), (0))==1); goto Block110; // @line: 304 Block110: return; } // @line: 616 // procedure javaUtilEx.AbstractList$javaUtilEx.SubList$access$100$2566($param_0 : ref) returns (__ret : ref) { var $r1420 : ref; var r0419 : ref; Block678: r0419 := $param_0; assert ($neref((r0419), ($null))==1); // @line: 617 $r1420 := $HeapVar[r0419, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; // @line: 617 __ret := $r1420; return; } // procedure int$javaUtilEx.ListIterator$previousIndex$2530(__this : ref) returns (__ret : int); // @line: 641 // procedure java.lang.Object$javaUtilEx.SubList$get$2551(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref) requires ($neref((__this), ($null))==1); { var $i2335 : int; var r0332 : ref; var i0333 : int; var $r1336 : ref; var $r2337 : ref; var $i1334 : int; //temp local variables var $caughtEx2 : ref; var $caughtEx3 : ref; // @line: 641 Block522: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block523; Block523: r0332 := __this; i0333 := $param_0; assert ($neref((r0332), ($null))==1); // @line: 642 call $caughtEx2 := void$javaUtilEx.SubList$rangeCheck$2561((r0332), (i0333)); goto Block526, Block524; Block526: assume ($eqref(($caughtEx2), ($null))==1); goto Block527; Block524: assume ($neref(($caughtEx2), ($null))==1); goto Block525; Block527: assert ($neref((r0332), ($null))==1); // @line: 643 call $caughtEx3 := void$javaUtilEx.SubList$checkForComodification$2564((r0332)); goto Block530, Block528; Block525: $Exep0 := $caughtEx2; return; Block530: assume ($eqref(($caughtEx3), ($null))==1); goto Block531; Block528: assume ($neref(($caughtEx3), ($null))==1); goto Block529; Block531: assert ($neref((r0332), ($null))==1); // @line: 644 $r1336 := $HeapVar[r0332, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref((r0332), ($null))==1); // @line: 644 $i1334 := $HeapVar[r0332, int$javaUtilEx.SubList$offset0]; // @line: 644 $i2335 := $addint((i0333), ($i1334)); assert ($neref(($r1336), ($null))==1); // @line: 644 call $r2337 := java.lang.Object$javaUtilEx.AbstractList$get$2485(($r1336), ($i2335)); // @line: 644 __ret := $r2337; return; Block529: $Exep1 := $caughtEx3; return; } // @line: 776 // procedure void$javaUtilEx.LinkedList$DescendingIterator$remove$2691(__this : ref) returns ($Exep0 : ref, $Exep1 : ref) requires ($neref((__this), ($null))==1); { var $r1893 : ref; var r0892 : ref; //temp local variables var $caughtEx3 : ref; var $caughtEx2 : ref; // @line: 776 Block1273: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block1274; Block1274: r0892 := __this; assert ($neref((r0892), ($null))==1); // @line: 777 $r1893 := $HeapVar[r0892, javaUtilEx.LinkedList$ListItr$javaUtilEx.LinkedList$DescendingIterator$itr306]; assert ($neref(($r1893), ($null))==1); // @line: 777 call $caughtEx2, $caughtEx3 := void$javaUtilEx.LinkedList$ListItr$remove$2684(($r1893)); goto Block1275, Block1277; Block1275: assume ($neref(($caughtEx2), ($null))==1); goto Block1276; Block1277: assume ($eqref(($caughtEx2), ($null))==1); goto Block1278; Block1276: $Exep0 := $caughtEx2; return; Block1278: goto Block1281, Block1279; Block1281: assume ($eqref(($caughtEx3), ($null))==1); goto Block1282; Block1279: assume ($neref(($caughtEx3), ($null))==1); goto Block1280; Block1282: return; Block1280: $Exep1 := $caughtEx3; return; } // @line: 763 // procedure javaUtilEx.Iterator$javaUtilEx.LinkedList$descendingIterator$2667(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0745 : ref; var $r1744 : ref; //temp local variables var $caughtEx1 : ref; // @line: 763 Block1113: $caughtEx1 := $null; $Exep0 := $null; goto Block1114; Block1114: r0745 := __this; // @line: 764 $r1744 := $newvariable((1115)); assume ($neref(($newvariable((1115))), ($null))==1); assert ($neref(($r1744), ($null))==1); // @line: 764 call $caughtEx1 := void$javaUtilEx.LinkedList$DescendingIterator$$la$init$ra$$2692(($r1744), (r0745), ($null)); goto Block1116, Block1118; Block1116: assume ($neref(($caughtEx1), ($null))==1); goto Block1117; Block1118: assume ($eqref(($caughtEx1), ($null))==1); goto Block1119; Block1117: $Exep0 := $caughtEx1; return; Block1119: // @line: 764 __ret := $r1744; return; } // @line: 126 // procedure boolean$javaUtilEx.AbstractCollection$add$2233(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r117 : ref; var r016 : ref; var $r215 : ref; //temp local variables // @line: 126 Block42: $Exep0 := $null; goto Block43; Block43: r016 := __this; r117 := $param_0; // @line: 127 $r215 := $newvariable((44)); assume ($neref(($newvariable((44))), ($null))==1); assert ($neref(($r215), ($null))==1); // @line: 127 call void$javaUtilEx.UnsupportedOperationException$$la$init$ra$$2257(($r215)); goto Block45; Block45: $Exep0 := $r215; return; } // @line: 781 // procedure javaUtilEx.List$javaUtilEx.RandomAccessSubList$subList$2541(__this : ref, $param_0 : int, $param_1 : int) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref) requires ($neref((__this), ($null))==1); { var r0266 : ref; var $r1265 : ref; var i0267 : int; var i1268 : int; //temp local variables var $caughtEx3 : ref; var $caughtEx2 : ref; // @line: 781 Block413: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block414; Block414: r0266 := __this; i0267 := $param_0; i1268 := $param_1; // @line: 782 $r1265 := $newvariable((415)); assume ($neref(($newvariable((415))), ($null))==1); assert ($neref(($r1265), ($null))==1); // @line: 782 call $caughtEx2, $caughtEx3 := void$javaUtilEx.RandomAccessSubList$$la$init$ra$$2540(($r1265), (r0266), (i0267), (i1268)); goto Block416, Block418; Block416: assume ($neref(($caughtEx2), ($null))==1); goto Block417; Block418: assume ($eqref(($caughtEx2), ($null))==1); goto Block419; Block417: $Exep0 := $caughtEx2; return; Block419: goto Block422, Block420; Block422: assume ($eqref(($caughtEx3), ($null))==1); goto Block423; Block420: assume ($neref(($caughtEx3), ($null))==1); goto Block421; Block423: // @line: 782 __ret := $r1265; return; Block421: $Exep1 := $caughtEx3; return; } // @line: 708 // procedure java.lang.Object$javaUtilEx.SubList$1$next$2695(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r3917 : ref; var $r2916 : ref; var $r1915 : ref; var r0913 : ref; var $z0914 : int; //temp local variables // @line: 708 Block1299: $Exep0 := $null; goto Block1300; Block1300: r0913 := __this; assert ($neref((r0913), ($null))==1); // @line: 709 call $z0914 := boolean$javaUtilEx.SubList$1$hasNext$2694((r0913)); goto Block1301; // @line: 709 Block1301: goto Block1302, Block1304; // @line: 709 Block1302: assume ($eqint(($z0914), (0))==1); goto Block1303; // @line: 709 Block1304: // @line: 709 assume ($negInt(($eqint(($z0914), (0))))==1); assert ($neref((r0913), ($null))==1); // @line: 710 $r2916 := $HeapVar[r0913, javaUtilEx.ListIterator$javaUtilEx.SubList$1$i308]; assert ($neref(($r2916), ($null))==1); // @line: 710 call $r3917 := java.lang.Object$javaUtilEx.ListIterator$next$2526(($r2916)); // @line: 710 __ret := $r3917; return; // @line: 712 Block1303: // @line: 712 $r1915 := $newvariable((1305)); assume ($neref(($newvariable((1305))), ($null))==1); goto Block1306; // @line: 712 Block1306: assert ($neref(($r1915), ($null))==1); // @line: 712 call void$javaUtilEx.NoSuchElementException$$la$init$ra$$2572(($r1915)); goto Block1307; // @line: 712 Block1307: $Exep0 := $r1915; return; } // procedure is generated by joogie. function {:inline true} $andreal($param00 : realVar, $param11 : realVar) returns (__ret : int); // @line: 83 // (java.lang.String)> procedure void$javaUtilEx.ConcurrentModificationException$$la$init$ra$$2571(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r1431 : ref; var r0430 : ref; Block683: r0430 := __this; r1431 := $param_0; assert ($neref((r0430), ($null))==1); // @line: 84 call void$java.lang.RuntimeException$$la$init$ra$$761((r0430), (r1431)); return; } // @line: 676 // procedure boolean$javaUtilEx.SubList$addAll$2556(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref, $Exep1 : ref, $Exep2 : ref) requires ($neref((__this), ($null))==1); { var r0374 : ref; var r1375 : ref; var $i0376 : int; var $z0377 : int; //temp local variables var $caughtEx3 : ref; var $caughtEx5 : ref; var $caughtEx4 : ref; // @line: 676 Block578: $caughtEx5 := $null; $caughtEx4 := $null; $caughtEx3 := $null; $Exep2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block579; Block579: r0374 := __this; r1375 := $param_0; assert ($neref((r0374), ($null))==1); // @line: 677 $i0376 := $HeapVar[r0374, int$javaUtilEx.SubList$size0]; assert ($neref((r0374), ($null))==1); // @line: 677 call $z0377, $caughtEx3, $caughtEx4, $caughtEx5 := boolean$javaUtilEx.SubList$addAll$2557((r0374), ($i0376), (r1375)); goto Block580, Block582; Block580: assume ($neref(($caughtEx3), ($null))==1); goto Block581; Block582: assume ($eqref(($caughtEx3), ($null))==1); goto Block583; Block581: $Exep0 := $caughtEx3; return; Block583: goto Block584, Block586; Block584: assume ($neref(($caughtEx4), ($null))==1); goto Block585; Block586: assume ($eqref(($caughtEx4), ($null))==1); goto Block587; Block585: $Exep1 := $caughtEx4; return; Block587: goto Block588, Block590; Block588: assume ($neref(($caughtEx5), ($null))==1); goto Block589; Block590: assume ($eqref(($caughtEx5), ($null))==1); goto Block591; Block589: $Exep2 := $caughtEx5; return; Block591: // @line: 677 __ret := $z0377; return; } // procedure void$javaUtilEx.ListIterator$add$2533(__this : ref, $param_0 : ref); // @line: 704 // procedure boolean$javaUtilEx.SubList$1$hasNext$2694(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $i0908 : int; var r0907 : ref; var $z0912 : int; var $r1909 : ref; var $i1910 : int; Block1293: r0907 := __this; assert ($neref((r0907), ($null))==1); // @line: 705 call $i0908 := int$javaUtilEx.SubList$1$nextIndex$2698((r0907)); assert ($neref((r0907), ($null))==1); // @line: 705 $r1909 := $HeapVar[r0907, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; // @line: 705 call $i1910 := int$javaUtilEx.SubList$access$200$2567(($r1909)); goto Block1294; // @line: 705 Block1294: goto Block1295, Block1297; // @line: 705 Block1295: assume ($geint(($i0908), ($i1910))==1); goto Block1296; // @line: 705 Block1297: // @line: 705 assume ($negInt(($geint(($i0908), ($i1910))))==1); // @line: 705 $z0912 := 1; goto Block1298; // @line: 705 Block1296: // @line: 705 $z0912 := 0; goto Block1298; // @line: 705 Block1298: // @line: 705 __ret := $z0912; return; } // (java.lang.String,java.lang.Throwable)> procedure void$java.lang.RuntimeException$$la$init$ra$$762(__this : ref, $param_0 : ref, $param_1 : ref); // procedure is generated by joogie. function {:inline true} $addint(x : int, y : int) returns (__ret : int) { (x + y) } // procedure is generated by joogie. function {:inline true} $subref($param00 : ref, $param11 : ref) returns (__ret : ref); // @line: 75 // ()> procedure void$javaUtilEx.AbstractList$$la$init$ra$$2483(__this : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var r0104 : ref; Block138: r0104 := __this; assert ($neref((r0104), ($null))==1); // @line: 76 call void$javaUtilEx.AbstractCollection$$la$init$ra$$2228((r0104)); assert ($neref((r0104), ($null))==1); // @line: 605 $HeapVar[r0104, int$javaUtilEx.AbstractList$modCount0] := 0; return; } // @line: 688 // procedure void$javaUtilEx.LinkedList$ListItr$remove$2684(__this : ref) returns ($Exep0 : ref, $Exep1 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var r1842 : ref; var $i0848 : int; var $r9850 : ref; var $i3853 : int; var $r4843 : ref; var $r12856 : ref; var $r10851 : ref; var $r11854 : ref; var $i1849 : int; var $r8847 : ref; var $r3841 : ref; var $i2852 : int; var $r5844 : ref; var $r7846 : ref; var r0840 : ref; //temp local variables var $caughtEx2 : ref; var $freshlocal4 : ref; var $caughtEx3 : ref; var $caughtEx5 : ref; // @line: 688 Block1207: $caughtEx5 := $null; $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block1208; Block1208: r0840 := __this; assert ($neref((r0840), ($null))==1); // @line: 689 call $caughtEx2 := void$javaUtilEx.LinkedList$ListItr$checkForComodification$2687((r0840)); goto Block1209, Block1211; Block1209: assume ($neref(($caughtEx2), ($null))==1); goto Block1210; Block1211: assume ($eqref(($caughtEx2), ($null))==1); goto Block1212; Block1210: $Exep0 := $caughtEx2; return; Block1212: assert ($neref((r0840), ($null))==1); // @line: 690 $r3841 := $HeapVar[r0840, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303]; assert ($neref(($r3841), ($null))==1); // @line: 690 r1842 := $HeapVar[$r3841, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block1213; // @line: 692 Block1213: assert ($neref((r0840), ($null))==1); // @line: 692 $r5844 := $HeapVar[r0840, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; assert ($neref((r0840), ($null))==1); // @line: 692 $r4843 := $HeapVar[r0840, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303]; // @line: 692 call $freshlocal4, $caughtEx3 := java.lang.Object$javaUtilEx.LinkedList$access$200$2671(($r5844), ($r4843)); goto Block1216, Block1214; // @line: 692 Block1216: assume ($eqref(($caughtEx3), ($null))==1); goto Block1217; // @line: 692 Block1214: assume ($neref(($caughtEx3), ($null))==1); $caughtEx5 := $caughtEx3; goto Block1215; // @line: 692 Block1217: goto Block1218; // @line: 702 Block1215: // @line: 702 $r11854 := $caughtEx5; goto Block1220; // @line: 695 Block1218: goto Block1219; // @line: 694 Block1220: // @line: 694 $r12856 := $newvariable((1221)); assume ($neref(($newvariable((1221))), ($null))==1); assert ($neref(($r12856), ($null))==1); // @line: 694 call void$javaUtilEx.IllegalStateException$$la$init$ra$$2574(($r12856)); goto Block1222; // @line: 696 Block1219: assert ($neref((r0840), ($null))==1); // @line: 696 $r8847 := $HeapVar[r0840, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304]; goto Block1223; // @line: 694 Block1222: $Exep1 := $r12856; return; // @line: 696 Block1223: assert ($neref((r0840), ($null))==1); // @line: 696 $r7846 := $HeapVar[r0840, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303]; goto Block1224; // @line: 696 Block1224: goto Block1225, Block1227; // @line: 696 Block1225: assume ($neref(($r8847), ($r7846))==1); goto Block1226; // @line: 696 Block1227: // @line: 696 assume ($negInt(($neref(($r8847), ($r7846))))==1); assert ($neref((r0840), ($null))==1); // @line: 697 $HeapVar[r0840, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304] := r1842; goto Block1228; // @line: 699 Block1226: assert ($neref((r0840), ($null))==1); // @line: 699 $i0848 := $HeapVar[r0840, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; goto Block1229; // @line: 700 Block1228: assert ($neref((r0840), ($null))==1); // @line: 700 $r9850 := $HeapVar[r0840, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; // @line: 700 call $r10851 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$access$000$2669(($r9850)); assert ($neref((r0840), ($null))==1); // @line: 700 $HeapVar[r0840, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303] := $r10851; assert ($neref((r0840), ($null))==1); // @line: 701 $i2852 := $HeapVar[r0840, int$javaUtilEx.LinkedList$ListItr$expectedModCount0]; // @line: 701 $i3853 := $addint(($i2852), (1)); assert ($neref((r0840), ($null))==1); // @line: 701 $HeapVar[r0840, int$javaUtilEx.LinkedList$ListItr$expectedModCount0] := $i3853; return; // @line: 699 Block1229: // @line: 699 $i1849 := $subint(($i0848), (1)); assert ($neref((r0840), ($null))==1); // @line: 699 $HeapVar[r0840, int$javaUtilEx.LinkedList$ListItr$nextIndex0] := $i1849; goto Block1228; } // @line: 98 // procedure boolean$javaUtilEx.AbstractCollection$contains$2232(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r28 : ref; var $r414 : ref; var r19 : ref; var r06 : ref; var $z112 : int; var $z010 : int; var $z213 : int; var $r311 : ref; Block23: r06 := __this; r19 := $param_0; assert ($neref((r06), ($null))==1); // @line: 99 call r28 := javaUtilEx.Iterator$javaUtilEx.AbstractCollection$iterator$2229((r06)); goto Block24; // @line: 100 Block24: goto Block25, Block27; // @line: 100 Block25: assume ($neref((r19), ($null))==1); goto Block26; // @line: 100 Block27: // @line: 100 assume ($negInt(($neref((r19), ($null))))==1); goto Block28; // @line: 105 Block26: assert ($neref((r28), ($null))==1); // @line: 105 call $z010 := boolean$javaUtilEx.Iterator$hasNext$2254((r28)); goto Block36; // @line: 101 Block28: assert ($neref((r28), ($null))==1); // @line: 101 call $z213 := boolean$javaUtilEx.Iterator$hasNext$2254((r28)); goto Block29; // @line: 105 Block36: goto Block38, Block37; // @line: 101 Block29: goto Block32, Block30; // @line: 105 Block38: // @line: 105 assume ($negInt(($eqint(($z010), (0))))==1); assert ($neref((r28), ($null))==1); // @line: 106 call $r311 := java.lang.Object$javaUtilEx.Iterator$next$2255((r28)); assert ($neref((r19), ($null))==1); // @line: 106 call $z112 := boolean$java.lang.Object$equals$32((r19), ($r311)); goto Block39; // @line: 105 Block37: assume ($eqint(($z010), (0))==1); goto Block31; // @line: 101 Block32: // @line: 101 assume ($negInt(($eqint(($z213), (0))))==1); assert ($neref((r28), ($null))==1); // @line: 102 call $r414 := java.lang.Object$javaUtilEx.Iterator$next$2255((r28)); goto Block33; // @line: 101 Block30: assume ($eqint(($z213), (0))==1); goto Block31; // @line: 106 Block39: goto Block40, Block41; // @line: 109 Block31: // @line: 109 __ret := 0; return; // @line: 102 Block33: goto Block34, Block35; // @line: 106 Block40: assume ($eqint(($z112), (0))==1); goto Block26; // @line: 106 Block41: // @line: 106 assume ($negInt(($eqint(($z112), (0))))==1); // @line: 107 __ret := 1; return; // @line: 102 Block34: assume ($neref(($r414), ($null))==1); goto Block28; // @line: 102 Block35: // @line: 102 assume ($negInt(($neref(($r414), ($null))))==1); // @line: 103 __ret := 1; return; } // @line: 43 // ()> procedure void$javaUtilEx.IllegalStateException$$la$init$ra$$2574(__this : ref) requires ($neref((__this), ($null))==1); { var r0435 : ref; Block686: r0435 := __this; assert ($neref((r0435), ($null))==1); // @line: 44 call void$java.lang.RuntimeException$$la$init$ra$$760((r0435)); return; } // procedure void$javaUtilEx.Iterator$remove$2256(__this : ref); // @line: 396 // procedure boolean$javaUtilEx.AbstractList$ListItr$hasPrevious$2543(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $z0275 : int; var r0272 : ref; var $i0273 : int; Block425: r0272 := __this; assert ($neref((r0272), ($null))==1); // @line: 397 $i0273 := $HeapVar[r0272, int$javaUtilEx.AbstractList$Itr$cursor0]; goto Block426; // @line: 397 Block426: goto Block429, Block427; // @line: 397 Block429: // @line: 397 assume ($negInt(($eqint(($i0273), (0))))==1); // @line: 397 $z0275 := 1; goto Block430; // @line: 397 Block427: assume ($eqint(($i0273), (0))==1); goto Block428; // @line: 397 Block430: // @line: 397 __ret := $z0275; return; // @line: 397 Block428: // @line: 397 $z0275 := 0; goto Block430; } // @line: 89 // (java.lang.Throwable)> procedure void$javaUtilEx.UnsupportedOperationException$$la$init$ra$$2260(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r1103 : ref; var r0102 : ref; Block137: r0102 := __this; r1103 := $param_0; assert ($neref((r0102), ($null))==1); // @line: 90 call void$java.lang.RuntimeException$$la$init$ra$$763((r0102), (r1103)); return; } // procedure is generated by joogie. function {:inline true} $divref($param00 : ref, $param11 : ref) returns (__ret : ref); // @line: 330 // (javaUtilEx.AbstractList,javaUtilEx.AbstractList$1)> procedure void$javaUtilEx.AbstractList$Itr$$la$init$ra$$2539(__this : ref, $param_0 : ref, $param_1 : ref) requires ($neref((__this), ($null))==1); { var r1259 : ref; var r2260 : ref; var r0258 : ref; Block403: r0258 := __this; r1259 := $param_0; r2260 := $param_1; assert ($neref((r0258), ($null))==1); // @line: 331 call void$javaUtilEx.AbstractList$Itr$$la$init$ra$$2534((r0258), (r1259)); return; } // @line: 711 // procedure void$javaUtilEx.LinkedList$ListItr$add$2686(__this : ref, $param_0 : ref) returns ($Exep0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r2865 : ref; var r1867 : ref; var $r4868 : ref; var $i0871 : int; var $i1872 : int; var $r3866 : ref; var $i2873 : int; var r0864 : ref; var $i3874 : int; var $r5869 : ref; //temp local variables var $caughtEx1 : ref; var $freshlocal2 : ref; // @line: 711 Block1243: $caughtEx1 := $null; $Exep0 := $null; goto Block1244; Block1244: r0864 := __this; r1867 := $param_0; assert ($neref((r0864), ($null))==1); // @line: 712 call $caughtEx1 := void$javaUtilEx.LinkedList$ListItr$checkForComodification$2687((r0864)); goto Block1247, Block1245; Block1247: assume ($eqref(($caughtEx1), ($null))==1); goto Block1248; Block1245: assume ($neref(($caughtEx1), ($null))==1); goto Block1246; Block1248: assert ($neref((r0864), ($null))==1); // @line: 713 $r2865 := $HeapVar[r0864, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; // @line: 713 call $r3866 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$access$000$2669(($r2865)); assert ($neref((r0864), ($null))==1); // @line: 713 $HeapVar[r0864, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303] := $r3866; assert ($neref((r0864), ($null))==1); // @line: 714 $r5869 := $HeapVar[r0864, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; assert ($neref((r0864), ($null))==1); // @line: 714 $r4868 := $HeapVar[r0864, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304]; // @line: 714 call $freshlocal2 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$access$300$2672(($r5869), (r1867), ($r4868)); assert ($neref((r0864), ($null))==1); // @line: 715 $i0871 := $HeapVar[r0864, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; // @line: 715 $i1872 := $addint(($i0871), (1)); assert ($neref((r0864), ($null))==1); // @line: 715 $HeapVar[r0864, int$javaUtilEx.LinkedList$ListItr$nextIndex0] := $i1872; assert ($neref((r0864), ($null))==1); // @line: 716 $i2873 := $HeapVar[r0864, int$javaUtilEx.LinkedList$ListItr$expectedModCount0]; // @line: 716 $i3874 := $addint(($i2873), (1)); assert ($neref((r0864), ($null))==1); // @line: 716 $HeapVar[r0864, int$javaUtilEx.LinkedList$ListItr$expectedModCount0] := $i3874; return; Block1246: $Exep0 := $caughtEx1; return; } // procedure is generated by joogie. function {:inline true} $neint(x : int, y : int) returns (__ret : int) { if (x != y) then 1 else 0 } // @line: 730 // procedure int$javaUtilEx.SubList$1$previousIndex$2699(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0933 : ref; var $r2936 : ref; var $i2938 : int; var $i1937 : int; var $r1934 : ref; var $i0935 : int; Block1324: r0933 := __this; assert ($neref((r0933), ($null))==1); // @line: 731 $r1934 := $HeapVar[r0933, javaUtilEx.ListIterator$javaUtilEx.SubList$1$i308]; assert ($neref(($r1934), ($null))==1); // @line: 731 call $i0935 := int$javaUtilEx.ListIterator$previousIndex$2530(($r1934)); assert ($neref((r0933), ($null))==1); // @line: 731 $r2936 := $HeapVar[r0933, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; // @line: 731 call $i1937 := int$javaUtilEx.SubList$access$000$2565(($r2936)); // @line: 731 $i2938 := $subint(($i0935), ($i1937)); // @line: 731 __ret := $i2938; return; } // @line: 29 // procedure int$javaUtilEx.Content$hashCode$2587(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0497 : ref; var $i0498 : int; var $i1499 : int; Block738: r0497 := __this; assert ($neref((r0497), ($null))==1); // @line: 30 $i0498 := $HeapVar[r0497, int$javaUtilEx.Content$val0]; // @line: 30 $i1499 := $xorint(($i0498), (31)); // @line: 30 __ret := $i1499; return; } // @line: 319 // procedure java.lang.String$javaUtilEx.AbstractCollection$toString$2240(__this : ref) returns (__ret : ref) modifies $stringSize; requires ($neref((__this), ($null))==1); { var r168 : ref; var $r472 : ref; var $r573 : ref; var $r371 : ref; var r1692 : ref; var $r1184 : ref; var r066 : ref; var $z069 : int; var $r1387 : ref; var $r778 : ref; var $r982 : ref; var $r1793 : ref; var $r1286 : ref; var $r677 : ref; var r1995 : ref; var r1591 : ref; var $z181 : int; var r1894 : ref; var $r879 : ref; var $r1488 : ref; var r276 : ref; var $r1083 : ref; Block112: r066 := __this; assert ($neref((r066), ($null))==1); // @line: 320 call r168 := javaUtilEx.Iterator$javaUtilEx.AbstractCollection$iterator$2229((r066)); assert ($neref((r168), ($null))==1); // @line: 321 call $z069 := boolean$javaUtilEx.Iterator$hasNext$2254((r168)); goto Block113; // @line: 321 Block113: goto Block116, Block114; // @line: 321 Block116: // @line: 321 assume ($negInt(($neint(($z069), (0))))==1); $stringSize[$fresh1] := 2; // @line: 322 __ret := $fresh1; return; // @line: 321 Block114: assume ($neint(($z069), (0))==1); goto Block115; // @line: 324 Block115: $stringSize[$fresh2] := 0; // @line: 324 r1591 := $fresh2; goto Block117; // @line: 325 Block117: // @line: 325 $r371 := $newvariable((118)); assume ($neref(($newvariable((118))), ($null))==1); assert ($neref(($r371), ($null))==1); // @line: 325 call void$java.lang.StringBuilder$$la$init$ra$$2261(($r371)); assert ($neref(($r371), ($null))==1); // @line: 325 call $r472 := java.lang.StringBuilder$java.lang.StringBuilder$append$2266(($r371), (r1591)); $stringSize[$fresh3] := 1; assert ($neref(($r472), ($null))==1); // @line: 325 call $r573 := java.lang.StringBuilder$java.lang.StringBuilder$append$2266(($r472), ($fresh3)); assert ($neref(($r573), ($null))==1); // @line: 325 call r1692 := java.lang.String$java.lang.StringBuilder$toString$2299(($r573)); goto Block119; // @line: 327 Block119: assert ($neref((r168), ($null))==1); // @line: 327 call r276 := java.lang.Object$javaUtilEx.Iterator$next$2255((r168)); // @line: 328 $r677 := $newvariable((120)); assume ($neref(($newvariable((120))), ($null))==1); assert ($neref(($r677), ($null))==1); // @line: 328 call void$java.lang.StringBuilder$$la$init$ra$$2261(($r677)); assert ($neref(($r677), ($null))==1); // @line: 328 call $r778 := java.lang.StringBuilder$java.lang.StringBuilder$append$2266(($r677), (r1692)); goto Block121; // @line: 328 Block121: goto Block122, Block124; // @line: 328 Block122: assume ($neref((r276), (r066))==1); goto Block123; // @line: 328 Block124: // @line: 328 assume ($negInt(($neref((r276), (r066))))==1); $stringSize[$fresh4] := 17; // @line: 331 $r1793 := $fresh4; goto Block125; // @line: 331 Block123: // @line: 331 $r1793 := r276; goto Block125; // @line: 328 Block125: assert ($neref(($r778), ($null))==1); // @line: 328 call $r879 := java.lang.StringBuilder$java.lang.StringBuilder$append$2265(($r778), ($r1793)); goto Block126; // @line: 328 Block126: assert ($neref(($r879), ($null))==1); // @line: 328 call r1894 := java.lang.String$java.lang.StringBuilder$toString$2299(($r879)); assert ($neref((r168), ($null))==1); // @line: 329 call $z181 := boolean$javaUtilEx.Iterator$hasNext$2254((r168)); goto Block127; // @line: 329 Block127: goto Block130, Block128; // @line: 329 Block130: // @line: 329 assume ($negInt(($neint(($z181), (0))))==1); // @line: 330 $r1286 := $newvariable((131)); assume ($neref(($newvariable((131))), ($null))==1); assert ($neref(($r1286), ($null))==1); // @line: 330 call void$java.lang.StringBuilder$$la$init$ra$$2261(($r1286)); assert ($neref(($r1286), ($null))==1); // @line: 330 call $r1387 := java.lang.StringBuilder$java.lang.StringBuilder$append$2266(($r1286), (r1894)); $stringSize[$fresh5] := 1; assert ($neref(($r1387), ($null))==1); // @line: 330 call $r1488 := java.lang.StringBuilder$java.lang.StringBuilder$append$2266(($r1387), ($fresh5)); assert ($neref(($r1488), ($null))==1); // @line: 330 call r1995 := java.lang.String$java.lang.StringBuilder$toString$2299(($r1488)); // @line: 331 __ret := r1995; return; // @line: 329 Block128: assume ($neint(($z181), (0))==1); goto Block129; // @line: 333 Block129: // @line: 333 $r982 := $newvariable((132)); assume ($neref(($newvariable((132))), ($null))==1); goto Block133; // @line: 333 Block133: assert ($neref(($r982), ($null))==1); // @line: 333 call void$java.lang.StringBuilder$$la$init$ra$$2261(($r982)); assert ($neref(($r982), ($null))==1); // @line: 333 call $r1083 := java.lang.StringBuilder$java.lang.StringBuilder$append$2266(($r982), (r1894)); $stringSize[$fresh6] := 2; assert ($neref(($r1083), ($null))==1); // @line: 333 call $r1184 := java.lang.StringBuilder$java.lang.StringBuilder$append$2266(($r1083), ($fresh6)); assert ($neref(($r1184), ($null))==1); // @line: 333 call r1692 := java.lang.String$java.lang.StringBuilder$toString$2299(($r1184)); goto Block119; } // @line: 652 // procedure void$javaUtilEx.SubList$add$2553(__this : ref, $param_0 : int, $param_1 : ref) returns ($Exep0 : ref, $Exep1 : ref, $Exep2 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r3346 : ref; var $i5349 : int; var $i1342 : int; var $i3347 : int; var r1343 : ref; var $i4348 : int; var r0340 : ref; var i0341 : int; var $r2345 : ref; var $i2344 : int; //temp local variables var $caughtEx5 : ref; var $caughtEx4 : ref; var $caughtEx3 : ref; // @line: 652 Block539: $caughtEx5 := $null; $caughtEx4 := $null; $caughtEx3 := $null; $Exep2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block540; Block540: r0340 := __this; i0341 := $param_0; r1343 := $param_1; assert ($neref((r0340), ($null))==1); // @line: 653 call $caughtEx3 := void$javaUtilEx.SubList$rangeCheckForAdd$2562((r0340), (i0341)); goto Block543, Block541; Block543: assume ($eqref(($caughtEx3), ($null))==1); goto Block544; Block541: assume ($neref(($caughtEx3), ($null))==1); goto Block542; Block544: assert ($neref((r0340), ($null))==1); // @line: 654 call $caughtEx4 := void$javaUtilEx.SubList$checkForComodification$2564((r0340)); goto Block545, Block547; Block542: $Exep0 := $caughtEx3; return; Block545: assume ($neref(($caughtEx4), ($null))==1); goto Block546; Block547: assume ($eqref(($caughtEx4), ($null))==1); goto Block548; Block546: $Exep1 := $caughtEx4; return; Block548: assert ($neref((r0340), ($null))==1); // @line: 655 $r2345 := $HeapVar[r0340, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref((r0340), ($null))==1); // @line: 655 $i1342 := $HeapVar[r0340, int$javaUtilEx.SubList$offset0]; // @line: 655 $i2344 := $addint((i0341), ($i1342)); assert ($neref(($r2345), ($null))==1); // @line: 655 call $caughtEx5 := void$javaUtilEx.AbstractList$add$2487(($r2345), ($i2344), (r1343)); goto Block549, Block551; Block549: assume ($neref(($caughtEx5), ($null))==1); goto Block550; Block551: assume ($eqref(($caughtEx5), ($null))==1); goto Block552; Block550: $Exep2 := $caughtEx5; return; Block552: assert ($neref((r0340), ($null))==1); // @line: 656 $r3346 := $HeapVar[r0340, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref(($r3346), ($null))==1); // @line: 656 $i3347 := $HeapVar[$r3346, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0340), ($null))==1); // @line: 656 $HeapVar[r0340, int$javaUtilEx.AbstractList$modCount0] := $i3347; assert ($neref((r0340), ($null))==1); // @line: 657 $i4348 := $HeapVar[r0340, int$javaUtilEx.SubList$size0]; // @line: 657 $i5349 := $addint(($i4348), (1)); assert ($neref((r0340), ($null))==1); // @line: 657 $HeapVar[r0340, int$javaUtilEx.SubList$size0] := $i5349; return; } // @line: 647 // procedure int$javaUtilEx.SubList$size$2552(__this : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0338 : ref; var $i0339 : int; //temp local variables var $caughtEx1 : ref; // @line: 647 Block532: $caughtEx1 := $null; $Exep0 := $null; goto Block533; Block533: r0338 := __this; assert ($neref((r0338), ($null))==1); // @line: 648 call $caughtEx1 := void$javaUtilEx.SubList$checkForComodification$2564((r0338)); goto Block534, Block536; Block534: assume ($neref(($caughtEx1), ($null))==1); goto Block535; Block536: assume ($eqref(($caughtEx1), ($null))==1); goto Block537; Block535: $Exep0 := $caughtEx1; return; Block537: assert ($neref((r0338), ($null))==1); // @line: 649 $i0339 := $HeapVar[r0338, int$javaUtilEx.SubList$size0]; // @line: 649 __ret := $i0339; return; } // @line: 289 // procedure java.lang.Object$javaUtilEx.LinkedList$set$2643(__this : ref, $param_0 : int, $param_1 : ref) returns (__ret : ref, $Exep0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var r1614 : ref; var r2612 : ref; var r0609 : ref; var r3613 : ref; var i0610 : int; //temp local variables var $caughtEx1 : ref; // @line: 289 Block860: $caughtEx1 := $null; $Exep0 := $null; goto Block861; Block861: r0609 := __this; i0610 := $param_0; r1614 := $param_1; assert ($neref((r0609), ($null))==1); // @line: 290 call r2612, $caughtEx1 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$entry$2646((r0609), (i0610)); goto Block864, Block862; Block864: assume ($eqref(($caughtEx1), ($null))==1); goto Block865; Block862: assume ($neref(($caughtEx1), ($null))==1); goto Block863; Block865: assert ($neref((r2612), ($null))==1); // @line: 291 r3613 := $HeapVar[r2612, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; assert ($neref((r2612), ($null))==1); // @line: 292 $HeapVar[r2612, java.lang.Object$javaUtilEx.LinkedList$Entry$element300] := r1614; // @line: 293 __ret := r3613; return; Block863: $Exep0 := $caughtEx1; return; } // @line: 761 // procedure void$javaUtilEx.SubList$rangeCheckForAdd$2562(__this : ref, $param_0 : int) returns ($Exep0 : ref) modifies $stringSize; requires ($neref((__this), ($null))==1); { var r0407 : ref; var $r2408 : ref; var i0405 : int; var $r1406 : ref; var $i1409 : int; //temp local variables // @line: 761 Block538: $Exep0 := $null; goto Block658; Block658: r0407 := __this; i0405 := $param_0; goto Block659; // @line: 762 Block659: goto Block660, Block662; // @line: 762 Block660: assume ($ltint((i0405), (0))==1); goto Block661; // @line: 762 Block662: // @line: 762 assume ($negInt(($ltint((i0405), (0))))==1); assert ($neref((r0407), ($null))==1); // @line: 763 $i1409 := $HeapVar[r0407, int$javaUtilEx.SubList$size0]; goto Block663; // @line: 763 Block661: // @line: 763 $r1406 := $newvariable((667)); assume ($neref(($newvariable((667))), ($null))==1); assert ($neref((r0407), ($null))==1); // @line: 763 call $r2408 := java.lang.String$javaUtilEx.SubList$outOfBoundsMsg$2563((r0407), (i0405)); assert ($neref(($r1406), ($null))==1); // @line: 763 call void$java.lang.IndexOutOfBoundsException$$la$init$ra$$2076(($r1406), ($r2408)); goto Block668; // @line: 763 Block663: goto Block666, Block664; // @line: 763 Block668: $Exep0 := $r1406; return; // @line: 763 Block666: // @line: 763 assume ($negInt(($leint((i0405), ($i1409))))==1); goto Block661; // @line: 763 Block664: assume ($leint((i0405), ($i1409))==1); goto Block665; // @line: 764 Block665: return; } // @line: 52 // (java.lang.String)> procedure void$javaUtilEx.IllegalArgumentException$$la$init$ra$$2623(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r0509 : ref; var r1510 : ref; Block750: r0509 := __this; r1510 := $param_0; assert ($neref((r0509), ($null))==1); // @line: 53 call void$java.lang.RuntimeException$$la$init$ra$$761((r0509), (r1510)); return; } // @line: 616 // procedure int$javaUtilEx.SubList$access$000$2565($param_0 : ref) returns (__ret : int) { var r0417 : ref; var $i0418 : int; Block677: r0417 := $param_0; assert ($neref((r0417), ($null))==1); // @line: 617 $i0418 := $HeapVar[r0417, int$javaUtilEx.SubList$offset0]; // @line: 617 __ret := $i0418; return; } // @line: 434 // procedure void$javaUtilEx.AbstractList$ListItr$add$2548(__this : ref, $param_0 : ref) returns ($Exep0 : ref, $Exep1 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r3308 : ref; var $r2306 : ref; var $i0307 : int; var r1305 : ref; var $i1309 : int; var $r5311 : ref; var r0303 : ref; var $r4310 : ref; var i2312 : int; //temp local variables var $caughtEx3 : ref; var $caughtEx4 : ref; var $caughtEx2 : ref; // @line: 434 Block470: $caughtEx4 := $null; $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block471; Block471: r0303 := __this; r1305 := $param_0; assert ($neref((r0303), ($null))==1); // @line: 435 call $caughtEx2 := void$javaUtilEx.AbstractList$Itr$checkForComodification$2538((r0303)); goto Block472, Block474; Block472: assume ($neref(($caughtEx2), ($null))==1); goto Block473; Block474: assume ($eqref(($caughtEx2), ($null))==1); goto Block475; Block473: $Exep0 := $caughtEx2; return; Block475: goto Block476; // @line: 438 Block476: assert ($neref((r0303), ($null))==1); // @line: 438 i2312 := $HeapVar[r0303, int$javaUtilEx.AbstractList$Itr$cursor0]; assert ($neref((r0303), ($null))==1); // @line: 439 $r2306 := $HeapVar[r0303, javaUtilEx.AbstractList$javaUtilEx.AbstractList$ListItr$this$0296]; assert ($neref(($r2306), ($null))==1); // @line: 439 call $caughtEx3 := void$javaUtilEx.AbstractList$add$2487(($r2306), (i2312), (r1305)); goto Block477, Block479; // @line: 438 Block477: assume ($neref(($caughtEx3), ($null))==1); goto Block478; // @line: 438 Block479: assume ($eqref(($caughtEx3), ($null))==1); goto Block480; // @line: 438 Block478: $Exep1 := $caughtEx3; return; // @line: 438 Block480: assert ($neref((r0303), ($null))==1); // @line: 440 $HeapVar[r0303, int$javaUtilEx.AbstractList$Itr$lastRet0] := -1; // @line: 441 $i0307 := $addint((i2312), (1)); assert ($neref((r0303), ($null))==1); // @line: 441 $HeapVar[r0303, int$javaUtilEx.AbstractList$Itr$cursor0] := $i0307; assert ($neref((r0303), ($null))==1); // @line: 442 $r3308 := $HeapVar[r0303, javaUtilEx.AbstractList$javaUtilEx.AbstractList$ListItr$this$0296]; assert ($neref(($r3308), ($null))==1); // @line: 442 $i1309 := $HeapVar[$r3308, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0303), ($null))==1); // @line: 442 $HeapVar[r0303, int$javaUtilEx.AbstractList$Itr$expectedModCount0] := $i1309; goto Block481; // @line: 445 Block481: goto Block482; // @line: 446 Block482: return; } // procedure is generated by joogie. function {:inline true} $eqrefarray($param00 : [int]ref, $param11 : [int]ref) returns (__ret : int); // @line: 90 // procedure javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$access$300$2672($param_0 : ref, $param_1 : ref, $param_2 : ref) returns (__ret : ref) { var r2766 : ref; var r0764 : ref; var r1765 : ref; var $r3767 : ref; Block1135: r0764 := $param_0; r1765 := $param_1; r2766 := $param_2; assert ($neref((r0764), ($null))==1); // @line: 91 call $r3767 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$addBefore$2665((r0764), (r1765), (r2766)); // @line: 91 __ret := $r3767; return; } // procedure is generated by joogie. function {:inline true} $shrref($param00 : ref, $param11 : ref) returns (__ret : int); // @line: 51 // (java.lang.String)> procedure void$javaUtilEx.UnsupportedOperationException$$la$init$ra$$2258(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r198 : ref; var r097 : ref; Block135: r097 := __this; r198 := $param_0; assert ($neref((r097), ($null))==1); // @line: 52 call void$java.lang.RuntimeException$$la$init$ra$$761((r097), (r198)); return; } // @line: 207 // procedure boolean$javaUtilEx.AbstractCollection$addAll$2236(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r039 : ref; var $z038 : int; var z242 : int; var $z141 : int; var $r340 : ref; var r135 : ref; var r237 : ref; //temp local variables var $caughtEx1 : ref; // @line: 207 Block74: $caughtEx1 := $null; $Exep0 := $null; goto Block75; Block75: r039 := __this; r135 := $param_0; // @line: 208 z242 := 0; assert ($neref((r135), ($null))==1); // @line: 209 call r237 := javaUtilEx.Iterator$javaUtilEx.Collection$iterator$2244((r135)); goto Block76; // @line: 210 Block76: assert ($neref((r237), ($null))==1); // @line: 210 call $z038 := boolean$javaUtilEx.Iterator$hasNext$2254((r237)); goto Block77; // @line: 210 Block77: goto Block78, Block80; // @line: 210 Block78: assume ($eqint(($z038), (0))==1); goto Block79; // @line: 210 Block80: // @line: 210 assume ($negInt(($eqint(($z038), (0))))==1); assert ($neref((r237), ($null))==1); // @line: 211 call $r340 := java.lang.Object$javaUtilEx.Iterator$next$2255((r237)); assert ($neref((r039), ($null))==1); // @line: 211 call $z141, $caughtEx1 := boolean$javaUtilEx.AbstractCollection$add$2233((r039), ($r340)); goto Block83, Block81; // @line: 214 Block79: // @line: 214 __ret := z242; return; // @line: 210 Block83: assume ($eqref(($caughtEx1), ($null))==1); goto Block84; // @line: 210 Block81: assume ($neref(($caughtEx1), ($null))==1); goto Block82; // @line: 210 Block84: goto Block85; // @line: 210 Block82: $Exep0 := $caughtEx1; return; // @line: 211 Block85: goto Block86, Block87; // @line: 211 Block86: assume ($eqint(($z141), (0))==1); goto Block76; // @line: 211 Block87: // @line: 211 assume ($negInt(($eqint(($z141), (0))))==1); // @line: 212 z242 := 1; goto Block76; } // @line: 561 // procedure java.lang.Object$javaUtilEx.LinkedList$pop$2661(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0696 : ref; var $r1697 : ref; //temp local variables var $caughtEx1 : ref; // @line: 561 Block1046: $caughtEx1 := $null; $Exep0 := $null; goto Block1047; Block1047: r0696 := __this; assert ($neref((r0696), ($null))==1); // @line: 562 call $r1697, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$removeFirst$2633((r0696)); goto Block1050, Block1048; Block1050: assume ($eqref(($caughtEx1), ($null))==1); goto Block1051; Block1048: assume ($neref(($caughtEx1), ($null))==1); goto Block1049; Block1051: // @line: 562 __ret := $r1697; return; Block1049: $Exep0 := $caughtEx1; return; } // @line: 489 // procedure java.lang.Object$javaUtilEx.LinkedList$peekFirst$2656(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r1684 : ref; var $i0683 : int; var r0682 : ref; //temp local variables var $caughtEx1 : ref; // @line: 489 Block1001: $caughtEx1 := $null; $Exep0 := $null; goto Block1002; Block1002: r0682 := __this; assert ($neref((r0682), ($null))==1); // @line: 490 $i0683 := $HeapVar[r0682, int$javaUtilEx.LinkedList$size0]; goto Block1003; // @line: 490 Block1003: goto Block1004, Block1006; // @line: 490 Block1004: assume ($neint(($i0683), (0))==1); goto Block1005; // @line: 490 Block1006: // @line: 490 assume ($negInt(($neint(($i0683), (0))))==1); // @line: 491 __ret := $null; return; // @line: 492 Block1005: assert ($neref((r0682), ($null))==1); // @line: 492 call $r1684, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$getFirst$2631((r0682)); goto Block1007, Block1009; // @line: 492 Block1007: assume ($neref(($caughtEx1), ($null))==1); goto Block1008; // @line: 492 Block1009: assume ($eqref(($caughtEx1), ($null))==1); goto Block1010; // @line: 492 Block1008: $Exep0 := $caughtEx1; return; // @line: 492 Block1010: goto Block1011; // @line: 492 Block1011: // @line: 492 __ret := $r1684; return; } // @line: 385 // procedure void$javaUtilEx.AbstractList$Itr$checkForComodification$2538(__this : ref) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var $i1256 : int; var $r2257 : ref; var $r1254 : ref; var r0253 : ref; var $i0255 : int; //temp local variables // @line: 385 Block354: $Exep0 := $null; goto Block396; Block396: r0253 := __this; assert ($neref((r0253), ($null))==1); // @line: 386 $r1254 := $HeapVar[r0253, javaUtilEx.AbstractList$javaUtilEx.AbstractList$Itr$this$0295]; assert ($neref(($r1254), ($null))==1); // @line: 386 $i1256 := $HeapVar[$r1254, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0253), ($null))==1); // @line: 386 $i0255 := $HeapVar[r0253, int$javaUtilEx.AbstractList$Itr$expectedModCount0]; goto Block397; // @line: 386 Block397: goto Block398, Block400; // @line: 386 Block398: assume ($eqint(($i1256), ($i0255))==1); goto Block399; // @line: 386 Block400: // @line: 386 assume ($negInt(($eqint(($i1256), ($i0255))))==1); // @line: 387 $r2257 := $newvariable((401)); assume ($neref(($newvariable((401))), ($null))==1); assert ($neref(($r2257), ($null))==1); // @line: 387 call void$javaUtilEx.ConcurrentModificationException$$la$init$ra$$2570(($r2257)); goto Block402; // @line: 388 Block399: return; // @line: 386 Block402: $Exep0 := $r2257; return; } // @line: 503 // procedure java.lang.Object$javaUtilEx.LinkedList$peekLast$2657(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r1687 : ref; var $i0686 : int; var r0685 : ref; //temp local variables var $caughtEx1 : ref; // @line: 503 Block1012: $caughtEx1 := $null; $Exep0 := $null; goto Block1013; Block1013: r0685 := __this; assert ($neref((r0685), ($null))==1); // @line: 504 $i0686 := $HeapVar[r0685, int$javaUtilEx.LinkedList$size0]; goto Block1014; // @line: 504 Block1014: goto Block1017, Block1015; // @line: 504 Block1017: // @line: 504 assume ($negInt(($neint(($i0686), (0))))==1); // @line: 505 __ret := $null; return; // @line: 504 Block1015: assume ($neint(($i0686), (0))==1); goto Block1016; // @line: 506 Block1016: assert ($neref((r0685), ($null))==1); // @line: 506 call $r1687, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$getLast$2632((r0685)); goto Block1020, Block1018; // @line: 506 Block1020: assume ($eqref(($caughtEx1), ($null))==1); goto Block1021; // @line: 506 Block1018: assume ($neref(($caughtEx1), ($null))==1); goto Block1019; // @line: 506 Block1021: goto Block1022; // @line: 506 Block1019: $Exep0 := $caughtEx1; return; // @line: 506 Block1022: // @line: 506 __ret := $r1687; return; } // procedure is generated by joogie. function {:inline true} $geref($param00 : ref, $param11 : ref) returns (__ret : int); // procedure is generated by joogie. function {:inline true} $eqint(x : int, y : int) returns (__ret : int) { if (x == y) then 1 else 0 } // @line: 484 // procedure javaUtilEx.List$javaUtilEx.AbstractList$subList$2496(__this : ref, $param_0 : int, $param_1 : int) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref) requires ($neref((__this), ($null))==1); { var $r1169 : ref; var i0166 : int; var i1167 : int; var $z0164 : int; var r0163 : ref; var r3171 : ref; var r2170 : ref; //temp local variables var $caughtEx3 : ref; var $caughtEx2 : ref; // @line: 484 Block245: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block246; Block246: r0163 := __this; i0166 := $param_0; i1167 := $param_1; // @line: 485 $z0164 := $instanceof((r0163), (javaUtilEx.RandomAccess)); goto Block247; // @line: 485 Block247: goto Block248, Block250; // @line: 485 Block248: assume ($eqint(($z0164), (0))==1); goto Block249; // @line: 485 Block250: // @line: 485 assume ($negInt(($eqint(($z0164), (0))))==1); // @line: 485 r2170 := $newvariable((251)); assume ($neref(($newvariable((251))), ($null))==1); $r1169 := r2170; assert ($neref((r2170), ($null))==1); // @line: 485 call $caughtEx2, $caughtEx3 := void$javaUtilEx.RandomAccessSubList$$la$init$ra$$2540((r2170), (r0163), (i0166), (i1167)); goto Block254, Block252; // @line: 485 Block249: // @line: 485 r3171 := $newvariable((261)); assume ($neref(($newvariable((261))), ($null))==1); goto Block262; // @line: 485 Block254: assume ($eqref(($caughtEx2), ($null))==1); goto Block255; // @line: 485 Block252: assume ($neref(($caughtEx2), ($null))==1); goto Block253; Block262: $r1169 := r3171; assert ($neref((r3171), ($null))==1); // @line: 485 call $caughtEx2, $caughtEx3 := void$javaUtilEx.SubList$$la$init$ra$$2549((r3171), (r0163), (i0166), (i1167)); goto Block265, Block263; // @line: 485 Block255: goto Block256, Block258; // @line: 485 Block253: $Exep0 := $caughtEx2; return; Block265: assume ($eqref(($caughtEx2), ($null))==1); goto Block266; Block263: assume ($neref(($caughtEx2), ($null))==1); goto Block264; // @line: 485 Block256: assume ($neref(($caughtEx3), ($null))==1); goto Block257; // @line: 485 Block258: assume ($eqref(($caughtEx3), ($null))==1); goto Block259; Block266: goto Block267, Block269; Block264: $Exep0 := $caughtEx2; return; // @line: 485 Block257: $Exep1 := $caughtEx3; return; // @line: 485 Block259: goto Block260; Block267: assume ($neref(($caughtEx3), ($null))==1); goto Block268; Block269: assume ($eqref(($caughtEx3), ($null))==1); goto Block270; // @line: 485 Block260: // @line: 485 __ret := $r1169; return; Block268: $Exep1 := $caughtEx3; return; Block270: goto Block260; } // @line: 202 // procedure int$javaUtilEx.LinkedList$size$2638(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $i0574 : int; var r0573 : ref; Block809: r0573 := __this; assert ($neref((r0573), ($null))==1); // @line: 203 $i0574 := $HeapVar[r0573, int$javaUtilEx.LinkedList$size0]; // @line: 203 __ret := $i0574; return; } // procedure int$javaUtilEx.Collection$size$2241(__this : ref) returns (__ret : int); // @line: 729 // (java.lang.Object,javaUtilEx.LinkedList$Entry,javaUtilEx.LinkedList$Entry)> procedure void$javaUtilEx.LinkedList$Entry$$la$init$ra$$2676(__this : ref, $param_0 : ref, $param_1 : ref, $param_2 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var r2777 : ref; var r1776 : ref; var r3778 : ref; var r0775 : ref; Block1139: r0775 := __this; r1776 := $param_0; r2777 := $param_1; r3778 := $param_2; assert ($neref((r0775), ($null))==1); // @line: 730 call void$java.lang.Object$$la$init$ra$$28((r0775)); assert ($neref((r0775), ($null))==1); // @line: 731 $HeapVar[r0775, java.lang.Object$javaUtilEx.LinkedList$Entry$element300] := r1776; assert ($neref((r0775), ($null))==1); // @line: 732 $HeapVar[r0775, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301] := r2777; assert ($neref((r0775), ($null))==1); // @line: 733 $HeapVar[r0775, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302] := r3778; return; } // @line: 2 // ()> procedure void$javaUtilEx.Random$$la$init$ra$$2673(__this : ref) requires ($neref((__this), ($null))==1); { var r0768 : ref; Block1136: r0768 := __this; assert ($neref((r0768), ($null))==1); // @line: 3 call void$java.lang.Object$$la$init$ra$$28((r0768)); return; } // @line: 428 // procedure java.lang.Object$javaUtilEx.LinkedList$poll$2651(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r1672 : ref; var r0670 : ref; var $i0671 : int; //temp local variables var $caughtEx1 : ref; // @line: 428 Block981: $caughtEx1 := $null; $Exep0 := $null; goto Block982; Block982: r0670 := __this; assert ($neref((r0670), ($null))==1); // @line: 429 $i0671 := $HeapVar[r0670, int$javaUtilEx.LinkedList$size0]; goto Block983; // @line: 429 Block983: goto Block984, Block986; // @line: 429 Block984: assume ($neint(($i0671), (0))==1); goto Block985; // @line: 429 Block986: // @line: 429 assume ($negInt(($neint(($i0671), (0))))==1); // @line: 430 __ret := $null; return; // @line: 431 Block985: assert ($neref((r0670), ($null))==1); // @line: 431 call $r1672, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$removeFirst$2633((r0670)); goto Block989, Block987; // @line: 431 Block989: assume ($eqref(($caughtEx1), ($null))==1); goto Block990; // @line: 431 Block987: assume ($neref(($caughtEx1), ($null))==1); goto Block988; // @line: 431 Block990: goto Block991; // @line: 431 Block988: $Exep0 := $caughtEx1; return; // @line: 431 Block991: // @line: 431 __ret := $r1672; return; } // @line: 7 // procedure int$javaUtilEx.Random$random$2674() returns (__ret : int) modifies int$javaUtilEx.Random$index0, $stringSize; { var $i3774 : int; var $i1772 : int; var $r1770 : [int]ref; var $i0769 : int; var $i2773 : int; var r0771 : ref; // @line: 8 Block1137: // @line: 8 $r1770 := java.lang.String$lp$$rp$$javaUtilEx.Random$args299; // @line: 8 $i0769 := int$javaUtilEx.Random$index0; assert ($geint(($i0769), (0))==1); assert ($ltint(($i0769), ($refArrSize[$r1770[$arrSizeIdx]]))==1); // @line: 8 r0771 := $r1770[$i0769]; // @line: 9 $i1772 := int$javaUtilEx.Random$index0; // @line: 9 $i2773 := $addint(($i1772), (1)); // @line: 9 int$javaUtilEx.Random$index0 := $i2773; $i3774 := $stringSize[r0771]; // @line: 10 __ret := $i3774; return; } // @line: 744 // procedure void$javaUtilEx.SubList$1$add$2702(__this : ref, $param_0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var r0950 : ref; var $r3953 : ref; var $i0956 : int; var $r6957 : ref; var $r4954 : ref; var r1951 : ref; var $r5955 : ref; var $r2952 : ref; //temp local variables var $freshlocal0 : int; Block1327: r0950 := __this; r1951 := $param_0; assert ($neref((r0950), ($null))==1); // @line: 745 $r2952 := $HeapVar[r0950, javaUtilEx.ListIterator$javaUtilEx.SubList$1$i308]; assert ($neref(($r2952), ($null))==1); // @line: 745 call void$javaUtilEx.ListIterator$add$2533(($r2952), (r1951)); assert ($neref((r0950), ($null))==1); // @line: 746 $r4954 := $HeapVar[r0950, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; assert ($neref((r0950), ($null))==1); // @line: 746 $r3953 := $HeapVar[r0950, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; // @line: 746 call $r5955 := javaUtilEx.AbstractList$javaUtilEx.SubList$access$100$2566(($r3953)); assert ($neref(($r5955), ($null))==1); // @line: 746 $i0956 := $HeapVar[$r5955, int$javaUtilEx.AbstractList$modCount0]; assert ($neref(($r4954), ($null))==1); // @line: 746 $HeapVar[$r4954, int$javaUtilEx.AbstractList$modCount0] := $i0956; assert ($neref((r0950), ($null))==1); // @line: 747 $r6957 := $HeapVar[r0950, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; // @line: 747 call $freshlocal0 := int$javaUtilEx.SubList$access$208$2569(($r6957)); return; } // @line: 407 // procedure java.lang.Object$javaUtilEx.LinkedList$peek$2649(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0665 : ref; var $i0666 : int; var $r1667 : ref; //temp local variables var $caughtEx1 : ref; // @line: 407 Block964: $caughtEx1 := $null; $Exep0 := $null; goto Block965; Block965: r0665 := __this; assert ($neref((r0665), ($null))==1); // @line: 408 $i0666 := $HeapVar[r0665, int$javaUtilEx.LinkedList$size0]; goto Block966; // @line: 408 Block966: goto Block969, Block967; // @line: 408 Block969: // @line: 408 assume ($negInt(($neint(($i0666), (0))))==1); // @line: 409 __ret := $null; return; // @line: 408 Block967: assume ($neint(($i0666), (0))==1); goto Block968; // @line: 410 Block968: assert ($neref((r0665), ($null))==1); // @line: 410 call $r1667, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$getFirst$2631((r0665)); goto Block970, Block972; // @line: 410 Block970: assume ($neref(($caughtEx1), ($null))==1); goto Block971; // @line: 410 Block972: assume ($eqref(($caughtEx1), ($null))==1); goto Block973; // @line: 410 Block971: $Exep0 := $caughtEx1; return; // @line: 410 Block973: goto Block974; // @line: 410 Block974: // @line: 410 __ret := $r1667; return; } // @line: 726 // procedure int$javaUtilEx.SubList$1$nextIndex$2698(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0927 : ref; var $i0929 : int; var $r2930 : ref; var $i1931 : int; var $i2932 : int; var $r1928 : ref; Block1323: r0927 := __this; assert ($neref((r0927), ($null))==1); // @line: 727 $r1928 := $HeapVar[r0927, javaUtilEx.ListIterator$javaUtilEx.SubList$1$i308]; assert ($neref(($r1928), ($null))==1); // @line: 727 call $i0929 := int$javaUtilEx.ListIterator$nextIndex$2529(($r1928)); assert ($neref((r0927), ($null))==1); // @line: 727 $r2930 := $HeapVar[r0927, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; // @line: 727 call $i1931 := int$javaUtilEx.SubList$access$000$2565(($r2930)); // @line: 727 $i2932 := $subint(($i0929), ($i1931)); // @line: 727 __ret := $i2932; return; } // @line: 621 // (javaUtilEx.AbstractList,int,int)> procedure void$javaUtilEx.SubList$$la$init$ra$$2549(__this : ref, $param_0 : ref, $param_1 : int, $param_2 : int) returns ($Exep0 : ref, $Exep1 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r4323 : ref; var r1317 : ref; var $r3322 : ref; var $r2320 : ref; var $i3319 : int; var $i4321 : int; var i1316 : int; var $r5324 : ref; var r0314 : ref; var i0315 : int; var $i2318 : int; //temp local variables // @line: 621 Block243: $Exep1 := $null; $Exep0 := $null; goto Block486; Block486: r0314 := __this; r1317 := $param_0; i0315 := $param_1; i1316 := $param_2; assert ($neref((r0314), ($null))==1); // @line: 622 call void$javaUtilEx.AbstractList$$la$init$ra$$2483((r0314)); goto Block487; // @line: 623 Block487: goto Block488, Block490; // @line: 623 Block488: assume ($geint((i0315), (0))==1); goto Block489; // @line: 623 Block490: // @line: 623 assume ($negInt(($geint((i0315), (0))))==1); // @line: 624 $r5324 := $newvariable((491)); assume ($neref(($newvariable((491))), ($null))==1); assert ($neref(($r5324), ($null))==1); // @line: 624 call void$java.lang.IndexOutOfBoundsException$$la$init$ra$$2075(($r5324)); goto Block492; // @line: 625 Block489: assert ($neref((r1317), ($null))==1); // @line: 625 call $i2318 := int$javaUtilEx.AbstractCollection$size$2230((r1317)); goto Block493; // @line: 623 Block492: $Exep0 := $r5324; return; // @line: 625 Block493: goto Block496, Block494; // @line: 625 Block496: // @line: 625 assume ($negInt(($leint((i1316), ($i2318))))==1); // @line: 626 $r4323 := $newvariable((497)); assume ($neref(($newvariable((497))), ($null))==1); assert ($neref(($r4323), ($null))==1); // @line: 626 call void$java.lang.IndexOutOfBoundsException$$la$init$ra$$2075(($r4323)); goto Block498; // @line: 625 Block494: assume ($leint((i1316), ($i2318))==1); goto Block495; // @line: 625 Block498: $Exep0 := $r4323; return; // @line: 627 Block495: goto Block501, Block499; // @line: 627 Block501: // @line: 627 assume ($negInt(($leint((i0315), (i1316))))==1); goto Block502; // @line: 627 Block499: assume ($leint((i0315), (i1316))==1); goto Block500; // @line: 628 Block502: // @line: 628 $r3322 := $newvariable((503)); assume ($neref(($newvariable((503))), ($null))==1); assert ($neref(($r3322), ($null))==1); // @line: 628 call void$javaUtilEx.IllegalArgumentException$$la$init$ra$$2622(($r3322)); goto Block504; // @line: 629 Block500: assert ($neref((r0314), ($null))==1); // @line: 629 $HeapVar[r0314, javaUtilEx.AbstractList$javaUtilEx.SubList$l297] := r1317; goto Block505; // @line: 628 Block504: $Exep1 := $r3322; return; // @line: 630 Block505: assert ($neref((r0314), ($null))==1); // @line: 630 $HeapVar[r0314, int$javaUtilEx.SubList$offset0] := i0315; // @line: 631 $i3319 := $subint((i1316), (i0315)); assert ($neref((r0314), ($null))==1); // @line: 631 $HeapVar[r0314, int$javaUtilEx.SubList$size0] := $i3319; assert ($neref((r0314), ($null))==1); // @line: 632 $r2320 := $HeapVar[r0314, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref(($r2320), ($null))==1); // @line: 632 $i4321 := $HeapVar[$r2320, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0314), ($null))==1); // @line: 632 $HeapVar[r0314, int$javaUtilEx.AbstractList$modCount0] := $i4321; return; } // procedure is generated by joogie. function {:inline true} $instanceof($param00 : ref, $param11 : classConst) returns (__ret : int); // @line: 325 // procedure javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2495(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0160 : ref; var $r1162 : ref; var i0161 : int; //temp local variables var $caughtEx1 : ref; // @line: 325 Block158: $caughtEx1 := $null; $Exep0 := $null; goto Block237; Block237: r0160 := __this; i0161 := $param_0; assert ($neref((r0160), ($null))==1); // @line: 326 call $caughtEx1 := void$javaUtilEx.AbstractList$rangeCheckForAdd$2500((r0160), (i0161)); goto Block238, Block240; Block238: assume ($neref(($caughtEx1), ($null))==1); goto Block239; Block240: assume ($eqref(($caughtEx1), ($null))==1); goto Block241; Block239: $Exep0 := $caughtEx1; return; Block241: // @line: 328 $r1162 := $newvariable((242)); assume ($neref(($newvariable((242))), ($null))==1); assert ($neref(($r1162), ($null))==1); // @line: 328 call void$javaUtilEx.AbstractList$ListItr$$la$init$ra$$2542(($r1162), (r0160), (i0161)); // @line: 328 __ret := $r1162; return; } // @line: 770 // procedure void$javaUtilEx.SubList$checkForComodification$2564(__this : ref) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var $i0414 : int; var $r2416 : ref; var r0412 : ref; var $i1415 : int; var $r1413 : ref; //temp local variables // @line: 770 Block508: $Exep0 := $null; goto Block670; Block670: r0412 := __this; assert ($neref((r0412), ($null))==1); // @line: 771 $i1415 := $HeapVar[r0412, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0412), ($null))==1); // @line: 771 $r1413 := $HeapVar[r0412, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref(($r1413), ($null))==1); // @line: 771 $i0414 := $HeapVar[$r1413, int$javaUtilEx.AbstractList$modCount0]; goto Block671; // @line: 771 Block671: goto Block672, Block674; // @line: 771 Block672: assume ($eqint(($i1415), ($i0414))==1); goto Block673; // @line: 771 Block674: // @line: 771 assume ($negInt(($eqint(($i1415), ($i0414))))==1); // @line: 772 $r2416 := $newvariable((675)); assume ($neref(($newvariable((675))), ($null))==1); assert ($neref(($r2416), ($null))==1); // @line: 772 call void$javaUtilEx.ConcurrentModificationException$$la$init$ra$$2570(($r2416)); goto Block676; // @line: 773 Block673: return; // @line: 771 Block676: $Exep0 := $r2416; return; } // @line: 616 // procedure int$javaUtilEx.SubList$access$200$2567($param_0 : ref) returns (__ret : int) { var $i0422 : int; var r0421 : ref; Block679: r0421 := $param_0; assert ($neref((r0421), ($null))==1); // @line: 617 $i0422 := $HeapVar[r0421, int$javaUtilEx.SubList$size0]; // @line: 617 __ret := $i0422; return; } // procedure is generated by joogie. function {:inline true} $gereal($param00 : realVar, $param11 : realVar) returns (__ret : int); // @line: 719 // procedure java.lang.Object$javaUtilEx.SubList$1$previous$2697(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0922 : ref; var $r1924 : ref; var $r3926 : ref; var $z0923 : int; var $r2925 : ref; //temp local variables // @line: 719 Block1314: $Exep0 := $null; goto Block1315; Block1315: r0922 := __this; assert ($neref((r0922), ($null))==1); // @line: 720 call $z0923 := boolean$javaUtilEx.SubList$1$hasPrevious$2696((r0922)); goto Block1316; // @line: 720 Block1316: goto Block1319, Block1317; // @line: 720 Block1319: // @line: 720 assume ($negInt(($eqint(($z0923), (0))))==1); assert ($neref((r0922), ($null))==1); // @line: 721 $r2925 := $HeapVar[r0922, javaUtilEx.ListIterator$javaUtilEx.SubList$1$i308]; assert ($neref(($r2925), ($null))==1); // @line: 721 call $r3926 := java.lang.Object$javaUtilEx.ListIterator$previous$2528(($r2925)); // @line: 721 __ret := $r3926; return; // @line: 720 Block1317: assume ($eqint(($z0923), (0))==1); goto Block1318; // @line: 723 Block1318: // @line: 723 $r1924 := $newvariable((1320)); assume ($neref(($newvariable((1320))), ($null))==1); goto Block1321; // @line: 723 Block1321: assert ($neref(($r1924), ($null))==1); // @line: 723 call void$javaUtilEx.NoSuchElementException$$la$init$ra$$2572(($r1924)); goto Block1322; // @line: 723 Block1322: $Exep0 := $r1924; return; } // procedure java.lang.StringBuilder$java.lang.StringBuilder$append$2266(__this : ref, $param_0 : ref) returns (__ret : ref); // @line: 318 // procedure java.lang.Object$javaUtilEx.LinkedList$remove$2645(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref) requires ($neref((__this), ($null))==1); { var i0623 : int; var $r1624 : ref; var r0622 : ref; var $r2625 : ref; //temp local variables var $caughtEx2 : ref; var $caughtEx3 : ref; // @line: 318 Block878: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block879; Block879: r0622 := __this; i0623 := $param_0; assert ($neref((r0622), ($null))==1); // @line: 319 call $r1624, $caughtEx2 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$entry$2646((r0622), (i0623)); goto Block882, Block880; Block882: assume ($eqref(($caughtEx2), ($null))==1); goto Block883; Block880: assume ($neref(($caughtEx2), ($null))==1); goto Block881; Block883: assert ($neref((r0622), ($null))==1); // @line: 319 call $r2625, $caughtEx3 := java.lang.Object$javaUtilEx.LinkedList$remove$2666((r0622), ($r1624)); goto Block886, Block884; Block881: $Exep0 := $caughtEx2; return; Block886: assume ($eqref(($caughtEx3), ($null))==1); goto Block887; Block884: assume ($neref(($caughtEx3), ($null))==1); goto Block885; Block887: // @line: 319 __ret := $r2625; return; Block885: $Exep1 := $caughtEx3; return; } // @line: 353 // procedure int$javaUtilEx.LinkedList$indexOf$2647(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0639 : ref; var r9650 : ref; var $r5645 : ref; var $z0644 : int; var r1638 : ref; var $r4643 : ref; var $r6646 : ref; var $r7647 : ref; var $r2640 : ref; var $r3642 : ref; var r8649 : ref; var i0648 : int; Block912: r0639 := __this; r1638 := $param_0; // @line: 354 i0648 := 0; goto Block913; // @line: 355 Block913: goto Block914, Block916; // @line: 355 Block914: assume ($neref((r1638), ($null))==1); goto Block915; // @line: 355 Block916: // @line: 355 assume ($negInt(($neref((r1638), ($null))))==1); assert ($neref((r0639), ($null))==1); // @line: 356 $r5645 := $HeapVar[r0639, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r5645), ($null))==1); // @line: 356 r8649 := $HeapVar[$r5645, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block917; // @line: 362 Block915: assert ($neref((r0639), ($null))==1); // @line: 362 $r2640 := $HeapVar[r0639, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block928; // @line: 356 Block917: assert ($neref((r0639), ($null))==1); // @line: 356 $r6646 := $HeapVar[r0639, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block918; // @line: 362 Block928: assert ($neref(($r2640), ($null))==1); // @line: 362 r9650 := $HeapVar[$r2640, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block929; // @line: 356 Block918: goto Block921, Block919; // @line: 362 Block929: assert ($neref((r0639), ($null))==1); // @line: 362 $r3642 := $HeapVar[r0639, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block930; // @line: 356 Block921: // @line: 356 assume ($negInt(($eqref((r8649), ($r6646))))==1); assert ($neref((r8649), ($null))==1); // @line: 357 $r7647 := $HeapVar[r8649, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; goto Block922; // @line: 356 Block919: assume ($eqref((r8649), ($r6646))==1); goto Block920; // @line: 362 Block930: goto Block932, Block931; // @line: 357 Block922: goto Block925, Block923; // @line: 356 Block920: goto Block927; // @line: 362 Block932: // @line: 362 assume ($negInt(($eqref((r9650), ($r3642))))==1); assert ($neref((r9650), ($null))==1); // @line: 363 $r4643 := $HeapVar[r9650, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; assert ($neref((r1638), ($null))==1); // @line: 363 call $z0644 := boolean$java.lang.Object$equals$32((r1638), ($r4643)); goto Block933; // @line: 362 Block931: assume ($eqref((r9650), ($r3642))==1); goto Block927; // @line: 357 Block925: // @line: 357 assume ($negInt(($neref(($r7647), ($null))))==1); // @line: 358 __ret := i0648; return; // @line: 357 Block923: assume ($neref(($r7647), ($null))==1); goto Block924; // @line: 368 Block927: // @line: 368 __ret := -1; return; // @line: 363 Block933: goto Block934, Block936; // @line: 359 Block924: // @line: 359 i0648 := $addint((i0648), (1)); goto Block926; // @line: 363 Block934: assume ($eqint(($z0644), (0))==1); goto Block935; // @line: 363 Block936: // @line: 363 assume ($negInt(($eqint(($z0644), (0))))==1); // @line: 364 __ret := i0648; return; // @line: 356 Block926: assert ($neref((r8649), ($null))==1); // @line: 356 r8649 := $HeapVar[r8649, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block917; // @line: 365 Block935: // @line: 365 i0648 := $addint((i0648), (1)); goto Block937; // @line: 362 Block937: assert ($neref((r9650), ($null))==1); // @line: 362 r9650 := $HeapVar[r9650, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block929; } // @line: 325 // procedure javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$entry$2646(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var i0626 : int; var i4635 : int; var r2634 : ref; var $i3632 : int; var i5636 : int; var $i1629 : int; var $r1627 : ref; var r0628 : ref; var $i2631 : int; //temp local variables // @line: 325 Block853: $Exep0 := $null; goto Block888; Block888: r0628 := __this; i0626 := $param_0; goto Block889; // @line: 326 Block889: goto Block890, Block892; // @line: 326 Block890: assume ($ltint((i0626), (0))==1); goto Block891; // @line: 326 Block892: // @line: 326 assume ($negInt(($ltint((i0626), (0))))==1); assert ($neref((r0628), ($null))==1); // @line: 327 $i1629 := $HeapVar[r0628, int$javaUtilEx.LinkedList$size0]; goto Block893; // @line: 327 Block891: // @line: 327 $r1627 := $newvariable((897)); assume ($neref(($newvariable((897))), ($null))==1); assert ($neref(($r1627), ($null))==1); // @line: 327 call void$java.lang.IndexOutOfBoundsException$$la$init$ra$$2075(($r1627)); goto Block898; // @line: 327 Block893: goto Block896, Block894; // @line: 327 Block898: $Exep0 := $r1627; return; // @line: 327 Block896: // @line: 327 assume ($negInt(($ltint((i0626), ($i1629))))==1); goto Block891; // @line: 327 Block894: assume ($ltint((i0626), ($i1629))==1); goto Block895; // @line: 328 Block895: assert ($neref((r0628), ($null))==1); // @line: 328 r2634 := $HeapVar[r0628, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block899; // @line: 329 Block899: assert ($neref((r0628), ($null))==1); // @line: 329 $i2631 := $HeapVar[r0628, int$javaUtilEx.LinkedList$size0]; // @line: 329 $i3632 := $shrint(($i2631), (1)); goto Block900; // @line: 329 Block900: goto Block901, Block903; // @line: 329 Block901: assume ($geint((i0626), ($i3632))==1); goto Block902; // @line: 329 Block903: // @line: 329 assume ($negInt(($geint((i0626), ($i3632))))==1); // @line: 330 i4635 := 0; goto Block904; // @line: 333 Block902: assert ($neref((r0628), ($null))==1); // @line: 333 i5636 := $HeapVar[r0628, int$javaUtilEx.LinkedList$size0]; goto Block909; // @line: 330 Block904: goto Block905, Block907; // @line: 333 Block909: goto Block911, Block910; // @line: 330 Block905: assume ($gtint((i4635), (i0626))==1); goto Block906; // @line: 330 Block907: // @line: 330 assume ($negInt(($gtint((i4635), (i0626))))==1); assert ($neref((r2634), ($null))==1); // @line: 331 r2634 := $HeapVar[r2634, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; // @line: 330 i4635 := $addint((i4635), (1)); goto Block904; // @line: 333 Block911: // @line: 333 assume ($negInt(($leint((i5636), (i0626))))==1); assert ($neref((r2634), ($null))==1); // @line: 334 r2634 := $HeapVar[r2634, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; // @line: 333 i5636 := $addint((i5636), (-1)); goto Block909; // @line: 333 Block910: assume ($leint((i5636), (i0626))==1); goto Block908; // @line: 330 Block906: goto Block908; // @line: 336 Block908: // @line: 336 __ret := r2634; return; } // @line: 574 // procedure boolean$javaUtilEx.LinkedList$removeFirstOccurrence$2662(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $z0700 : int; var r1699 : ref; var r0698 : ref; //temp local variables var $caughtEx1 : ref; // @line: 574 Block1052: $caughtEx1 := $null; $Exep0 := $null; goto Block1053; Block1053: r0698 := __this; r1699 := $param_0; assert ($neref((r0698), ($null))==1); // @line: 575 call $z0700, $caughtEx1 := boolean$javaUtilEx.LinkedList$remove$2640((r0698), (r1699)); goto Block1056, Block1054; Block1056: assume ($eqref(($caughtEx1), ($null))==1); goto Block1057; Block1054: assume ($neref(($caughtEx1), ($null))==1); goto Block1055; Block1057: // @line: 575 __ret := $z0700; return; Block1055: $Exep0 := $caughtEx1; return; } // procedure is generated by joogie. function {:inline true} $andint($param00 : int, $param11 : int) returns (__ret : int); // @line: 256 // procedure boolean$javaUtilEx.AbstractList$addAll$2492(__this : ref, $param_0 : int, $param_1 : ref) returns (__ret : int, $Exep0 : ref, $Exep1 : ref) requires ($neref((__this), ($null))==1); { var $i0152 : int; var r0145 : ref; var r1148 : ref; var i1154 : int; var z1155 : int; var r2150 : ref; var $r3153 : ref; var $z0151 : int; //temp local variables var $caughtEx2 : ref; var $caughtEx3 : ref; // @line: 256 Block215: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block216; Block216: r0145 := __this; i1154 := $param_0; r1148 := $param_1; assert ($neref((r0145), ($null))==1); // @line: 257 call $caughtEx2 := void$javaUtilEx.AbstractList$rangeCheckForAdd$2500((r0145), (i1154)); goto Block217, Block219; Block217: assume ($neref(($caughtEx2), ($null))==1); goto Block218; Block219: assume ($eqref(($caughtEx2), ($null))==1); goto Block220; Block218: $Exep0 := $caughtEx2; return; Block220: // @line: 258 z1155 := 0; assert ($neref((r1148), ($null))==1); // @line: 259 call r2150 := javaUtilEx.Iterator$javaUtilEx.Collection$iterator$2244((r1148)); goto Block221; // @line: 260 Block221: assert ($neref((r2150), ($null))==1); // @line: 260 call $z0151 := boolean$javaUtilEx.Iterator$hasNext$2254((r2150)); goto Block222; // @line: 260 Block222: goto Block225, Block223; // @line: 260 Block225: // @line: 260 assume ($negInt(($eqint(($z0151), (0))))==1); // @line: 261 $i0152 := i1154; // @line: 261 i1154 := $addint((i1154), (1)); assert ($neref((r2150), ($null))==1); // @line: 261 call $r3153 := java.lang.Object$javaUtilEx.Iterator$next$2255((r2150)); assert ($neref((r0145), ($null))==1); // @line: 261 call $caughtEx3 := void$javaUtilEx.AbstractList$add$2487((r0145), ($i0152), ($r3153)); goto Block226, Block228; // @line: 260 Block223: assume ($eqint(($z0151), (0))==1); goto Block224; // @line: 260 Block226: assume ($neref(($caughtEx3), ($null))==1); goto Block227; // @line: 260 Block228: assume ($eqref(($caughtEx3), ($null))==1); goto Block229; // @line: 264 Block224: // @line: 264 __ret := z1155; return; // @line: 260 Block227: $Exep1 := $caughtEx3; return; // @line: 260 Block229: // @line: 262 z1155 := 1; goto Block221; } // @line: 146 // procedure boolean$javaUtilEx.AbstractCollection$remove$2234(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r121 : ref; var $r323 : ref; var r018 : ref; var r220 : ref; var $z022 : int; var $z225 : int; var $r426 : ref; var $z124 : int; Block46: r018 := __this; r121 := $param_0; assert ($neref((r018), ($null))==1); // @line: 147 call r220 := javaUtilEx.Iterator$javaUtilEx.AbstractCollection$iterator$2229((r018)); goto Block47; // @line: 148 Block47: goto Block50, Block48; // @line: 148 Block50: // @line: 148 assume ($negInt(($neref((r121), ($null))))==1); goto Block51; // @line: 148 Block48: assume ($neref((r121), ($null))==1); goto Block49; // @line: 149 Block51: assert ($neref((r220), ($null))==1); // @line: 149 call $z225 := boolean$javaUtilEx.Iterator$hasNext$2254((r220)); goto Block52; // @line: 156 Block49: assert ($neref((r220), ($null))==1); // @line: 156 call $z022 := boolean$javaUtilEx.Iterator$hasNext$2254((r220)); goto Block59; // @line: 149 Block52: goto Block55, Block53; // @line: 156 Block59: goto Block60, Block61; // @line: 149 Block55: // @line: 149 assume ($negInt(($eqint(($z225), (0))))==1); assert ($neref((r220), ($null))==1); // @line: 150 call $r426 := java.lang.Object$javaUtilEx.Iterator$next$2255((r220)); goto Block56; // @line: 149 Block53: assume ($eqint(($z225), (0))==1); goto Block54; // @line: 156 Block60: assume ($eqint(($z022), (0))==1); goto Block54; // @line: 156 Block61: // @line: 156 assume ($negInt(($eqint(($z022), (0))))==1); assert ($neref((r220), ($null))==1); // @line: 157 call $r323 := java.lang.Object$javaUtilEx.Iterator$next$2255((r220)); assert ($neref((r121), ($null))==1); // @line: 157 call $z124 := boolean$java.lang.Object$equals$32((r121), ($r323)); goto Block62; // @line: 150 Block56: goto Block58, Block57; // @line: 163 Block54: // @line: 163 __ret := 0; return; // @line: 157 Block62: goto Block63, Block64; // @line: 150 Block58: // @line: 150 assume ($negInt(($neref(($r426), ($null))))==1); assert ($neref((r220), ($null))==1); // @line: 151 call void$javaUtilEx.Iterator$remove$2256((r220)); // @line: 152 __ret := 1; return; // @line: 150 Block57: assume ($neref(($r426), ($null))==1); goto Block51; // @line: 157 Block63: assume ($eqint(($z124), (0))==1); goto Block49; // @line: 157 Block64: // @line: 157 assume ($negInt(($eqint(($z124), (0))))==1); assert ($neref((r220), ($null))==1); // @line: 158 call void$javaUtilEx.Iterator$remove$2256((r220)); // @line: 159 __ret := 1; return; } // @line: 214 // procedure boolean$javaUtilEx.LinkedList$add$2639(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0575 : ref; var $r2577 : ref; var r1576 : ref; //temp local variables var $freshlocal0 : ref; Block810: r0575 := __this; r1576 := $param_0; assert ($neref((r0575), ($null))==1); // @line: 215 $r2577 := $HeapVar[r0575, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref((r0575), ($null))==1); // @line: 215 call $freshlocal0 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$addBefore$2665((r0575), (r1576), ($r2577)); // @line: 216 __ret := 1; return; } // procedure is generated by joogie. function {:inline true} $shlint($param00 : int, $param11 : int) returns (__ret : int); // @line: 4 // ()> procedure void$javaUtilEx.Random$$la$clinit$ra$$2675() modifies int$javaUtilEx.Random$index0; { // @line: 5 Block1138: // @line: 5 int$javaUtilEx.Random$index0 := 0; return; } // procedure is generated by joogie. function {:inline true} $xorint($param00 : int, $param11 : int) returns (__ret : int); // @line: 616 // procedure int$javaUtilEx.SubList$access$208$2569($param_0 : ref) returns (__ret : int) modifies $HeapVar; { var r0426 : ref; var $i0427 : int; var $i1428 : int; Block681: r0426 := $param_0; assert ($neref((r0426), ($null))==1); // @line: 617 $i0427 := $HeapVar[r0426, int$javaUtilEx.SubList$size0]; // @line: 617 $i1428 := $addint(($i0427), (1)); assert ($neref((r0426), ($null))==1); // @line: 617 $HeapVar[r0426, int$javaUtilEx.SubList$size0] := $i1428; // @line: 617 __ret := $i0427; return; } // procedure is generated by joogie. function {:inline true} $modreal($param00 : realVar, $param11 : realVar) returns (__ret : realVar); // @line: 12 // procedure javaUtilEx.LinkedList$javaUtilEx.juLinkedListCreateRetainAll$createList$2628($param_0 : int) returns (__ret : ref) { var $r2528 : ref; var $i0529 : int; var i1530 : int; var $r1525 : ref; var r0526 : ref; Block755: i1530 := $param_0; // @line: 13 $r1525 := $newvariable((756)); assume ($neref(($newvariable((756))), ($null))==1); assert ($neref(($r1525), ($null))==1); // @line: 13 call void$javaUtilEx.LinkedList$$la$init$ra$$2629(($r1525)); // @line: 13 r0526 := $r1525; goto Block757; // @line: 14 Block757: goto Block758, Block760; // @line: 14 Block758: assume ($leint((i1530), (0))==1); goto Block759; // @line: 14 Block760: // @line: 14 assume ($negInt(($leint((i1530), (0))))==1); // @line: 15 $r2528 := $newvariable((761)); assume ($neref(($newvariable((761))), ($null))==1); // @line: 15 call $i0529 := int$javaUtilEx.Random$random$2674(); assert ($neref(($r2528), ($null))==1); // @line: 15 call void$javaUtilEx.Content$$la$init$ra$$2586(($r2528), ($i0529)); assert ($neref((r0526), ($null))==1); // @line: 15 call void$javaUtilEx.LinkedList$addLast$2636((r0526), ($r2528)); // @line: 16 i1530 := $addint((i1530), (-1)); goto Block757; // @line: 18 Block759: // @line: 18 __ret := r0526; return; } // @line: 636 // (javaUtilEx.LinkedList,int)> procedure void$javaUtilEx.LinkedList$ListItr$$la$init$ra$$2677(__this : ref, $param_0 : ref, $param_1 : int) returns ($Exep0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r5786 : ref; var $r6790 : ref; var $r10798 : ref; var $i6792 : int; var r0779 : ref; var i0785 : int; var $r3782 : ref; var $r9797 : ref; var $r4783 : ref; var $i5791 : int; var $i7795 : int; var $i9799 : int; var $r2781 : ref; var $r7793 : ref; var $i8796 : int; var $r8794 : ref; var $i1784 : int; var $i11803 : int; var $r11800 : ref; var $i3788 : int; var $i10802 : int; var $r12801 : ref; var r1780 : ref; var $i2787 : int; var $i4789 : int; //temp local variables // @line: 636 Block1093: $Exep0 := $null; goto Block1140; Block1140: r0779 := __this; r1780 := $param_0; i0785 := $param_1; assert ($neref((r0779), ($null))==1); // @line: 637 $HeapVar[r0779, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305] := r1780; assert ($neref((r0779), ($null))==1); // @line: 637 call void$java.lang.Object$$la$init$ra$$28((r0779)); assert ($neref((r0779), ($null))==1); // @line: 632 $r2781 := $HeapVar[r0779, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; // @line: 632 call $r3782 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$access$000$2669(($r2781)); assert ($neref((r0779), ($null))==1); // @line: 632 $HeapVar[r0779, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303] := $r3782; assert ($neref((r0779), ($null))==1); // @line: 635 $r4783 := $HeapVar[r0779, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; assert ($neref(($r4783), ($null))==1); // @line: 635 $i1784 := $HeapVar[$r4783, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0779), ($null))==1); // @line: 635 $HeapVar[r0779, int$javaUtilEx.LinkedList$ListItr$expectedModCount0] := $i1784; goto Block1141; // @line: 638 Block1141: goto Block1142, Block1144; // @line: 638 Block1142: assume ($ltint((i0785), (0))==1); goto Block1143; // @line: 638 Block1144: // @line: 638 assume ($negInt(($ltint((i0785), (0))))==1); // @line: 639 call $i2787 := int$javaUtilEx.LinkedList$access$100$2670((r1780)); goto Block1145; // @line: 639 Block1143: // @line: 639 $r5786 := $newvariable((1149)); assume ($neref(($newvariable((1149))), ($null))==1); assert ($neref(($r5786), ($null))==1); // @line: 639 call void$java.lang.IndexOutOfBoundsException$$la$init$ra$$2075(($r5786)); goto Block1150; // @line: 639 Block1145: goto Block1146, Block1148; // @line: 639 Block1150: $Exep0 := $r5786; return; // @line: 639 Block1146: assume ($leint((i0785), ($i2787))==1); goto Block1147; // @line: 639 Block1148: // @line: 639 assume ($negInt(($leint((i0785), ($i2787))))==1); goto Block1143; // @line: 640 Block1147: // @line: 640 call $i3788 := int$javaUtilEx.LinkedList$access$100$2670((r1780)); goto Block1151; // @line: 640 Block1151: // @line: 640 $i4789 := $shrint(($i3788), (1)); goto Block1152; // @line: 640 Block1152: goto Block1153, Block1155; // @line: 640 Block1153: assume ($geint((i0785), ($i4789))==1); goto Block1154; // @line: 640 Block1155: // @line: 640 assume ($negInt(($geint((i0785), ($i4789))))==1); // @line: 641 call $r9797 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$access$000$2669((r1780)); assert ($neref(($r9797), ($null))==1); // @line: 641 $r10798 := $HeapVar[$r9797, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref((r0779), ($null))==1); // @line: 641 $HeapVar[r0779, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304] := $r10798; assert ($neref((r0779), ($null))==1); // @line: 642 $HeapVar[r0779, int$javaUtilEx.LinkedList$ListItr$nextIndex0] := 0; goto Block1156; // @line: 645 Block1154: // @line: 645 call $r6790 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$access$000$2669((r1780)); goto Block1161; // @line: 642 Block1156: assert ($neref((r0779), ($null))==1); // @line: 642 $i9799 := $HeapVar[r0779, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; goto Block1157; // @line: 645 Block1161: assert ($neref((r0779), ($null))==1); // @line: 645 $HeapVar[r0779, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304] := $r6790; // @line: 646 call $i5791 := int$javaUtilEx.LinkedList$access$100$2670((r1780)); assert ($neref((r0779), ($null))==1); // @line: 646 $HeapVar[r0779, int$javaUtilEx.LinkedList$ListItr$nextIndex0] := $i5791; goto Block1162; // @line: 642 Block1157: goto Block1158, Block1160; // @line: 646 Block1162: assert ($neref((r0779), ($null))==1); // @line: 646 $i6792 := $HeapVar[r0779, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; goto Block1163; // @line: 642 Block1158: assume ($geint(($i9799), (i0785))==1); goto Block1159; // @line: 642 Block1160: // @line: 642 assume ($negInt(($geint(($i9799), (i0785))))==1); assert ($neref((r0779), ($null))==1); // @line: 643 $r11800 := $HeapVar[r0779, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304]; assert ($neref(($r11800), ($null))==1); // @line: 643 $r12801 := $HeapVar[$r11800, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref((r0779), ($null))==1); // @line: 643 $HeapVar[r0779, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304] := $r12801; assert ($neref((r0779), ($null))==1); // @line: 642 $i10802 := $HeapVar[r0779, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; // @line: 642 $i11803 := $addint(($i10802), (1)); assert ($neref((r0779), ($null))==1); // @line: 642 $HeapVar[r0779, int$javaUtilEx.LinkedList$ListItr$nextIndex0] := $i11803; goto Block1156; // @line: 646 Block1163: goto Block1165, Block1164; // @line: 649 Block1159: return; // @line: 646 Block1165: // @line: 646 assume ($negInt(($leint(($i6792), (i0785))))==1); assert ($neref((r0779), ($null))==1); // @line: 647 $r7793 := $HeapVar[r0779, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304]; assert ($neref(($r7793), ($null))==1); // @line: 647 $r8794 := $HeapVar[$r7793, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; assert ($neref((r0779), ($null))==1); // @line: 647 $HeapVar[r0779, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$next304] := $r8794; assert ($neref((r0779), ($null))==1); // @line: 646 $i7795 := $HeapVar[r0779, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; // @line: 646 $i8796 := $subint(($i7795), (1)); assert ($neref((r0779), ($null))==1); // @line: 646 $HeapVar[r0779, int$javaUtilEx.LinkedList$ListItr$nextIndex0] := $i8796; goto Block1162; // @line: 646 Block1164: assume ($leint(($i6792), (i0785))==1); goto Block1159; } // procedure is generated by joogie. function {:inline true} $gtref($param00 : ref, $param11 : ref) returns (__ret : int); // @line: 382 // procedure int$javaUtilEx.LinkedList$lastIndexOf$2648(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r1653 : ref; var r8663 : ref; var $r5659 : ref; var $r4657 : ref; var $z0658 : int; var $r2654 : ref; var r9664 : ref; var $r3656 : ref; var $r7661 : ref; var r0651 : ref; var i0662 : int; var $r6660 : ref; Block938: r0651 := __this; r1653 := $param_0; assert ($neref((r0651), ($null))==1); // @line: 383 i0662 := $HeapVar[r0651, int$javaUtilEx.LinkedList$size0]; goto Block939; // @line: 384 Block939: goto Block942, Block940; // @line: 384 Block942: // @line: 384 assume ($negInt(($neref((r1653), ($null))))==1); assert ($neref((r0651), ($null))==1); // @line: 385 $r5659 := $HeapVar[r0651, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r5659), ($null))==1); // @line: 385 r8663 := $HeapVar[$r5659, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; goto Block943; // @line: 384 Block940: assume ($neref((r1653), ($null))==1); goto Block941; // @line: 385 Block943: assert ($neref((r0651), ($null))==1); // @line: 385 $r6660 := $HeapVar[r0651, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block944; // @line: 391 Block941: assert ($neref((r0651), ($null))==1); // @line: 391 $r2654 := $HeapVar[r0651, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block954; // @line: 385 Block944: goto Block947, Block945; // @line: 391 Block954: assert ($neref(($r2654), ($null))==1); // @line: 391 r9664 := $HeapVar[$r2654, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; goto Block955; // @line: 385 Block947: // @line: 385 assume ($negInt(($eqref((r8663), ($r6660))))==1); // @line: 386 i0662 := $addint((i0662), (-1)); assert ($neref((r8663), ($null))==1); // @line: 387 $r7661 := $HeapVar[r8663, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; goto Block948; // @line: 385 Block945: assume ($eqref((r8663), ($r6660))==1); goto Block946; // @line: 391 Block955: assert ($neref((r0651), ($null))==1); // @line: 391 $r3656 := $HeapVar[r0651, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block956; // @line: 387 Block948: goto Block951, Block949; // @line: 385 Block946: goto Block953; // @line: 391 Block956: goto Block957, Block958; // @line: 387 Block951: // @line: 387 assume ($negInt(($neref(($r7661), ($null))))==1); // @line: 388 __ret := i0662; return; // @line: 387 Block949: assume ($neref(($r7661), ($null))==1); goto Block950; // @line: 397 Block953: // @line: 397 __ret := -1; return; // @line: 391 Block957: assume ($eqref((r9664), ($r3656))==1); goto Block953; // @line: 391 Block958: // @line: 391 assume ($negInt(($eqref((r9664), ($r3656))))==1); // @line: 392 i0662 := $addint((i0662), (-1)); assert ($neref((r9664), ($null))==1); // @line: 393 $r4657 := $HeapVar[r9664, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; assert ($neref((r1653), ($null))==1); // @line: 393 call $z0658 := boolean$java.lang.Object$equals$32((r1653), ($r4657)); goto Block959; // @line: 385 Block950: assert ($neref((r8663), ($null))==1); // @line: 385 r8663 := $HeapVar[r8663, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; goto Block952; // @line: 393 Block959: goto Block960, Block962; // @line: 385 Block952: goto Block943; // @line: 393 Block960: assume ($eqint(($z0658), (0))==1); goto Block961; // @line: 393 Block962: // @line: 393 assume ($negInt(($eqint(($z0658), (0))))==1); // @line: 394 __ret := i0662; return; // @line: 391 Block961: assert ($neref((r9664), ($null))==1); // @line: 391 r9664 := $HeapVar[r9664, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; goto Block963; // @line: 391 Block963: goto Block955; } // procedure javaUtilEx.ListIterator$javaUtilEx.List$listIterator$2522(__this : ref) returns (__ret : ref); // @line: 704 // procedure void$javaUtilEx.LinkedList$ListItr$set$2685(__this : ref, $param_0 : ref) returns ($Exep1 : ref, $Exep0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r4860 : ref; var $r5862 : ref; var $r2858 : ref; var r0857 : ref; var r1861 : ref; var $r6863 : ref; var $r3859 : ref; //temp local variables var $caughtEx2 : ref; // @line: 704 Block1230: $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block1231; Block1231: r0857 := __this; r1861 := $param_0; assert ($neref((r0857), ($null))==1); // @line: 705 $r3859 := $HeapVar[r0857, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303]; assert ($neref((r0857), ($null))==1); // @line: 705 $r2858 := $HeapVar[r0857, javaUtilEx.LinkedList$javaUtilEx.LinkedList$ListItr$this$0305]; // @line: 705 call $r4860 := javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$access$000$2669(($r2858)); goto Block1232; // @line: 705 Block1232: goto Block1235, Block1233; // @line: 705 Block1235: // @line: 705 assume ($negInt(($neref(($r3859), ($r4860))))==1); // @line: 706 $r6863 := $newvariable((1236)); assume ($neref(($newvariable((1236))), ($null))==1); assert ($neref(($r6863), ($null))==1); // @line: 706 call void$javaUtilEx.IllegalStateException$$la$init$ra$$2574(($r6863)); goto Block1237; // @line: 705 Block1233: assume ($neref(($r3859), ($r4860))==1); goto Block1234; // @line: 705 Block1237: $Exep0 := $r6863; return; // @line: 707 Block1234: assert ($neref((r0857), ($null))==1); // @line: 707 call $caughtEx2 := void$javaUtilEx.LinkedList$ListItr$checkForComodification$2687((r0857)); goto Block1238, Block1240; // @line: 707 Block1238: assume ($neref(($caughtEx2), ($null))==1); goto Block1239; // @line: 707 Block1240: assume ($eqref(($caughtEx2), ($null))==1); goto Block1241; // @line: 707 Block1239: $Exep1 := $caughtEx2; return; // @line: 707 Block1241: goto Block1242; // @line: 708 Block1242: assert ($neref((r0857), ($null))==1); // @line: 708 $r5862 := $HeapVar[r0857, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$ListItr$lastReturned303]; assert ($neref(($r5862), ($null))==1); // @line: 708 $HeapVar[$r5862, java.lang.Object$javaUtilEx.LinkedList$Entry$element300] := r1861; return; } // @line: 41 // ()> procedure void$javaUtilEx.UnsupportedOperationException$$la$init$ra$$2257(__this : ref) requires ($neref((__this), ($null))==1); { var r096 : ref; Block134: r096 := __this; assert ($neref((r096), ($null))==1); // @line: 42 call void$java.lang.RuntimeException$$la$init$ra$$760((r096)); return; } // procedure java.lang.String$java.lang.StringBuilder$toString$2299(__this : ref) returns (__ret : ref); // @line: 147 // procedure void$javaUtilEx.AbstractList$add$2487(__this : ref, $param_0 : int, $param_1 : ref) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0113 : ref; var i0114 : int; var r1115 : ref; var $r2112 : ref; //temp local variables // @line: 147 Block139: $Exep0 := $null; goto Block150; Block150: r0113 := __this; i0114 := $param_0; r1115 := $param_1; // @line: 148 $r2112 := $newvariable((151)); assume ($neref(($newvariable((151))), ($null))==1); assert ($neref(($r2112), ($null))==1); // @line: 148 call void$javaUtilEx.UnsupportedOperationException$$la$init$ra$$2257(($r2112)); goto Block152; Block152: $Exep0 := $r2112; return; } // procedure is generated by joogie. function {:inline true} $negReal($param00 : realVar) returns (__ret : int); // @line: 238 // procedure boolean$javaUtilEx.AbstractCollection$removeAll$2237(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $z150 : int; var r044 : ref; var r148 : ref; var r246 : ref; var $z047 : int; var $r349 : ref; var z251 : int; Block88: r044 := __this; r148 := $param_0; // @line: 239 z251 := 0; assert ($neref((r044), ($null))==1); // @line: 240 call r246 := javaUtilEx.Iterator$javaUtilEx.AbstractCollection$iterator$2229((r044)); goto Block89; // @line: 241 Block89: assert ($neref((r246), ($null))==1); // @line: 241 call $z047 := boolean$javaUtilEx.Iterator$hasNext$2254((r246)); goto Block90; // @line: 241 Block90: goto Block93, Block91; // @line: 241 Block93: // @line: 241 assume ($negInt(($eqint(($z047), (0))))==1); assert ($neref((r246), ($null))==1); // @line: 242 call $r349 := java.lang.Object$javaUtilEx.Iterator$next$2255((r246)); assert ($neref((r148), ($null))==1); // @line: 242 call $z150 := boolean$javaUtilEx.Collection$contains$2243((r148), ($r349)); goto Block94; // @line: 241 Block91: assume ($eqint(($z047), (0))==1); goto Block92; // @line: 242 Block94: goto Block95, Block96; // @line: 247 Block92: // @line: 247 __ret := z251; return; // @line: 242 Block95: assume ($eqint(($z150), (0))==1); goto Block89; // @line: 242 Block96: // @line: 242 assume ($negInt(($eqint(($z150), (0))))==1); assert ($neref((r246), ($null))==1); // @line: 243 call void$javaUtilEx.Iterator$remove$2256((r246)); // @line: 244 z251 := 1; goto Block89; } // @line: 419 // procedure java.lang.Object$javaUtilEx.LinkedList$element$2650(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0668 : ref; var $r1669 : ref; //temp local variables var $caughtEx1 : ref; // @line: 419 Block975: $caughtEx1 := $null; $Exep0 := $null; goto Block976; Block976: r0668 := __this; assert ($neref((r0668), ($null))==1); // @line: 420 call $r1669, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$getFirst$2631((r0668)); goto Block979, Block977; Block979: assume ($eqref(($caughtEx1), ($null))==1); goto Block980; Block977: assume ($neref(($caughtEx1), ($null))==1); goto Block978; Block980: // @line: 420 __ret := $r1669; return; Block978: $Exep0 := $caughtEx1; return; } // @line: 752 // procedure javaUtilEx.List$javaUtilEx.SubList$subList$2560(__this : ref, $param_0 : int, $param_1 : int) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref) requires ($neref((__this), ($null))==1); { var $r1396 : ref; var i0398 : int; var r0397 : ref; var i1399 : int; //temp local variables var $caughtEx3 : ref; var $caughtEx2 : ref; // @line: 752 Block636: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block637; Block637: r0397 := __this; i0398 := $param_0; i1399 := $param_1; // @line: 753 $r1396 := $newvariable((638)); assume ($neref(($newvariable((638))), ($null))==1); assert ($neref(($r1396), ($null))==1); // @line: 753 call $caughtEx2, $caughtEx3 := void$javaUtilEx.SubList$$la$init$ra$$2549(($r1396), (r0397), (i0398), (i1399)); goto Block639, Block641; Block639: assume ($neref(($caughtEx2), ($null))==1); goto Block640; Block641: assume ($eqref(($caughtEx2), ($null))==1); goto Block642; Block640: $Exep0 := $caughtEx2; return; Block642: goto Block645, Block643; Block645: assume ($eqref(($caughtEx3), ($null))==1); goto Block646; Block643: assume ($neref(($caughtEx3), ($null))==1); goto Block644; Block646: // @line: 753 __ret := $r1396; return; Block644: $Exep1 := $caughtEx3; return; } // @line: 55 // (java.lang.String)> procedure void$javaUtilEx.NoSuchElementException$$la$init$ra$$2573(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r0433 : ref; var r1434 : ref; Block685: r0433 := __this; r1434 := $param_0; assert ($neref((r0433), ($null))==1); // @line: 56 call void$java.lang.RuntimeException$$la$init$ra$$761((r0433), (r1434)); return; } // @line: 238 // procedure javaUtilEx.Iterator$javaUtilEx.AbstractSequentialList$iterator$2584(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r1494 : ref; var r0493 : ref; //temp local variables var $caughtEx1 : ref; // @line: 238 Block731: $caughtEx1 := $null; $Exep0 := $null; goto Block732; Block732: r0493 := __this; assert ($neref((r0493), ($null))==1); // @line: 239 call $r1494, $caughtEx1 := javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2494((r0493)); goto Block733, Block735; Block733: assume ($neref(($caughtEx1), ($null))==1); goto Block734; Block735: assume ($eqref(($caughtEx1), ($null))==1); goto Block736; Block734: $Exep0 := $caughtEx1; return; Block736: // @line: 239 __ret := $r1494; return; } // procedure is generated by joogie. function {:inline true} $refarrtoref($param00 : [int]ref) returns (__ret : ref); // procedure java.lang.Object$javaUtilEx.ListIterator$previous$2528(__this : ref) returns (__ret : ref); // procedure is generated by joogie. function {:inline true} $ltreal($param00 : realVar, $param11 : realVar) returns (__ret : int); // @line: 87 // procedure java.lang.Object$javaUtilEx.AbstractSequentialList$get$2579(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r3447 : ref; var $r5450 : ref; var $r2446 : ref; var $r4448 : ref; var r0444 : ref; var i0445 : int; //temp local variables var $caughtEx1 : ref; // @line: 87 Block691: $caughtEx1 := $null; $Exep0 := $null; goto Block692; Block692: r0444 := __this; i0445 := $param_0; goto Block693; // @line: 88 Block693: assert ($neref((r0444), ($null))==1); // @line: 88 call $r2446 := javaUtilEx.ListIterator$javaUtilEx.AbstractSequentialList$listIterator$2585((r0444), (i0445)); assert ($neref(($r2446), ($null))==1); // @line: 88 call $r3447 := java.lang.Object$javaUtilEx.ListIterator$next$2526(($r2446)); goto Block694; // @line: 88 Block694: // @line: 88 __ret := $r3447; return; } // procedure is generated by joogie. function {:inline true} $addref($param00 : ref, $param11 : ref) returns (__ret : ref); // @line: 4 // procedure void$javaUtilEx.juLinkedListCreateRetainAll$main$2627($param_0 : [int]ref) modifies java.lang.String$lp$$rp$$javaUtilEx.Random$args299, $stringSize; { var $i0518 : int; var r1520 : ref; var r0517 : [int]ref; var $i1521 : int; var r2523 : ref; //temp local variables var $freshlocal0 : int; Block754: r0517 := $param_0; // @line: 5 java.lang.String$lp$$rp$$javaUtilEx.Random$args299 := r0517; // @line: 7 call $i0518 := int$javaUtilEx.Random$random$2674(); // @line: 7 call r1520 := javaUtilEx.LinkedList$javaUtilEx.juLinkedListCreateRetainAll$createList$2628(($i0518)); // @line: 8 call $i1521 := int$javaUtilEx.Random$random$2674(); // @line: 8 call r2523 := javaUtilEx.LinkedList$javaUtilEx.juLinkedListCreateRetainAll$createList$2628(($i1521)); assert ($neref((r1520), ($null))==1); // @line: 9 call $freshlocal0 := boolean$javaUtilEx.AbstractCollection$retainAll$2238((r1520), (r2523)); return; } // @line: 464 // procedure boolean$javaUtilEx.LinkedList$offerFirst$2654(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0678 : ref; var r1679 : ref; Block999: r0678 := __this; r1679 := $param_0; assert ($neref((r0678), ($null))==1); // @line: 465 call void$javaUtilEx.LinkedList$addFirst$2635((r0678), (r1679)); // @line: 466 __ret := 1; return; } // @line: 734 // procedure void$javaUtilEx.SubList$1$remove$2700(__this : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r3942 : ref; var $i0944 : int; var $r5945 : ref; var $r4943 : ref; var $r2941 : ref; var r0939 : ref; var $r1940 : ref; //temp local variables var $freshlocal0 : int; Block1325: r0939 := __this; assert ($neref((r0939), ($null))==1); // @line: 735 $r1940 := $HeapVar[r0939, javaUtilEx.ListIterator$javaUtilEx.SubList$1$i308]; assert ($neref(($r1940), ($null))==1); // @line: 735 call void$javaUtilEx.ListIterator$remove$2531(($r1940)); assert ($neref((r0939), ($null))==1); // @line: 736 $r3942 := $HeapVar[r0939, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; assert ($neref((r0939), ($null))==1); // @line: 736 $r2941 := $HeapVar[r0939, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; // @line: 736 call $r4943 := javaUtilEx.AbstractList$javaUtilEx.SubList$access$100$2566(($r2941)); assert ($neref(($r4943), ($null))==1); // @line: 736 $i0944 := $HeapVar[$r4943, int$javaUtilEx.AbstractList$modCount0]; assert ($neref(($r3942), ($null))==1); // @line: 736 $HeapVar[$r3942, int$javaUtilEx.AbstractList$modCount0] := $i0944; assert ($neref((r0939), ($null))==1); // @line: 737 $r5945 := $HeapVar[r0939, javaUtilEx.SubList$javaUtilEx.SubList$1$this$0309]; // @line: 737 call $freshlocal0 := int$javaUtilEx.SubList$access$210$2568(($r5945)); return; } // ()> procedure void$java.lang.RuntimeException$$la$init$ra$$760(__this : ref); // procedure is generated by joogie. function {:inline true} $addreal($param00 : realVar, $param11 : realVar) returns (__ret : realVar); // procedure is generated by joogie. function {:inline true} $gtreal($param00 : realVar, $param11 : realVar) returns (__ret : int); // @line: 271 // procedure boolean$javaUtilEx.AbstractCollection$retainAll$2238(__this : ref, $param_0 : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var z260 : int; var $z159 : int; var r053 : ref; var r157 : ref; var r255 : ref; var $r358 : ref; var $z056 : int; Block97: r053 := __this; r157 := $param_0; // @line: 272 z260 := 0; assert ($neref((r053), ($null))==1); // @line: 273 call r255 := javaUtilEx.Iterator$javaUtilEx.AbstractCollection$iterator$2229((r053)); goto Block98; // @line: 274 Block98: assert ($neref((r255), ($null))==1); // @line: 274 call $z056 := boolean$javaUtilEx.Iterator$hasNext$2254((r255)); goto Block99; // @line: 274 Block99: goto Block100, Block102; // @line: 274 Block100: assume ($eqint(($z056), (0))==1); goto Block101; // @line: 274 Block102: // @line: 274 assume ($negInt(($eqint(($z056), (0))))==1); assert ($neref((r255), ($null))==1); // @line: 275 call $r358 := java.lang.Object$javaUtilEx.Iterator$next$2255((r255)); assert ($neref((r157), ($null))==1); // @line: 275 call $z159 := boolean$javaUtilEx.Collection$contains$2243((r157), ($r358)); goto Block103; // @line: 280 Block101: // @line: 280 __ret := z260; return; // @line: 275 Block103: goto Block104, Block105; // @line: 275 Block104: assume ($neint(($z159), (0))==1); goto Block98; // @line: 275 Block105: // @line: 275 assume ($negInt(($neint(($z159), (0))))==1); assert ($neref((r255), ($null))==1); // @line: 276 call void$javaUtilEx.Iterator$remove$2256((r255)); // @line: 277 z260 := 1; goto Block98; } // procedure is generated by joogie. function {:inline true} $newvariable($param00 : int) returns (__ret : ref); // @line: 660 // procedure java.lang.Object$javaUtilEx.SubList$remove$2554(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref, $Exep2 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var r1356 : ref; var $i5360 : int; var $i3358 : int; var i0351 : int; var $i1352 : int; var $i4359 : int; var $r2354 : ref; var $i2353 : int; var r0350 : ref; var $r3357 : ref; //temp local variables var $caughtEx3 : ref; var $caughtEx4 : ref; var $caughtEx5 : ref; // @line: 660 Block553: $caughtEx5 := $null; $caughtEx4 := $null; $caughtEx3 := $null; $Exep2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block554; Block554: r0350 := __this; i0351 := $param_0; assert ($neref((r0350), ($null))==1); // @line: 661 call $caughtEx3 := void$javaUtilEx.SubList$rangeCheck$2561((r0350), (i0351)); goto Block555, Block557; Block555: assume ($neref(($caughtEx3), ($null))==1); goto Block556; Block557: assume ($eqref(($caughtEx3), ($null))==1); goto Block558; Block556: $Exep0 := $caughtEx3; return; Block558: assert ($neref((r0350), ($null))==1); // @line: 662 call $caughtEx4 := void$javaUtilEx.SubList$checkForComodification$2564((r0350)); goto Block561, Block559; Block561: assume ($eqref(($caughtEx4), ($null))==1); goto Block562; Block559: assume ($neref(($caughtEx4), ($null))==1); goto Block560; Block562: assert ($neref((r0350), ($null))==1); // @line: 663 $r2354 := $HeapVar[r0350, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref((r0350), ($null))==1); // @line: 663 $i1352 := $HeapVar[r0350, int$javaUtilEx.SubList$offset0]; // @line: 663 $i2353 := $addint((i0351), ($i1352)); assert ($neref(($r2354), ($null))==1); // @line: 663 call r1356, $caughtEx5 := java.lang.Object$javaUtilEx.AbstractList$remove$2488(($r2354), ($i2353)); goto Block563, Block565; Block560: $Exep1 := $caughtEx4; return; Block563: assume ($neref(($caughtEx5), ($null))==1); goto Block564; Block565: assume ($eqref(($caughtEx5), ($null))==1); goto Block566; Block564: $Exep2 := $caughtEx5; return; Block566: assert ($neref((r0350), ($null))==1); // @line: 664 $r3357 := $HeapVar[r0350, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref(($r3357), ($null))==1); // @line: 664 $i3358 := $HeapVar[$r3357, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0350), ($null))==1); // @line: 664 $HeapVar[r0350, int$javaUtilEx.AbstractList$modCount0] := $i3358; assert ($neref((r0350), ($null))==1); // @line: 665 $i4359 := $HeapVar[r0350, int$javaUtilEx.SubList$size0]; // @line: 665 $i5360 := $subint(($i4359), (1)); assert ($neref((r0350), ($null))==1); // @line: 665 $HeapVar[r0350, int$javaUtilEx.SubList$size0] := $i5360; // @line: 666 __ret := r1356; return; } // @line: 627 // procedure javaUtilEx.ListIterator$javaUtilEx.LinkedList$listIterator$2664(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0716 : ref; var $r1715 : ref; var i0717 : int; //temp local variables var $caughtEx1 : ref; // @line: 627 Block1094: $caughtEx1 := $null; $Exep0 := $null; goto Block1095; Block1095: r0716 := __this; i0717 := $param_0; // @line: 628 $r1715 := $newvariable((1096)); assume ($neref(($newvariable((1096))), ($null))==1); assert ($neref(($r1715), ($null))==1); // @line: 628 call $caughtEx1 := void$javaUtilEx.LinkedList$ListItr$$la$init$ra$$2677(($r1715), (r0716), (i0717)); goto Block1097, Block1099; Block1097: assume ($neref(($caughtEx1), ($null))==1); goto Block1098; Block1099: assume ($eqref(($caughtEx1), ($null))==1); goto Block1100; Block1098: $Exep0 := $caughtEx1; return; Block1100: // @line: 628 __ret := $r1715; return; } // procedure java.lang.StringBuilder$java.lang.StringBuilder$append$2265(__this : ref, $param_0 : ref) returns (__ret : ref); // procedure is generated by joogie. function {:inline true} $geint(x : int, y : int) returns (__ret : int) { if (x >= y) then 1 else 0 } // procedure is generated by joogie. function {:inline true} $shlref($param00 : ref, $param11 : ref) returns (__ret : int); // procedure java.lang.Object$javaUtilEx.Iterator$next$2255(__this : ref) returns (__ret : ref); // procedure is generated by joogie. function {:inline true} $reftointarr($param00 : ref) returns (__ret : [int]int); // @line: 773 // procedure java.lang.Object$javaUtilEx.LinkedList$DescendingIterator$next$2690(__this : ref) returns (__ret : ref, $Exep1 : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r2891 : ref; var r0889 : ref; var $r1890 : ref; //temp local variables var $caughtEx3 : ref; var $caughtEx2 : ref; // @line: 773 Block1263: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block1264; Block1264: r0889 := __this; assert ($neref((r0889), ($null))==1); // @line: 774 $r1890 := $HeapVar[r0889, javaUtilEx.LinkedList$ListItr$javaUtilEx.LinkedList$DescendingIterator$itr306]; assert ($neref(($r1890), ($null))==1); // @line: 774 call $r2891, $caughtEx2, $caughtEx3 := java.lang.Object$javaUtilEx.LinkedList$ListItr$previous$2681(($r1890)); goto Block1265, Block1267; Block1265: assume ($neref(($caughtEx2), ($null))==1); goto Block1266; Block1267: assume ($eqref(($caughtEx2), ($null))==1); goto Block1268; Block1266: $Exep1 := $caughtEx2; return; Block1268: goto Block1269, Block1271; Block1269: assume ($neref(($caughtEx3), ($null))==1); goto Block1270; Block1271: assume ($eqref(($caughtEx3), ($null))==1); goto Block1272; Block1270: $Exep0 := $caughtEx3; return; Block1272: // @line: 774 __ret := $r2891; return; } // @line: 299 // procedure javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2494(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r1159 : ref; var r0158 : ref; //temp local variables var $caughtEx1 : ref; // @line: 299 Block159: $caughtEx1 := $null; $Exep0 := $null; goto Block232; Block232: r0158 := __this; assert ($neref((r0158), ($null))==1); // @line: 300 call $r1159, $caughtEx1 := javaUtilEx.ListIterator$javaUtilEx.AbstractList$listIterator$2495((r0158), (0)); goto Block235, Block233; Block235: assume ($eqref(($caughtEx1), ($null))==1); goto Block236; Block233: assume ($neref(($caughtEx1), ($null))==1); goto Block234; Block236: // @line: 300 __ret := $r1159; return; Block234: $Exep0 := $caughtEx1; return; } // @line: 684 // procedure int$javaUtilEx.LinkedList$ListItr$previousIndex$2683(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var r0837 : ref; var $i0838 : int; var $i1839 : int; Block1206: r0837 := __this; assert ($neref((r0837), ($null))==1); // @line: 685 $i0838 := $HeapVar[r0837, int$javaUtilEx.LinkedList$ListItr$nextIndex0]; // @line: 685 $i1839 := $subint(($i0838), (1)); // @line: 685 __ret := $i1839; return; } // @line: 137 // procedure java.lang.Object$javaUtilEx.LinkedList$getLast$2632(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r1547 : ref; var $i0546 : int; var $r4550 : ref; var $r3549 : ref; var r0545 : ref; var $r2548 : ref; //temp local variables // @line: 137 Block779: $Exep0 := $null; goto Block780; Block780: r0545 := __this; assert ($neref((r0545), ($null))==1); // @line: 138 $i0546 := $HeapVar[r0545, int$javaUtilEx.LinkedList$size0]; goto Block781; // @line: 138 Block781: goto Block784, Block782; // @line: 138 Block784: // @line: 138 assume ($negInt(($neint(($i0546), (0))))==1); // @line: 139 $r4550 := $newvariable((785)); assume ($neref(($newvariable((785))), ($null))==1); assert ($neref(($r4550), ($null))==1); // @line: 139 call void$javaUtilEx.NoSuchElementException$$la$init$ra$$2572(($r4550)); goto Block786; // @line: 138 Block782: assume ($neint(($i0546), (0))==1); goto Block783; // @line: 138 Block786: $Exep0 := $r4550; return; // @line: 141 Block783: assert ($neref((r0545), ($null))==1); // @line: 141 $r1547 := $HeapVar[r0545, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block787; // @line: 141 Block787: assert ($neref(($r1547), ($null))==1); // @line: 141 $r2548 := $HeapVar[$r1547, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; assert ($neref(($r2548), ($null))==1); // @line: 141 $r3549 := $HeapVar[$r2548, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; // @line: 141 __ret := $r3549; return; } // @line: 233 // procedure void$javaUtilEx.AbstractList$clear$2491(__this : ref) returns ($Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0142 : ref; var $i0144 : int; //temp local variables var $caughtEx1 : ref; // @line: 233 Block209: $caughtEx1 := $null; $Exep0 := $null; goto Block210; Block210: r0142 := __this; assert ($neref((r0142), ($null))==1); // @line: 234 call $i0144 := int$javaUtilEx.AbstractCollection$size$2230((r0142)); assert ($neref((r0142), ($null))==1); // @line: 234 call $caughtEx1 := void$javaUtilEx.AbstractList$removeRange$2499((r0142), (0), ($i0144)); goto Block211, Block213; Block211: assume ($neref(($caughtEx1), ($null))==1); goto Block212; Block213: assume ($eqref(($caughtEx1), ($null))==1); goto Block214; Block212: $Exep0 := $caughtEx1; return; Block214: return; } // procedure javaUtilEx.ListIterator$javaUtilEx.AbstractSequentialList$listIterator$2585(__this : ref, $param_0 : int) returns (__ret : ref); // procedure int$java.lang.Object$hashCode$31(__this : ref) returns (__ret : int); // @line: 539 // procedure int$javaUtilEx.AbstractList$hashCode$2498(__this : ref) returns (__ret : int) requires ($neref((__this), ($null))==1); { var $z0195 : int; var $i2201 : int; var r1194 : ref; var r2197 : ref; var $i0198 : int; var r0192 : ref; var i1200 : int; Block314: r0192 := __this; // @line: 540 i1200 := 1; assert ($neref((r0192), ($null))==1); // @line: 541 call r1194 := javaUtilEx.Iterator$javaUtilEx.AbstractList$iterator$2493((r0192)); goto Block315; // @line: 542 Block315: assert ($neref((r1194), ($null))==1); // @line: 542 call $z0195 := boolean$javaUtilEx.Iterator$hasNext$2254((r1194)); goto Block316; // @line: 542 Block316: goto Block317, Block319; // @line: 542 Block317: assume ($eqint(($z0195), (0))==1); goto Block318; // @line: 542 Block319: // @line: 542 assume ($negInt(($eqint(($z0195), (0))))==1); assert ($neref((r1194), ($null))==1); // @line: 543 call r2197 := java.lang.Object$javaUtilEx.Iterator$next$2255((r1194)); // @line: 544 $i0198 := $mulint((31), (i1200)); goto Block320; // @line: 546 Block318: // @line: 546 __ret := i1200; return; // @line: 544 Block320: goto Block321, Block323; // @line: 544 Block321: assume ($neref((r2197), ($null))==1); goto Block322; // @line: 544 Block323: // @line: 544 assume ($negInt(($neref((r2197), ($null))))==1); // @line: 542 $i2201 := 0; goto Block324; // @line: 544 Block322: assert ($neref((r2197), ($null))==1); // @line: 544 call $i2201 := int$java.lang.Object$hashCode$31((r2197)); goto Block324; // @line: 544 Block324: // @line: 544 i1200 := $addint(($i0198), ($i2201)); goto Block325; // @line: 545 Block325: goto Block315; } // @line: 355 // procedure java.lang.Object$javaUtilEx.AbstractList$Itr$next$2536(__this : ref) returns (__ret : ref, $Exep0 : ref, $Exep1 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $r2230 : ref; var r1232 : ref; var $i0233 : int; var i1236 : int; var $r4235 : ref; var r0228 : ref; var $r3234 : ref; //temp local variables var $caughtEx3 : ref; var $caughtEx2 : ref; // @line: 355 Block355: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block356; Block356: r0228 := __this; assert ($neref((r0228), ($null))==1); // @line: 356 call $caughtEx2 := void$javaUtilEx.AbstractList$Itr$checkForComodification$2538((r0228)); goto Block357, Block359; Block357: assume ($neref(($caughtEx2), ($null))==1); goto Block358; Block359: assume ($eqref(($caughtEx2), ($null))==1); goto Block360; Block358: $Exep0 := $caughtEx2; return; Block360: goto Block361; // @line: 358 Block361: assert ($neref((r0228), ($null))==1); // @line: 358 i1236 := $HeapVar[r0228, int$javaUtilEx.AbstractList$Itr$cursor0]; assert ($neref((r0228), ($null))==1); // @line: 359 $r2230 := $HeapVar[r0228, javaUtilEx.AbstractList$javaUtilEx.AbstractList$Itr$this$0295]; assert ($neref(($r2230), ($null))==1); // @line: 359 call r1232 := java.lang.Object$javaUtilEx.AbstractList$get$2485(($r2230), (i1236)); assert ($neref((r0228), ($null))==1); // @line: 360 $HeapVar[r0228, int$javaUtilEx.AbstractList$Itr$lastRet0] := i1236; // @line: 361 $i0233 := $addint((i1236), (1)); assert ($neref((r0228), ($null))==1); // @line: 361 $HeapVar[r0228, int$javaUtilEx.AbstractList$Itr$cursor0] := $i0233; goto Block362; // @line: 362 Block362: // @line: 362 __ret := r1232; return; } // ()> procedure void$java.lang.IndexOutOfBoundsException$$la$init$ra$$2075(__this : ref); // @line: 612 // procedure java.lang.String$javaUtilEx.AbstractList$outOfBoundsMsg$2501(__this : ref, $param_0 : int) returns (__ret : ref) modifies $stringSize; requires ($neref((__this), ($null))==1); { var i0217 : int; var r0216 : ref; Block346: r0216 := __this; i0217 := $param_0; $stringSize[$fresh2] := 0; // @line: 613 __ret := $fresh2; return; } // procedure is generated by joogie. function {:inline true} $divreal($param00 : realVar, $param11 : realVar) returns (__ret : realVar); // (java.lang.String)> procedure void$java.lang.IndexOutOfBoundsException$$la$init$ra$$2076(__this : ref, $param_0 : ref); // procedure is generated by joogie. function {:inline true} $realtoint($param00 : realVar) returns (__ret : int); // @line: 777 // (javaUtilEx.AbstractList,int,int)> procedure void$javaUtilEx.RandomAccessSubList$$la$init$ra$$2540(__this : ref, $param_0 : ref, $param_1 : int, $param_2 : int) returns ($Exep0 : ref, $Exep1 : ref) requires ($neref((__this), ($null))==1); { var r1262 : ref; var r0261 : ref; var i1264 : int; var i0263 : int; //temp local variables var $caughtEx3 : ref; var $caughtEx2 : ref; // @line: 777 Block244: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block404; Block404: r0261 := __this; r1262 := $param_0; i0263 := $param_1; i1264 := $param_2; assert ($neref((r0261), ($null))==1); // @line: 778 call $caughtEx2, $caughtEx3 := void$javaUtilEx.SubList$$la$init$ra$$2549((r0261), (r1262), (i0263), (i1264)); goto Block407, Block405; Block407: assume ($eqref(($caughtEx2), ($null))==1); goto Block408; Block405: assume ($neref(($caughtEx2), ($null))==1); goto Block406; Block408: goto Block409, Block411; Block406: $Exep0 := $caughtEx2; return; Block409: assume ($neref(($caughtEx3), ($null))==1); goto Block410; Block411: assume ($eqref(($caughtEx3), ($null))==1); goto Block412; Block410: $Exep1 := $caughtEx3; return; Block412: return; } // @line: 170 // procedure java.lang.Object$javaUtilEx.AbstractSequentialList$remove$2582(__this : ref, $param_0 : int) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r4477 : ref; var $r2475 : ref; var r1474 : ref; var $r3476 : ref; var i0470 : int; var r0469 : ref; //temp local variables var $caughtEx1 : ref; // @line: 170 Block713: $caughtEx1 := $null; $Exep0 := $null; goto Block714; Block714: r0469 := __this; i0470 := $param_0; goto Block715; // @line: 171 Block715: assert ($neref((r0469), ($null))==1); // @line: 171 call r4477 := javaUtilEx.ListIterator$javaUtilEx.AbstractSequentialList$listIterator$2585((r0469), (i0470)); assert ($neref((r4477), ($null))==1); // @line: 172 call r1474 := java.lang.Object$javaUtilEx.ListIterator$next$2526((r4477)); assert ($neref((r4477), ($null))==1); // @line: 173 call void$javaUtilEx.ListIterator$remove$2531((r4477)); goto Block716; // @line: 174 Block716: // @line: 174 __ret := r1474; return; } // @line: 90 // procedure int$javaUtilEx.LinkedList$access$100$2670($param_0 : ref) returns (__ret : int) { var r0759 : ref; var $i0760 : int; Block1128: r0759 := $param_0; assert ($neref((r0759), ($null))==1); // @line: 91 $i0760 := $HeapVar[r0759, int$javaUtilEx.LinkedList$size0]; // @line: 91 __ret := $i0760; return; } // procedure javaUtilEx.Iterator$javaUtilEx.Collection$iterator$2244(__this : ref) returns (__ret : ref); // @line: 737 // procedure javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$addBefore$2665(__this : ref, $param_0 : ref, $param_1 : ref) returns (__ret : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var r3722 : ref; var $i3729 : int; var $i0726 : int; var $i1727 : int; var r0725 : ref; var $r5721 : ref; var $r7724 : ref; var r1719 : ref; var $r6723 : ref; var $r4718 : ref; var r2720 : ref; var $i2728 : int; Block1101: r0725 := __this; r1719 := $param_0; r2720 := $param_1; // @line: 738 $r4718 := $newvariable((1102)); assume ($neref(($newvariable((1102))), ($null))==1); assert ($neref((r2720), ($null))==1); // @line: 738 $r5721 := $HeapVar[r2720, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; assert ($neref(($r4718), ($null))==1); // @line: 738 call void$javaUtilEx.LinkedList$Entry$$la$init$ra$$2676(($r4718), (r1719), (r2720), ($r5721)); // @line: 738 r3722 := $r4718; assert ($neref((r3722), ($null))==1); // @line: 739 $r6723 := $HeapVar[r3722, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; assert ($neref(($r6723), ($null))==1); // @line: 739 $HeapVar[$r6723, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301] := r3722; assert ($neref((r3722), ($null))==1); // @line: 740 $r7724 := $HeapVar[r3722, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref(($r7724), ($null))==1); // @line: 740 $HeapVar[$r7724, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302] := r3722; assert ($neref((r0725), ($null))==1); // @line: 741 $i0726 := $HeapVar[r0725, int$javaUtilEx.LinkedList$size0]; // @line: 741 $i1727 := $addint(($i0726), (1)); assert ($neref((r0725), ($null))==1); // @line: 741 $HeapVar[r0725, int$javaUtilEx.LinkedList$size0] := $i1727; assert ($neref((r0725), ($null))==1); // @line: 742 $i2728 := $HeapVar[r0725, int$javaUtilEx.AbstractList$modCount0]; // @line: 742 $i3729 := $addint(($i2728), (1)); assert ($neref((r0725), ($null))==1); // @line: 742 $HeapVar[r0725, int$javaUtilEx.AbstractList$modCount0] := $i3729; // @line: 743 __ret := r3722; return; } // @line: 517 // procedure java.lang.Object$javaUtilEx.LinkedList$pollFirst$2658(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0688 : ref; var $r1690 : ref; var $i0689 : int; //temp local variables var $caughtEx1 : ref; // @line: 517 Block1023: $caughtEx1 := $null; $Exep0 := $null; goto Block1024; Block1024: r0688 := __this; assert ($neref((r0688), ($null))==1); // @line: 518 $i0689 := $HeapVar[r0688, int$javaUtilEx.LinkedList$size0]; goto Block1025; // @line: 518 Block1025: goto Block1026, Block1028; // @line: 518 Block1026: assume ($neint(($i0689), (0))==1); goto Block1027; // @line: 518 Block1028: // @line: 518 assume ($negInt(($neint(($i0689), (0))))==1); // @line: 519 __ret := $null; return; // @line: 520 Block1027: assert ($neref((r0688), ($null))==1); // @line: 520 call $r1690, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$removeFirst$2633((r0688)); goto Block1029, Block1031; // @line: 520 Block1029: assume ($neref(($caughtEx1), ($null))==1); goto Block1030; // @line: 520 Block1031: assume ($eqref(($caughtEx1), ($null))==1); goto Block1032; // @line: 520 Block1030: $Exep0 := $caughtEx1; return; // @line: 520 Block1032: goto Block1033; // @line: 520 Block1033: // @line: 520 __ret := $r1690; return; } // @line: 546 // procedure void$javaUtilEx.LinkedList$push$2660(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r0694 : ref; var r1695 : ref; Block1045: r0694 := __this; r1695 := $param_0; assert ($neref((r0694), ($null))==1); // @line: 547 call void$javaUtilEx.LinkedList$addFirst$2635((r0694), (r1695)); return; } // procedure is generated by joogie. function {:inline true} $negRef($param00 : ref) returns (__ret : int); // @line: 150 // procedure java.lang.Object$javaUtilEx.LinkedList$removeFirst$2633(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r3554 : ref; var r0551 : ref; var $r2553 : ref; var $r1552 : ref; //temp local variables var $caughtEx1 : ref; // @line: 150 Block789: $caughtEx1 := $null; $Exep0 := $null; goto Block790; Block790: r0551 := __this; assert ($neref((r0551), ($null))==1); // @line: 151 $r1552 := $HeapVar[r0551, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r1552), ($null))==1); // @line: 151 $r2553 := $HeapVar[$r1552, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; assert ($neref((r0551), ($null))==1); // @line: 151 call $r3554, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$remove$2666((r0551), ($r2553)); goto Block793, Block791; Block793: assume ($eqref(($caughtEx1), ($null))==1); goto Block794; Block791: assume ($neref(($caughtEx1), ($null))==1); goto Block792; Block794: // @line: 151 __ret := $r3554; return; Block792: $Exep0 := $caughtEx1; return; } // @line: 232 // procedure boolean$javaUtilEx.LinkedList$remove$2640(__this : ref, $param_0 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r6587 : ref; var $r8589 : ref; var r0580 : ref; var r11592 : ref; var r1579 : ref; var r10591 : ref; var $r7588 : ref; var $z0585 : int; var $r2581 : ref; var $r3583 : ref; var $r4584 : ref; //temp local variables var $freshlocal3 : ref; var $freshlocal2 : ref; var $caughtEx1 : ref; // @line: 232 Block811: $caughtEx1 := $null; $Exep0 := $null; goto Block812; Block812: r0580 := __this; r1579 := $param_0; goto Block813; // @line: 233 Block813: goto Block814, Block816; // @line: 233 Block814: assume ($neref((r1579), ($null))==1); goto Block815; // @line: 233 Block816: // @line: 233 assume ($negInt(($neref((r1579), ($null))))==1); assert ($neref((r0580), ($null))==1); // @line: 234 $r6587 := $HeapVar[r0580, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r6587), ($null))==1); // @line: 234 r10591 := $HeapVar[$r6587, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block817; // @line: 241 Block815: assert ($neref((r0580), ($null))==1); // @line: 241 $r2581 := $HeapVar[r0580, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block832; // @line: 234 Block817: assert ($neref((r0580), ($null))==1); // @line: 234 $r7588 := $HeapVar[r0580, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block818; // @line: 241 Block832: assert ($neref(($r2581), ($null))==1); // @line: 241 r11592 := $HeapVar[$r2581, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block833; // @line: 234 Block818: goto Block821, Block819; // @line: 241 Block833: assert ($neref((r0580), ($null))==1); // @line: 241 $r3583 := $HeapVar[r0580, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; goto Block834; // @line: 234 Block821: // @line: 234 assume ($negInt(($eqref((r10591), ($r7588))))==1); assert ($neref((r10591), ($null))==1); // @line: 235 $r8589 := $HeapVar[r10591, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; goto Block822; // @line: 234 Block819: assume ($eqref((r10591), ($r7588))==1); goto Block820; // @line: 241 Block834: goto Block836, Block835; // @line: 235 Block822: goto Block825, Block823; // @line: 234 Block820: goto Block831; // @line: 241 Block836: // @line: 241 assume ($negInt(($eqref((r11592), ($r3583))))==1); assert ($neref((r11592), ($null))==1); // @line: 242 $r4584 := $HeapVar[r11592, java.lang.Object$javaUtilEx.LinkedList$Entry$element300]; assert ($neref((r1579), ($null))==1); // @line: 242 call $z0585 := boolean$java.lang.Object$equals$32((r1579), ($r4584)); goto Block837; // @line: 241 Block835: assume ($eqref((r11592), ($r3583))==1); goto Block831; // @line: 235 Block825: // @line: 235 assume ($negInt(($neref(($r8589), ($null))))==1); assert ($neref((r0580), ($null))==1); // @line: 236 call $freshlocal2, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$remove$2666((r0580), (r10591)); goto Block826, Block828; // @line: 235 Block823: assume ($neref(($r8589), ($null))==1); goto Block824; // @line: 248 Block831: // @line: 248 __ret := 0; return; // @line: 242 Block837: goto Block840, Block838; // @line: 235 Block826: assume ($neref(($caughtEx1), ($null))==1); goto Block827; // @line: 235 Block828: assume ($eqref(($caughtEx1), ($null))==1); goto Block829; // @line: 234 Block824: assert ($neref((r10591), ($null))==1); // @line: 234 r10591 := $HeapVar[r10591, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block830; // @line: 242 Block840: // @line: 242 assume ($negInt(($eqint(($z0585), (0))))==1); assert ($neref((r0580), ($null))==1); // @line: 243 call $freshlocal3, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$remove$2666((r0580), (r11592)); goto Block841, Block843; // @line: 242 Block838: assume ($eqint(($z0585), (0))==1); goto Block839; // @line: 235 Block827: $Exep0 := $caughtEx1; return; // @line: 235 Block829: // @line: 237 __ret := 1; return; // @line: 234 Block830: goto Block817; // @line: 242 Block841: assume ($neref(($caughtEx1), ($null))==1); goto Block842; // @line: 242 Block843: assume ($eqref(($caughtEx1), ($null))==1); goto Block844; // @line: 241 Block839: assert ($neref((r11592), ($null))==1); // @line: 241 r11592 := $HeapVar[r11592, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$next301]; goto Block845; // @line: 242 Block842: $Exep0 := $caughtEx1; return; // @line: 242 Block844: // @line: 244 __ret := 1; return; // @line: 241 Block845: goto Block833; } // @line: 391 // (javaUtilEx.AbstractList,int)> procedure void$javaUtilEx.AbstractList$ListItr$$la$init$ra$$2542(__this : ref, $param_0 : ref, $param_1 : int) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var r1270 : ref; var r0269 : ref; var i0271 : int; Block424: r0269 := __this; r1270 := $param_0; i0271 := $param_1; assert ($neref((r0269), ($null))==1); // @line: 392 $HeapVar[r0269, javaUtilEx.AbstractList$javaUtilEx.AbstractList$ListItr$this$0296] := r1270; assert ($neref((r0269), ($null))==1); // @line: 392 call void$javaUtilEx.AbstractList$Itr$$la$init$ra$$2539((r0269), (r1270), ($null)); assert ($neref((r0269), ($null))==1); // @line: 393 $HeapVar[r0269, int$javaUtilEx.AbstractList$Itr$cursor0] := i0271; return; } // procedure is generated by joogie. function {:inline true} $negInt(x : int) returns (__ret : int) { if (x == 0) then 1 else 0 } // @line: 92 // (java.lang.Throwable)> procedure void$javaUtilEx.IllegalStateException$$la$init$ra$$2577(__this : ref, $param_0 : ref) requires ($neref((__this), ($null))==1); { var r0441 : ref; var r1442 : ref; Block689: r0441 := __this; r1442 := $param_0; assert ($neref((r0441), ($null))==1); // @line: 93 call void$java.lang.RuntimeException$$la$init$ra$$763((r0441), (r1442)); return; } // @line: 441 // procedure java.lang.Object$javaUtilEx.LinkedList$remove$2652(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r0673 : ref; var $r1674 : ref; //temp local variables var $caughtEx1 : ref; // @line: 441 Block992: $caughtEx1 := $null; $Exep0 := $null; goto Block993; Block993: r0673 := __this; assert ($neref((r0673), ($null))==1); // @line: 442 call $r1674, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$removeFirst$2633((r0673)); goto Block994, Block996; Block994: assume ($neref(($caughtEx1), ($null))==1); goto Block995; Block996: assume ($eqref(($caughtEx1), ($null))==1); goto Block997; Block995: $Exep0 := $caughtEx1; return; Block997: // @line: 442 __ret := $r1674; return; } // procedure is generated by joogie. function {:inline true} $eqref(x : ref, y : ref) returns (__ret : int) { if (x == y) then 1 else 0 } // @line: 669 // procedure void$javaUtilEx.SubList$removeRange$2555(__this : ref, $param_0 : int, $param_1 : int) returns ($Exep1 : ref, $Exep0 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $i4366 : int; var $i3365 : int; var $i2363 : int; var i0362 : int; var $i6370 : int; var $r2369 : ref; var i1364 : int; var r0361 : ref; var $i9373 : int; var $i7371 : int; var $i5367 : int; var $i8372 : int; var $r1368 : ref; //temp local variables var $caughtEx3 : ref; var $caughtEx2 : ref; // @line: 669 Block567: $caughtEx3 := $null; $caughtEx2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block568; Block568: r0361 := __this; i0362 := $param_0; i1364 := $param_1; assert ($neref((r0361), ($null))==1); // @line: 670 call $caughtEx2 := void$javaUtilEx.SubList$checkForComodification$2564((r0361)); goto Block569, Block571; Block569: assume ($neref(($caughtEx2), ($null))==1); goto Block570; Block571: assume ($eqref(($caughtEx2), ($null))==1); goto Block572; Block570: $Exep0 := $caughtEx2; return; Block572: assert ($neref((r0361), ($null))==1); // @line: 671 $r1368 := $HeapVar[r0361, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref((r0361), ($null))==1); // @line: 671 $i2363 := $HeapVar[r0361, int$javaUtilEx.SubList$offset0]; // @line: 671 $i5367 := $addint((i0362), ($i2363)); assert ($neref((r0361), ($null))==1); // @line: 671 $i3365 := $HeapVar[r0361, int$javaUtilEx.SubList$offset0]; // @line: 671 $i4366 := $addint((i1364), ($i3365)); assert ($neref(($r1368), ($null))==1); // @line: 671 call $caughtEx3 := void$javaUtilEx.AbstractList$removeRange$2499(($r1368), ($i5367), ($i4366)); goto Block573, Block575; Block573: assume ($neref(($caughtEx3), ($null))==1); goto Block574; Block575: assume ($eqref(($caughtEx3), ($null))==1); goto Block576; Block574: $Exep1 := $caughtEx3; return; Block576: assert ($neref((r0361), ($null))==1); // @line: 672 $r2369 := $HeapVar[r0361, javaUtilEx.AbstractList$javaUtilEx.SubList$l297]; assert ($neref(($r2369), ($null))==1); // @line: 672 $i6370 := $HeapVar[$r2369, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0361), ($null))==1); // @line: 672 $HeapVar[r0361, int$javaUtilEx.AbstractList$modCount0] := $i6370; assert ($neref((r0361), ($null))==1); // @line: 673 $i8372 := $HeapVar[r0361, int$javaUtilEx.SubList$size0]; // @line: 673 $i7371 := $subint((i1364), (i0362)); // @line: 673 $i9373 := $subint(($i8372), ($i7371)); assert ($neref((r0361), ($null))==1); // @line: 673 $HeapVar[r0361, int$javaUtilEx.SubList$size0] := $i9373; return; } // @line: 213 // procedure boolean$javaUtilEx.AbstractSequentialList$addAll$2583(__this : ref, $param_0 : int, $param_1 : ref) returns (__ret : int, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var r2483 : ref; var $r6490 : ref; var z1491 : int; var $z0487 : int; var $r5489 : ref; var r0480 : ref; var r3486 : ref; var i0481 : int; var r1484 : ref; var $r4488 : ref; //temp local variables var $caughtEx1 : ref; // @line: 213 Block720: $caughtEx1 := $null; $Exep0 := $null; goto Block721; Block721: r0480 := __this; i0481 := $param_0; r1484 := $param_1; goto Block722; // @line: 214 Block722: // @line: 214 z1491 := 0; assert ($neref((r0480), ($null))==1); // @line: 215 call r2483 := javaUtilEx.ListIterator$javaUtilEx.AbstractSequentialList$listIterator$2585((r0480), (i0481)); assert ($neref((r1484), ($null))==1); // @line: 216 call r3486 := javaUtilEx.Iterator$javaUtilEx.Collection$iterator$2244((r1484)); goto Block723; // @line: 217 Block723: assert ($neref((r3486), ($null))==1); // @line: 217 call $z0487 := boolean$javaUtilEx.Iterator$hasNext$2254((r3486)); goto Block724; // @line: 217 Block724: goto Block727, Block725; // @line: 217 Block727: // @line: 217 assume ($negInt(($eqint(($z0487), (0))))==1); assert ($neref((r3486), ($null))==1); // @line: 218 call $r4488 := java.lang.Object$javaUtilEx.Iterator$next$2255((r3486)); assert ($neref((r2483), ($null))==1); // @line: 218 call void$javaUtilEx.ListIterator$add$2533((r2483), ($r4488)); // @line: 219 z1491 := 1; goto Block723; // @line: 217 Block725: assume ($eqint(($z0487), (0))==1); goto Block726; // @line: 221 Block726: // @line: 221 __ret := z1491; return; } // @line: 160 // procedure java.lang.Object$javaUtilEx.LinkedList$removeLast$2634(__this : ref) returns (__ret : ref, $Exep0 : ref) requires ($neref((__this), ($null))==1); { var $r1556 : ref; var r0555 : ref; var $r2557 : ref; var $r3558 : ref; //temp local variables var $caughtEx1 : ref; // @line: 160 Block795: $caughtEx1 := $null; $Exep0 := $null; goto Block796; Block796: r0555 := __this; assert ($neref((r0555), ($null))==1); // @line: 161 $r1556 := $HeapVar[r0555, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$header298]; assert ($neref(($r1556), ($null))==1); // @line: 161 $r2557 := $HeapVar[$r1556, javaUtilEx.LinkedList$Entry$javaUtilEx.LinkedList$Entry$previous302]; assert ($neref((r0555), ($null))==1); // @line: 161 call $r3558, $caughtEx1 := java.lang.Object$javaUtilEx.LinkedList$remove$2666((r0555), ($r2557)); goto Block797, Block799; Block797: assume ($neref(($caughtEx1), ($null))==1); goto Block798; Block799: assume ($eqref(($caughtEx1), ($null))==1); goto Block800; Block798: $Exep0 := $caughtEx1; return; Block800: // @line: 161 __ret := $r3558; return; } // @line: 369 // procedure void$javaUtilEx.AbstractList$Itr$remove$2537(__this : ref) returns ($Exep1 : ref, $Exep0 : ref, $Exep2 : ref) modifies $HeapVar; requires ($neref((__this), ($null))==1); { var $i3244 : int; var $i1240 : int; var $r4245 : ref; var $i4246 : int; var $r5249 : ref; var $r6250 : ref; var $i6248 : int; var $r7252 : ref; var $i0239 : int; var $r2241 : ref; var r0238 : ref; var $i2243 : int; var $i5247 : int; //temp local variables var $freshlocal5 : ref; var $caughtEx3 : ref; var $caughtEx4 : ref; var $caughtEx6 : ref; // @line: 369 Block370: $caughtEx6 := $null; $caughtEx4 := $null; $caughtEx3 := $null; $Exep2 := $null; $Exep1 := $null; $Exep0 := $null; goto Block371; Block371: r0238 := __this; assert ($neref((r0238), ($null))==1); // @line: 370 $i0239 := $HeapVar[r0238, int$javaUtilEx.AbstractList$Itr$lastRet0]; goto Block372; // @line: 370 Block372: goto Block373, Block375; // @line: 370 Block373: assume ($geint(($i0239), (0))==1); goto Block374; // @line: 370 Block375: // @line: 370 assume ($negInt(($geint(($i0239), (0))))==1); // @line: 371 $r5249 := $newvariable((376)); assume ($neref(($newvariable((376))), ($null))==1); assert ($neref(($r5249), ($null))==1); // @line: 371 call void$javaUtilEx.IllegalStateException$$la$init$ra$$2574(($r5249)); goto Block377; // @line: 372 Block374: assert ($neref((r0238), ($null))==1); // @line: 372 call $caughtEx3 := void$javaUtilEx.AbstractList$Itr$checkForComodification$2538((r0238)); goto Block378, Block380; // @line: 370 Block377: $Exep0 := $r5249; return; // @line: 372 Block378: assume ($neref(($caughtEx3), ($null))==1); goto Block379; // @line: 372 Block380: assume ($eqref(($caughtEx3), ($null))==1); goto Block381; // @line: 372 Block379: $Exep1 := $caughtEx3; return; // @line: 372 Block381: goto Block382; // @line: 375 Block382: assert ($neref((r0238), ($null))==1); // @line: 375 $r2241 := $HeapVar[r0238, javaUtilEx.AbstractList$javaUtilEx.AbstractList$Itr$this$0295]; assert ($neref((r0238), ($null))==1); // @line: 375 $i1240 := $HeapVar[r0238, int$javaUtilEx.AbstractList$Itr$lastRet0]; assert ($neref(($r2241), ($null))==1); // @line: 375 call $freshlocal5, $caughtEx4 := java.lang.Object$javaUtilEx.AbstractList$remove$2488(($r2241), ($i1240)); goto Block383, Block385; // @line: 375 Block383: assume ($neref(($caughtEx4), ($null))==1); goto Block384; // @line: 375 Block385: assume ($eqref(($caughtEx4), ($null))==1); goto Block386; // @line: 375 Block384: $Exep2 := $caughtEx4; return; // @line: 375 Block386: assert ($neref((r0238), ($null))==1); // @line: 376 $i3244 := $HeapVar[r0238, int$javaUtilEx.AbstractList$Itr$lastRet0]; assert ($neref((r0238), ($null))==1); // @line: 376 $i2243 := $HeapVar[r0238, int$javaUtilEx.AbstractList$Itr$cursor0]; goto Block387; // @line: 376 Block387: goto Block388, Block390; // @line: 376 Block388: assume ($geint(($i3244), ($i2243))==1); goto Block389; // @line: 376 Block390: // @line: 376 assume ($negInt(($geint(($i3244), ($i2243))))==1); assert ($neref((r0238), ($null))==1); // @line: 377 $i5247 := $HeapVar[r0238, int$javaUtilEx.AbstractList$Itr$cursor0]; // @line: 377 $i6248 := $subint(($i5247), (1)); assert ($neref((r0238), ($null))==1); // @line: 377 $HeapVar[r0238, int$javaUtilEx.AbstractList$Itr$cursor0] := $i6248; goto Block389; // @line: 378 Block389: assert ($neref((r0238), ($null))==1); // @line: 378 $HeapVar[r0238, int$javaUtilEx.AbstractList$Itr$lastRet0] := -1; assert ($neref((r0238), ($null))==1); // @line: 379 $r4245 := $HeapVar[r0238, javaUtilEx.AbstractList$javaUtilEx.AbstractList$Itr$this$0295]; assert ($neref(($r4245), ($null))==1); // @line: 379 $i4246 := $HeapVar[$r4245, int$javaUtilEx.AbstractList$modCount0]; assert ($neref((r0238), ($null))==1); // @line: 379 $HeapVar[r0238, int$javaUtilEx.AbstractList$Itr$expectedModCount0] := $i4246; goto Block391; // @line: 382 Block391: goto Block392; // @line: 383 Block392: return; } // @line: 73 // ()> procedure void$javaUtilEx.ConcurrentModificationException$$la$init$ra$$2570(__this : ref) requires ($neref((__this), ($null))==1); { var r0429 : ref; Block682: r0429 := __this; assert ($neref((r0429), ($null))==1); // @line: 74 call void$java.lang.RuntimeException$$la$init$ra$$760((r0429)); return; } // procedure int$java.lang.String$length$59(__this : ref) returns (__ret : int); // procedure java.lang.Object$javaUtilEx.ListIterator$next$2526(__this : ref) returns (__ret : ref);