Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Dec 29, 2023
1 parent ef6c025 commit f7a167c
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,17 @@ private static void test(String mainClass, String javaScopeFile)
test(mainClass, javaScopeFile, false);
}

/**
* Run tests to compare the call graphs computing with the JVM bytecode frontend vs the Dalvik
* frontend
*
* @param mainClass main class for the test
* @param javaScopeFile scope file for the test
* @param allowExtraJavaCGEdges if true, allow extra edges in the JVM bytecode frontend call
* graph. This flag is temporarily required due to issues with JLex caused by
* https://issuetracker.google.com/issues/316744331. TODO: remove this flag once the D8 issue
* is fixed.
*/
private static void test(String mainClass, String javaScopeFile, boolean allowExtraJavaCGEdges)
throws IllegalArgumentException, IOException, CancelException, ClassHierarchyException {
Pair<CallGraph, PointerAnalysis<InstanceKey>> java = makeJavaBuilder(javaScopeFile, mainClass);
Expand Down

0 comments on commit f7a167c

Please sign in to comment.