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

[question] Expected SVF results / Analysis type/settings to use? #2

Closed
dtzWill opened this issue May 4, 2017 · 3 comments
Closed

Comments

@dtzWill
Copy link

dtzWill commented May 4, 2017

Hi!

Thanks for all your work on SVF and making PTABen available!

While testing the ongoing SVF -> LLVM 4.0 changes I found these tests very helpful.

Currently it looks like fi_tests are the default target, and using latest SVF (LLVM 3.8) it looks like all those tests pass.

Unfortunately it seems the other test folders do not currently pass (when using the default options, at least).

Is this expected behavior, or is something wrong on my end?

For things like flow-sensitivity and context-sensitivity I can imagine different analyses are appropriate, should these test sets be used with different options to wpa? (-fspta, maybe)?

In short: how do /you/ guys use PTABen for testing SVF? Is it expected that some tests fail (things that have yet to be implemented, etc.)?

@yuleisui
Copy link
Collaborator

yuleisui commented May 4, 2017

Hi Will,

For testing flow-sensitive test cases in folder fs_tests, it needs to change the option -ander to be -fspta. When you run the tests cases in fs_tests, all the results analyzed by flow-sensitive analysis should pass (marked in green), and some results of flow-insensitive (Andersen's) analysis will fail (marked in red) for comparison purpose.

Everything should work (results of the targeted analyses should all be in green) before pushing the code to repo.

@dtzWill
Copy link
Author

dtzWill commented May 4, 2017

Great, thanks for the quick response!

Am I understanding this correctly?

"Does SVF work":

  • fi_tests should all be green with default -ander
  • fs_tests should all be green with -fspta (and some fi_tests might fail)

Should the tests in cs_tests and path_tests be used as well, or are those mostly for comparison/evaluation purposes?

@yuleisui
Copy link
Collaborator

yuleisui commented May 4, 2017

Yes, correct!

cs_tests and path_tests are for SUPA. One can also use them for comparison purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants