public class DefaultEntryPointCreator extends BaseEntryPointCreator
SequentialEntryPointCreator instead.body, conditionCounter, dummyClassName, dummyMethodName, generator, intCounter, localVarsForClasses, mainMethod, overwriteDummyMainMethod, shallowMode, warnOnConstructorLoop| Constructor and Description |
|---|
DefaultEntryPointCreator(Collection<String> methodsToCall)
Creates a new instanceof the
DefaultEntryPointCreator class |
| Modifier and Type | Method and Description |
|---|---|
protected soot.SootMethod |
createDummyMainInternal()
Implementors need to overwrite this method for providing the actual dummy
main method
|
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.
|
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.
|
Collection<String> |
getRequiredClasses()
Gets the set of classes used in this dummy main method.
|
acceptClass, buildMethodCall, buildMethodCall, createAdditionalFields, createAdditionalMethods, createDummyMain, createEmptyMainMethod, createIfStmt, eliminateSelfLoops, findMethod, generateClassConstructor, generateClassConstructor, generateClassConstructor, getFailedClasses, getFailedMethods, getGeneratedMainMethod, getNonCollidingFieldName, getOrCreateDummyMainClass, getOverwriteDummyMainMethod, getShallowMode, getSimpleDefaultValue, getSimpleTypeFromType, getValueForType, getValueForType, getWarnOnConstructorLoop, isCompatible, isSimpleType, reset, setAllowSelfReferences, setDummyClassName, setDummyMethodName, setIgnoreSystemClassParams, setOverwriteDummyMainMethod, setShallowMode, setSubstituteCallParams, setSubstituteClasses, setWarnOnConstructorLooppublic DefaultEntryPointCreator(Collection<String> methodsToCall)
DefaultEntryPointCreator classmethodsToCall - 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.protected soot.SootMethod createDummyMainInternal()
BaseEntryPointCreatorcreateDummyMainInternal in class BaseEntryPointCreatorpublic Collection<String> getRequiredClasses()
IEntryPointCreatorpublic Collection<soot.SootMethod> getAdditionalMethods()
IEntryPointCreatorpublic Collection<soot.SootField> getAdditionalFields()
IEntryPointCreatorCopyright © 2021 Fraunhofer SIT. All rights reserved.