Class SequentialEntryPointCreator

java.lang.Object
soot.jimple.infoflow.entryPointCreators.BaseEntryPointCreator
soot.jimple.infoflow.entryPointCreators.SequentialEntryPointCreator
All Implemented Interfaces:
IEntryPointCreator

public class SequentialEntryPointCreator extends BaseEntryPointCreator
Simple entry point creator that builds a sequential list of method invocations. Each method is invoked only once.
Author:
Steven Arzt
  • Constructor Details

    • SequentialEntryPointCreator

      public SequentialEntryPointCreator(Collection<String> methodsToCall)
      Creates a new instance of the SequentialEntryPointCreator class
      Parameters:
      methodsToCall - A collection containing the methods to be called in the dummy main method. Entries must be valid Soot method signatures.
  • Method Details

    • getRequiredClasses

      public Collection<String> getRequiredClasses()
      Description copied from interface: IEntryPointCreator
      Gets the set of classes used in this dummy main method. These classes will be loaded by the FlowDroid engine.
      Returns:
      The list of required classes in this dummy main method
    • createDummyMainInternal

      protected soot.SootMethod createDummyMainInternal()
      Description copied from class: BaseEntryPointCreator
      Implementors need to overwrite this method for providing the actual dummy main method
      Specified by:
      createDummyMainInternal in class BaseEntryPointCreator
      Returns:
      The generated dummy main method
    • getAdditionalMethods

      public Collection<soot.SootMethod> getAdditionalMethods()
      Description copied from interface: IEntryPointCreator
      Gets the set of additional methods that are used by the entry point and that were generated by this entry point creator, although they are not directly entry points on their own.
      Returns:
      The set of additional helper methods used by the generated entry point
    • getAdditionalFields

      public Collection<soot.SootField> getAdditionalFields()
      Description copied from interface: IEntryPointCreator
      Gets the set of additional fields that are used by the entry point and that were generated by this entry point creator.
      Returns:
      The set of additional helper fields used by the generated entry point