java-callgraph2 icon indicating copy to clipboard operation
java-callgraph2 copied to clipboard

Programs for producing static call graphs for Java programs.

Results 53 java-callgraph2 issues
Sort by recently updated
recently updated
newest added

您好,请问这个工具只能处理jar包吗?能直接以字节码文件所在的文件夹作为输入吗?

作者您好,我现在想直接生成某个maven项目的所有测试用例的静态调用图,不想通过命令行运行的方式获取txt文件,如何通过代码调用您这个工具的某个API,直接获取存储method call的数据结构呢?然后我可以直接从这个数据结构获取我想要的method call信息。

你好,请问该项目是否有支持判断A函数调用B函数(非直接调用)的接口

在output_dir 中 执行 sh run.sh ,遇到以下错误 通过文件路径获取文件 _javacg_config/jar_dir.properties Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lang3/StringUtils at com.adrninistrator.javacg.util.JavaCGFileUtil.readFile2List(JavaCGFileUtil.java:239) at com.adrninistrator.javacg.util.JavaCGFileUtil.readFile2List(JavaCGFileUtil.java:225) at com.adrninistrator.javacg.conf.JavaCGConfigureWrapper.getOtherConfigList(JavaCGConfigureWrapper.java:212) at com.adrninistrator.javacg.conf.JavaCGConfManager.getConfInfo(JavaCGConfManager.java:66) at com.adrninistrator.javacg.stat.JCallGraph.run(JCallGraph.java:87) at com.adrninistrator.javacg.stat.JCallGraph.main(JCallGraph.java:77) Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils...

你好 在使用过程中,我看到工具可以在配置文件中填入一个jar包的地址或者一个目录,如果是一个jar包会生成一个结果文件夹(模式A),但如果是多行jar包地址或者是目录则会先合成一个jar包再生成结果文件(模式B)。当我输入相同的多个jar包时,模式A得到多个结果文件夹,我将其中的method_call.txt汇总后得到的数据和我输入一个目录(目录下是和模式A相同的jar包)输出一个method_call.txt的内容存在差异,即两种模式分析出来的结果不同。 想请问这两种模式下出现不同结果的原因,十分感谢!