Building call graph with SootUp from jar file generated by Maven package #568
-
Hi everyone, I am new to SootUp and is attempting to build a call graph for a repository I hope to understand more. The repository is jsoup . After generating a snapshot of a version of jar file, I supplied the location to SootUp, and completed the process of call graph construction with something like this:
And the parameters supplied to construct MethodSignature are copied and pasted from jhy/jsoup 's class headers. I attach a screenshot of the class containing the parse method for your easier reference here. However, when I print out the cg with: cg.callsFrom(entryMethodSignature).forEach(System.out::println); Please may I ask does this indeed imply that the parse method is not called by any other method in jsoup or did I do something wrongly ? Thank you in advance for your time and help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Diwu-Yu |
Beta Was this translation helpful? Give feedback.
Hi Diwu-Yu
your parameterlist in the method signature is wrong. the parse method has two String parameters, but your params list has 3 entries. It should work if you remove type1.