-
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
Fact generated by Gen
not taken into account
#12
Comments
Well, I got it reading the internal code a bit: Actually, my scan for the API calls has to go to When treating the facts of declared-only function such as these in
of course remains empty and will never merge the facts despite collecting them. I can live with this, it just caused a tiny bit of confusion to me at first. 🙂 I didn't lookup the algorithm's reference description right now, but let' say I don't treat something in |
Hi Marcel, Thanks for looking into PhASAR - I hope that the tool can be useful to your application scenario. A note on plug-in summaries: If you ever find yourself in the situation where you have to model the effects of a function for which a definition is available (but you do not wish to analyze it), you can return the Sure, I will see that we can perform the check earlier ;-) |
Hello,
I'm evluating Phasar (
HEAD
revision as of today) for some use case. I picked the IFDS taint analysis tutorial [0] as a point for starting (i.e. probleme declaration file, Store/Load/Call FFs taken from there). Now, I have a minimal IR sample without any branches and declaration-only functions. Snippet:I'd like to put
%7
of the first call into my fact-set and kill it by the second API call.Code approach:
getCallToRetFlow
returns the identity.Unfortunately, this argument at index 3 appears nowhere inside my facts, just the zero:
My debug prints indicate reaching the code, but the immediate load FF won't see anything either:
Do you have any idea what could be going wrong? Are the tutorial sources still working on the current revision?
Thanks for your help!
[0] http://phasar.org/wp-content/uploads/2018/06/taint_analysis_plugin.zip
The text was updated successfully, but these errors were encountered: