Class SequentialEntryPointCreator
java.lang.Object
soot.jimple.infoflow.entryPointCreators.BaseEntryPointCreator
soot.jimple.infoflow.entryPointCreators.SequentialEntryPointCreator
- All Implemented Interfaces:
IEntryPointCreator
Simple entry point creator that builds a sequential list of method
invocations. Each method is invoked only once.
- Author:
- Steven Arzt
-
Field Summary
Fields inherited from class soot.jimple.infoflow.entryPointCreators.BaseEntryPointCreator
body, conditionCounter, dummyClassName, dummyMethodName, generator, intCounter, localVarsForClasses, logger, mainMethod, overwriteDummyMainMethod, shallowMode, warnOnConstructorLoop -
Constructor Summary
ConstructorsConstructorDescriptionSequentialEntryPointCreator(Collection<String> methodsToCall) Creates a new instance of theSequentialEntryPointCreatorclass -
Method Summary
Modifier and TypeMethodDescriptionprotected soot.SootMethodImplementors need to overwrite this method for providing the actual dummy main methodCollection<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.Gets the set of classes used in this dummy main method.Methods inherited from class soot.jimple.infoflow.entryPointCreators.BaseEntryPointCreator
acceptClass, buildMethodCall, buildMethodCall, createAdditionalFields, createAdditionalMethods, createDummyMain, createEmptyMainMethod, createIfStmt, eliminateSelfLoops, findMethod, generateClassConstructor, generateClassConstructor, generateClassConstructor, getFailedClasses, getFailedMethods, getGeneratedMainMethod, getNonCollidingFieldName, getOrCreateDummyMainClass, getOverwriteDummyMainMethod, getShallowMode, getSimpleDefaultValue, getValueForType, getValueForType, getWarnOnConstructorLoop, isCompatible, isSimpleType, reset, setAllowNonPublicConstructors, setAllowSelfReferences, setDummyClassName, setDummyMethodName, setIgnoreSystemClassParams, setOverwriteDummyMainMethod, setShallowMode, setSubstituteCallParams, setSubstituteClasses, setWarnOnConstructorLoop
-
Constructor Details
-
SequentialEntryPointCreator
Creates a new instance of theSequentialEntryPointCreatorclass- 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
Description copied from interface:IEntryPointCreatorGets 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:BaseEntryPointCreatorImplementors need to overwrite this method for providing the actual dummy main method- Specified by:
createDummyMainInternalin classBaseEntryPointCreator- Returns:
- The generated dummy main method
-
getAdditionalMethods
Description copied from interface:IEntryPointCreatorGets 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
Description copied from interface:IEntryPointCreatorGets 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
-