(0) Obligation:
JBC Problem based on JBC Program:
Manifest-Version: 1.0
Created-By: 1.6.0_26 (Sun Microsystems Inc.)
Main-Class: simple/marbie2/Main
package simple.marbie2;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Marbie2.loop(args.length);
}
}
package simple.marbie2;
/*
* for(i=1; 5<8; i++)
alert("Am I infinite?");
source: http://marble.sru.edu/~mxm4333/loop/page_03.html
*/
public class Marbie2 {
public static void loop(int i) {
while(5<8) {
i++;
}
}
}
(1) JBCNonTerm (EQUIVALENT transformation)
Constructed a run with a repetition. States 4 and 6 are repetitions.
0:
<simple.marbie2.Main.main||0: load ADDR args||args: a18|| ->
String.serialVersionUID: -6849794470754667710L
String.serialPersistentFields: a16
String.CASE_INSENSITIVE_ORDER: o9
String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
RuntimeException.serialVersionUID: -7034897190745766939L
Exception.serialVersionUID: -3387516993124229948L
Throwable.serialVersionUID: -3042686055658047285L
o9!: String$CaseInsensitiveComparator()
a16([java.io.ObjectStreamField|]): length 0
a18([java.lang.String...]): length [0,+inf)(1)
1:
<simple.marbie2.Main.main||1: arraylength|| - ||a18>
String.serialVersionUID: -6849794470754667710L
String.serialPersistentFields: a16
String.CASE_INSENSITIVE_ORDER: o9
String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
RuntimeException.serialVersionUID: -7034897190745766939L
Exception.serialVersionUID: -3387516993124229948L
Throwable.serialVersionUID: -3042686055658047285L
o9!: String$CaseInsensitiveComparator()
a16([java.io.ObjectStreamField|]): length 0
a18([java.lang.String...]): length [0,+inf)(1)
2:
<simple.marbie2.Main.main||2: simple.marbie2.Marbie2.loop(I)V|| - ||i85>
String.serialVersionUID: -6849794470754667710L
String.serialPersistentFields: a16
String.CASE_INSENSITIVE_ORDER: o9
String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
RuntimeException.serialVersionUID: -7034897190745766939L
Exception.serialVersionUID: -3387516993124229948L
Throwable.serialVersionUID: -3042686055658047285L
o9!: String$CaseInsensitiveComparator()
i85: [0,+inf)(1)
a16([java.io.ObjectStreamField|]): length 0
a18([java.lang.String...]): length i85
3:
<simple.marbie2.Marbie2.loop||0: increment i by 1||i: i85|| ->
<simple.marbie2.Main.main||2: simple.marbie2.Marbie2.loop|| - ||i85>
String.serialVersionUID: -6849794470754667710L
String.serialPersistentFields: a16
String.CASE_INSENSITIVE_ORDER: o9
String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
RuntimeException.serialVersionUID: -7034897190745766939L
Exception.serialVersionUID: -3387516993124229948L
Throwable.serialVersionUID: -3042686055658047285L
o9!: String$CaseInsensitiveComparator()
i85: [0,+inf)(1)
a16([java.io.ObjectStreamField|]): length 0
a18([java.lang.String...]): length i85
4:
<simple.marbie2.Marbie2.loop||3: jmp||i: [1,+inf)(1)|| ->
<simple.marbie2.Main.main||2: simple.marbie2.Marbie2.loop|| - ||i85>
String.serialVersionUID: -6849794470754667710L
String.serialPersistentFields: a16
String.CASE_INSENSITIVE_ORDER: o9
String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
RuntimeException.serialVersionUID: -7034897190745766939L
Exception.serialVersionUID: -3387516993124229948L
Throwable.serialVersionUID: -3042686055658047285L
o9!: String$CaseInsensitiveComparator()
i85: [0,+inf)(1)
a16([java.io.ObjectStreamField|]): length 0
a18([java.lang.String...]): length i85
5:
<simple.marbie2.Marbie2.loop||0: increment i by 1||i: [1,+inf)(1)|| ->
<simple.marbie2.Main.main||2: simple.marbie2.Marbie2.loop|| - ||i85>
String.serialVersionUID: -6849794470754667710L
String.serialPersistentFields: a16
String.CASE_INSENSITIVE_ORDER: o9
String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
RuntimeException.serialVersionUID: -7034897190745766939L
Exception.serialVersionUID: -3387516993124229948L
Throwable.serialVersionUID: -3042686055658047285L
o9!: String$CaseInsensitiveComparator()
i85: [0,+inf)(1)
a16([java.io.ObjectStreamField|]): length 0
a18([java.lang.String...]): length i85
6:
<simple.marbie2.Marbie2.loop||3: jmp||i: [2,+inf)(1)|| ->
<simple.marbie2.Main.main||2: simple.marbie2.Marbie2.loop|| - ||i85>
String.serialVersionUID: -6849794470754667710L
String.serialPersistentFields: a16
String.CASE_INSENSITIVE_ORDER: o9
String$CaseInsensitiveComparator.serialVersionUID: 8575799808933029326L
RuntimeException.serialVersionUID: -7034897190745766939L
Exception.serialVersionUID: -3387516993124229948L
Throwable.serialVersionUID: -3042686055658047285L
o9!: String$CaseInsensitiveComparator()
i85: [0,+inf)(1)
a16([java.io.ObjectStreamField|]): length 0
a18([java.lang.String...]): length i85