Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function body does not get properly reduced #901

Open
Ehcsan opened this issue Aug 23, 2024 · 0 comments
Open

Function body does not get properly reduced #901

Ehcsan opened this issue Aug 23, 2024 · 0 comments
Labels
question Further information is requested reconstruct code deals with the code reoncsutrction at the end of the static slicing

Comments

@Ehcsan
Copy link
Collaborator

Ehcsan commented Aug 23, 2024

When running (for example) Slicing/Static Program Slices/Calls/Using strings for definitions the function body does not get reduced properly.

some nodes selected //call to reconstruct ExprList hass only some nodes selected
5
some nodes selected //call to reconstruct ExprList hass only some nodes selected
a <- function() { x <- 3; 5 }
a()
got: //output of the test
a <- function() { x <- 3; 5 }
a()
vs. expected:
a <- function() { 5 }
a()

@Ehcsan Ehcsan added question Further information is requested reconstruct code deals with the code reoncsutrction at the end of the static slicing labels Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested reconstruct code deals with the code reoncsutrction at the end of the static slicing
Projects
None yet
Development

No branches or pull requests

1 participant