You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that WALA's slicer can't include constant values in the slice as WALA's IR is in SSA form and copy propagation is formed during SSA construction. Hence, the writing of constants to locals is not preserved in the IR.
How about when we use source code analysis?
Can I use source analysis ( JavaSourceAnalysisScope.SOURCE ) to build program slices? If so, can I get constant values in the slice in this case since we use the source code?
The text was updated successfully, but these errors were encountered:
Sorry for the slow response. You can slice source code using AstJavaSlicer. I am not personally sure if it will preserve constants. If you try it and could report back here, that would be helpful and we could document it. Thanks!
I know that WALA's slicer can't include constant values in the slice as WALA's IR is in SSA form and copy propagation is formed during SSA construction. Hence, the writing of constants to locals is not preserved in the IR.
How about when we use source code analysis?
Can I use source analysis ( JavaSourceAnalysisScope.SOURCE ) to build program slices? If so, can I get constant values in the slice in this case since we use the source code?
The text was updated successfully, but these errors were encountered: