Pseudocode: Introduce pseudo-value analysis
This commit is contained in:
@@ -6,14 +6,16 @@ fun foo(s: String) {
|
||||
L0:
|
||||
1 <START>
|
||||
v(s: String)
|
||||
w(s)
|
||||
magic(s: String) -> <v0>
|
||||
w(s|<v0>)
|
||||
2 mark({ s. })
|
||||
mark(s.)
|
||||
r(s)
|
||||
r(s) -> <v1>
|
||||
magic(s.|<v1>) -> <v2>
|
||||
L1:
|
||||
1 <END> NEXT:[<SINK>]
|
||||
1 <END> NEXT:[<SINK>]
|
||||
error:
|
||||
<ERROR> PREV:[]
|
||||
<ERROR> PREV:[]
|
||||
sink:
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
<SINK> PREV:[<ERROR>, <END>]
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user