Class DefaultEntryPointCreator
java.lang.Object
soot.jimple.infoflow.entryPointCreators.BaseEntryPointCreator
soot.jimple.infoflow.entryPointCreators.DefaultEntryPointCreator
- All Implemented Interfaces:
IEntryPointCreator
Entry point creator that performs Java method invocations. The invocation
order is simulated to be arbitrary. If you only need a sequential list, use
the
SequentialEntryPointCreator instead.- Author:
- Steven Arzt
-
Field Summary
Fields inherited from class soot.jimple.infoflow.entryPointCreators.BaseEntryPointCreator
body, conditionCounter, dummyClassName, dummyMethodName, generator, intCounter, localVarsForClasses, mainMethod, overwriteDummyMainMethod, shallowMode, warnOnConstructorLoop -
Constructor Summary
ConstructorsConstructorDescriptionDefaultEntryPointCreator(Collection<String> methodsToCall) Creates a new instanceof theDefaultEntryPointCreatorclass -
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
-
DefaultEntryPointCreator
Creates a new instanceof theDefaultEntryPointCreatorclass- Parameters:
methodsToCall- A collection containing the methods to be called in the dummy main method. Note that the order of the method calls is simulated to be arbitrary. Entries must be valid Soot method signatures.
-
-
Method Details
-
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
-
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
-
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
-