Class InfoflowResultComparator
java.lang.Object
soot.jimple.infoflow.results.util.InfoflowResultComparator
Utility class for comparing two data flow results
- Author:
- Steven Arzt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbooleanresultEquals(String file1, String file2) Checks whether the data flow results in two given files are equalstatic InfoflowResultComparatorv()
-
Constructor Details
-
InfoflowResultComparator
public InfoflowResultComparator()
-
-
Method Details
-
v
-
resultEquals
Checks whether the data flow results in two given files are equal- Parameters:
file1- The full path and file name of the fist filefile2- The full path and file name of the second file- Returns:
- True if the two files encode the same data flows, otherwise false
- Throws:
XMLStreamException- Thrown if one of the XML files is syntactically invalidIOException- Thrown if one of the two files cannot be opened
-
main
- Throws:
XMLStreamExceptionIOException
-