[Wala-wala] Making the slicing "API" consistent

7 views
Skip to first unread message

Till Schlechtweg

unread,
Apr 18, 2022, 11:58:34 AM4/18/22
to WALA discussion and Q&A
Hello all, hello Manu,

first of all thanks Manu for the help with my first problem. I can now
start to really dig in.

In the com.ibm.wala.ipa.slicer.Slicer exists a function:

computeBackwardSlice(SDG sg, Collection<Statement> ss)

is there any reason to not also have a function:

computeForwardSlice(SDG sg, Collection<Statement> ss)

if you need I can directly provide pull requests to these questions,
otherwise I would always first ask here.

Also is there any literature on TabluationProblems? They might be
interesting for me.

Big thanks from Germany,
Till



_______________________________________________
Wala-wala mailing list
Wala...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wala-wala

Manu Sridharan

unread,
Aug 3, 2022, 11:05:29 AM8/3/22
to WALA discussion and Q&A
Hi there, I am very sorry for my slow response to this message.  I don’t think there is any fundamental reason why these APIs are asymmetric, though I haven’t thought deeply about it.  If it would be helpful to you, feel free to submit a PR with whatever slicing APIs would make your tasks easier and I can take a look.

Regarding tabulation problems, the approach was popularized in this POPL’95 paper:


That paper’s algorithm is the basis for the tabulation solver in WALA.  There was also a paper on how it is implemented in Soot:


I don’t know of an overview paper listing practical static analysis problems solved with tabulation, but there are many of them.

Best,
Manu
Reply all
Reply to author
Forward
0 new messages