public class DefaultEntryPointCreator extends BaseEntryPointCreator
SequentialEntryPointCreator instead.body, conditionCounter, dummyClassName, dummyMethodName, generator, intCounter, localVarsForClasses, mainMethod, overwriteDummyMainMethod, shallowMode, warnOnConstructorLoop| 构造器和说明 |
|---|
DefaultEntryPointCreator(Collection<String> methodsToCall)
Creates a new instanceof the
DefaultEntryPointCreator class |
| 限定符和类型 | 方法和说明 |
|---|---|
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, setAllowNonPublicConstructors, 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 在类中 BaseEntryPointCreatorpublic Collection<String> getRequiredClasses()
IEntryPointCreatorpublic Collection<soot.SootMethod> getAdditionalMethods()
IEntryPointCreatorpublic Collection<soot.SootField> getAdditionalFields()
IEntryPointCreatorCopyright © 2022 Fraunhofer SIT. All rights reserved.