[Wala-wala] Is there a way to do slicing on library code (not contain a main method)?

25 views
Skip to first unread message

Nemo

unread,
Jun 8, 2018, 4:34:11 PM6/8/18
to wala.sourceforge.net
Dear community,

I am currently planning to do backward slicing on programs which do not have main methods. For example, classes from a third-party jar file which would commonly be used as APIs.

Is there anyway we can configure WALA to generate the right call graph/ SDG to compute the backward slicing?

Any help and discussions would be appreciated.

Best Regards,
Nemo

Anemone Xu

unread,
Dec 5, 2019, 6:19:57 AM12/5/19
to wala.sourceforge.net
Yes, of course. You can add a lib jar as Application jar. Then specify the entrypoint where you want to start. I already wrote some examples in https://github.com/Anemone95/wala-demo/blob/master/wala-code/src/main/java/top/anemone/walaDemo/SimpleSlice.java where you can have a look.

在 2018年6月9日星期六 UTC+8上午4:34:11,Nemo写道:
Reply all
Reply to author
Forward
0 new messages