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

Type mismatch error when running example code #34

Open
danielftz opened this issue Dec 3, 2019 · 2 comments
Open

Type mismatch error when running example code #34

danielftz opened this issue Dec 3, 2019 · 2 comments

Comments

@danielftz
Copy link

danielftz commented Dec 3, 2019

When running the example code provided in the wiki, I get this error:

Type mismatch: cannot convert from IFDSReachingDefinitions to IFDSTabulationProblem<Unit,Pair<Value,Set>,SootMethod,InterproceduralCFG<Unit,SootMethod>>

It seems the issue comes from this statement:

IFDSTabulationProblem<Unit, Pair<Value, 
	                Set<DefinitionStmt>>, SootMethod, 
	                InterproceduralCFG<Unit, SootMethod>> problem = new IFDSReachingDefinitions(icfg);

What should I do?

@ericbodden
Copy link
Member

Can you please make sure that the Pair type you use is the type soot.toolkits.scalar.Pair? Then it works for me.

@ericbodden
Copy link
Member

@danielftz Could you confirm please? Thanks

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