Interface IEntryPointCreator

All Known Implementing Classes:
BaseEntryPointCreator, DefaultEntryPointCreator, SequentialEntryPointCreator

public interface IEntryPointCreator
  • Method Summary

    Modifier and Type
    Method
    Description
    soot.SootMethod
    Generates a dummy main method that calls all methods in the given list
    Collection<soot.SootField>
    Gets the set of additional fields that are used by the entry point and that were generated by this entry point creator.
    Collection<soot.SootMethod>
    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.
    soot.SootMethod
    Gets the last dummy main method that was generated by this creator
    Gets the set of classes used in this dummy main method.
    void
    with this option enabled the EntryPointCreator tries to find suitable subclasses of abstract classes and implementers of interfaces
    void
    set classes that are allowed to substitute (otherwise constructor loops are very likely)
  • Method Details

    • createDummyMain

      soot.SootMethod createDummyMain()
      Generates a dummy main method that calls all methods in the given list
      Returns:
      The generated main method
    • setSubstituteCallParams

      void setSubstituteCallParams(boolean b)
      with this option enabled the EntryPointCreator tries to find suitable subclasses of abstract classes and implementers of interfaces
      Parameters:
      b - sets substitution of call parameters
    • setSubstituteClasses

      void setSubstituteClasses(List<String> l)
      set classes that are allowed to substitute (otherwise constructor loops are very likely)
      Parameters:
      l -
    • getRequiredClasses

      Collection<String> getRequiredClasses()
      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
    • getAdditionalMethods

      Collection<soot.SootMethod> getAdditionalMethods()
      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

      Collection<soot.SootField> getAdditionalFields()
      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
    • getGeneratedMainMethod

      soot.SootMethod getGeneratedMainMethod()
      Gets the last dummy main method that was generated by this creator
      Returns:
      The last dummy main method that was generated by this creator