Updated name from PDGTool to CIA
This commit is contained in:
@@ -7,7 +7,7 @@ import java.util.*;
|
|||||||
* PDG Tool: Change Impact Analysis
|
* PDG Tool: Change Impact Analysis
|
||||||
* Usage: java PDGTool <java-file> [line-number]
|
* Usage: java PDGTool <java-file> [line-number]
|
||||||
*/
|
*/
|
||||||
public class PDGTool {
|
public class CIA {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
if (args.length < 1) {
|
if (args.length < 1) {
|
||||||
@@ -69,6 +69,7 @@ public class PDG {
|
|||||||
|
|
||||||
// 2. Compute reaching definitions
|
// 2. Compute reaching definitions
|
||||||
Map<String, Map<String, Set<String>>> reaching = computeReachingDefinitions(defs);
|
Map<String, Map<String, Set<String>>> reaching = computeReachingDefinitions(defs);
|
||||||
|
// TODO: check what happens whena node has multiple variable definitions
|
||||||
|
|
||||||
// 3. Build data dependencies
|
// 3. Build data dependencies
|
||||||
for (Node node : cfg.nodes()) {
|
for (Node node : cfg.nodes()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user