-
Notifications
You must be signed in to change notification settings - Fork 220
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
Exception when building call graph without dependency #591
Comments
The problem is that I will update the Javadoc around |
Yes, I tried |
@Anemone95 sorry for the bad documentation here. When using As to why your slices seem to work with both |
@msridhar Thank you for your answer. Now I know the difference :) |
When I using WALA to build call graph without dependency, I got an exception as follows:
To reproduce this issue, clone the demo project from https://github.com/Anemone95/wala-demo at first.
Then using maven to build the analysis code and the target code:
cd wala-demo mvn clean package
After that, launch top.anemone.walaDemo.CFGWithoutDependency to produce this issue:
So, the analysis code is in https://github.com/Anemone95/wala-demo/blob/master/wala-code/src/main/java/top/anemone/walaDemo/CFGWithoutDependency.java#L49 and the target code is in https://github.com/Anemone95/wala-demo/blob/master/wala-target/src/main/java/top/anemone/walaTarget/NoDependencyDemo.java
I notice a "TODO" comment in com.ibm.wala.classLoader.BytecodeClass#getSuperclass. So, it may be because this phantom handling is not implemented?
Also, when I use
ClassHierarchyFactory.make()
, the program works fine, which is strange.The text was updated successfully, but these errors were encountered: