Pseudocode: Introduce pseudo-value analysis

This commit is contained in:
Alexey Sedunov
2014-05-12 17:42:44 +04:00
parent 3ce96671d9
commit d2c055e9da
103 changed files with 2417 additions and 1432 deletions
@@ -6,15 +6,16 @@ fun test(s: String?) {
L0:
1 <START>
v(s: String?)
w(s)
magic(s: String?) -> <v0>
w(s|<v0>)
2 mark({ s?.length })
mark(s?.length)
r(s)
r(length)
r(s) -> <v1>
r(length|<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>]
=====================