dg icon indicating copy to clipboard operation
dg copied to clipboard

Intra-procedural slicing

Open dokyungs opened this issue 3 years ago • 1 comments

Thanks for a great tool!

I was wondering if there is any switch that allows us to perform intra-procedural slicing. Is there?

dokyungs avatar Jul 12 '22 11:07 dokyungs

There is none atm, but control and data dependence analysis support intra-procedural computation: https://github.com/mchalupa/dg/search?q=intraproc and all analyses should support specifying the entry point, so it should not be that hard to add such a switch. Maybe there would be needed a small modification to points-to analysis to correctly handle values that are fed into procedures from outside.

mchalupa avatar Jul 12 '22 16:07 mchalupa