Pseudocode: Add valued instructions and unbound values to AbstractPseudoValueTest
This commit is contained in:
@@ -3,9 +3,10 @@ fun foo(a: Array<Int>) {
|
||||
a[1] = 2
|
||||
}
|
||||
---------------------
|
||||
a <v1>: {<: Array<Int>} NEW()
|
||||
1 <v2>: Int NEW()
|
||||
2 <v3>: Int NEW()
|
||||
a[1] = 2 <v4>: * NEW(<v1>, <v2>, <v3>)
|
||||
<v0>: {<: Array<Int>} NEW: magic(a: Array<Int>) -> <v0>
|
||||
a <v1>: {<: Array<Int>} NEW: r(a) -> <v1>
|
||||
1 <v2>: Int NEW: r(1) -> <v2>
|
||||
2 <v3>: Int NEW: r(2) -> <v3>
|
||||
a[1] = 2 <v4>: * NEW: call(a[1] = 2, set|<v1>, <v2>, <v3>) -> <v4>
|
||||
{ a[1] = 2 } <v4>: * COPY
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user