Class ConverterFD
java.lang.Object
de.foellix.aql.converter.flowdroid.ConverterFD
- All Implemented Interfaces:
IConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(ConverterTask task) Converts a tool's result.recoverResultFromOutput(List<String> output, File expectedResultFile) When a tool fails there is a a chance to recover its result from the tool's output and store it in a file.
-
Constructor Details
-
ConverterFD
public ConverterFD()
-
-
Method Details
-
parse
Description copied from interface:IConverterConverts a tool's result.- Specified by:
parsein interfaceIConverter- Parameters:
task- the converter task. Example: For getting the result file use: "new File(task.getTaskInfo().getData(ConverterTaskInfo.RESULT_FILE))"- Returns:
- answer the converted AQL-Answer
-
recoverResultFromOutput
Description copied from interface:IConverterWhen a tool fails there is a a chance to recover its result from the tool's output and store it in a file. Example: FlowDroid does not create an result if it simply does not find an analysis entry point. However, the tool ran successfully (intended behavior), thus, we create an emtpy result file (see ConverterFD).- Specified by:
recoverResultFromOutputin interfaceIConverter- Parameters:
output- the tool's outputexpectedResultFile- The result file which was not created.- Returns:
- the recovered result file
-