-
Notifications
You must be signed in to change notification settings - Fork 142
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
Dataflow facts disappear when using PropagateOntoStrategy in backward analysis #729
Comments
Hi, I have debugged Phasar line by line and found why.
Phasar computes values for all non call or start nodes. For backward analysis, we should tag all |
Hi @yuffon, |
I mean, it looks like that we can treat |
Hi,
Recently, I meet one issue when using PropagateOntoStrategy (branch f-IDESolverStrategy) for backward analysis.
My backward dataflow analysis is a specialized typestate analysis. Flow functions are as follows.
call-to-return: killall function
call flow: identity function
ret flow: identity function
summary and normal flow: advance automata.
The program structure is like the following.
I have checked the dataflow results. At
point 2
, data flow facts are correct. Butpoint 1
has no data flow facts. Since this is backward analysis. It seems likegetCallFlowFunction
kills all facts.But I use identity function for both
getRetFlowFunction
orgetCallFlowFunction
.I don't know whether this is a bug.
By the way, it seems that f-IDESolverStrategy has not been merged in to main branch.
The text was updated successfully, but these errors were encountered: