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

Add support for VTA algorithm #207

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

OscarBohlin
Copy link

The VTA algorithm is yet another way of constructing a call graph which in some cases produces more precise call graphs than RTA/CHA.

The changes needed are:

  • Add the required package as dependency
  • Add parameters and necessary struct entries
  • Add switch option for the vta algorithm. This needs to fall through to rta because vta needs an initial graph and a map[*ssa.Function]bool of which functions to search for. We pass the result from rta to vta. The vta call also includes option for an already constructed (initial) graph, which we pass the already constructed one by rta.
  • Update documentation in README.md to include new algorithm

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

Successfully merging this pull request may close these issues.

1 participant