Package soot.jimple.infoflow.rifl
Class RIFLSourceSinkDefinitionProvider
java.lang.Object
soot.jimple.infoflow.rifl.RIFLSourceSinkDefinitionProvider
- All Implemented Interfaces:
ISourceSinkDefinitionProvider
public class RIFLSourceSinkDefinitionProvider
extends Object
implements ISourceSinkDefinitionProvider
Source/sink definition provider class for RIFL
- Author:
- Steven Arzt
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of the RIFLSourceSinkDefinitionProvider class -
Method Summary
Modifier and TypeMethodDescriptionGets all methods for which there are source/sink definitionsgetSinks()Gets a set of all sinks registered in the providerGets a set of all sources registered in the provider
-
Constructor Details
-
RIFLSourceSinkDefinitionProvider
Creates a new instance of the RIFLSourceSinkDefinitionProvider class- Parameters:
file- The file from which to read the RIFL specification- Throws:
IOException- Thrown if the given RIFL file cannot be readSAXException- Thrown in the case of an XML error while parsing the RIFL file
-
-
Method Details
-
getSources
Description copied from interface:ISourceSinkDefinitionProviderGets a set of all sources registered in the provider- Specified by:
getSourcesin interfaceISourceSinkDefinitionProvider- Returns:
- A set of all sources registered in the provider
-
getSinks
Description copied from interface:ISourceSinkDefinitionProviderGets a set of all sinks registered in the provider- Specified by:
getSinksin interfaceISourceSinkDefinitionProvider- Returns:
- A set of all sinks registered in the provider
-
getAllMethods
Description copied from interface:ISourceSinkDefinitionProviderGets all methods for which there are source/sink definitions- Specified by:
getAllMethodsin interfaceISourceSinkDefinitionProvider- Returns:
- A set containing all methods for which there is a source/sink definition. This also includes methods explicitly labeled as "neither".
-