java - 用于快速类型分析和变量类型分析的预定义算法

标签 java testing code-analysis dynamic-analysis

我正在尝试对 Java 源文件执行程序分析。是否有预定义的算法来执行变量类型分析和快速类型分析?

最佳答案

Soot是一个java的分析框架。

"The Soot framework for Java program analysis: a retrospective"表示 Spark 模块可能与您正在做的事情相关:

Spark implements a number of different call graph construction methods, including Class Hierarchy Analysis and Rapid Type Analysis; however, we found that the most effective call graph construction method proceeds on-the-fly and builds the call graph at the same time as it computes points-to sets, starting with the CHA call graph as an initial approximation for the set of reachable methods.

关于java - 用于快速类型分析和变量类型分析的预定义算法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9362461/

相关文章:

java - 如何处理多个连续的表单和 Java 对象

java - Java的Random函数的反函数

unit-testing - Microsoft Visual Studio 测试导致测试失败

java - java中的全路径覆盖测试是什么?

c - 在 C 中生成跨多个文件的现有函数列表

java - Spring Boot + JPA,PostgreSQL 驱动程序为 Heroku 远程数据库 URL 返回 null

java - Autowiring 类为空

javascript - 将堆栈不同部分的测试结果聚合到一张图中

asp.net-mvc-4 - 在 VS2012 中运行代码分析时出错

使用 vera++ 分析 C 代码