Class FragmentEntryPointCreator
java.lang.Object
soot.jimple.infoflow.entryPointCreators.BaseEntryPointCreator
soot.jimple.infoflow.android.entryPointCreators.AbstractAndroidEntryPointCreator
soot.jimple.infoflow.android.entryPointCreators.components.AbstractComponentEntryPointCreator
soot.jimple.infoflow.android.entryPointCreators.components.FragmentEntryPointCreator
- All Implemented Interfaces:
IEntryPointCreator
Entry point creator for Android fragments
- Author:
- Steven Arzt
-
Field Summary
Fields inherited from class soot.jimple.infoflow.android.entryPointCreators.components.AbstractComponentEntryPointCreator
applicationClass, callbacks, component, intentField, intentLocal, thisLocalFields inherited from class soot.jimple.infoflow.android.entryPointCreators.AbstractAndroidEntryPointCreator
entryPointUtils, manifestFields inherited from class soot.jimple.infoflow.entryPointCreators.BaseEntryPointCreator
body, conditionCounter, dummyClassName, dummyMethodName, generator, intCounter, localVarsForClasses, mainMethod, overwriteDummyMainMethod, shallowMode, warnOnConstructorLoop -
Constructor Summary
ConstructorsConstructorDescriptionFragmentEntryPointCreator(soot.SootClass component, soot.SootClass applicationClass, IManifestHandler manifest) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidGenerates the component-specific portion of the lifecycleprotected List<soot.Type>Derived classes can overwrite this method to add further parameters to the dummy main methodMethods inherited from class soot.jimple.infoflow.android.entryPointCreators.components.AbstractComponentEntryPointCreator
addCallbackMethods, addCallbackMethods, assignIntent, createAdditionalFields, createDummyMainInternal, createEmptyMainMethod, createGetIntentMethod, getAdditionalFields, getAdditionalMethods, getComponentInfo, getDefaultMainMethodParams, getRequiredClasses, instrumentDummyMainMethod, reset, setCallbacksMethods inherited from class soot.jimple.infoflow.android.entryPointCreators.AbstractAndroidEntryPointCreator
createClassInstances, createDummyMain, createPlainMethodCall, searchAndBuildMethod, searchAndBuildMethod, setEntryPointUtilsMethods inherited from class soot.jimple.infoflow.entryPointCreators.BaseEntryPointCreator
acceptClass, buildMethodCall, buildMethodCall, createAdditionalMethods, createIfStmt, eliminateSelfLoops, findMethod, generateClassConstructor, generateClassConstructor, generateClassConstructor, getFailedClasses, getFailedMethods, getGeneratedMainMethod, getNonCollidingFieldName, getOrCreateDummyMainClass, getOverwriteDummyMainMethod, getShallowMode, getSimpleDefaultValue, getValueForType, getValueForType, getWarnOnConstructorLoop, isCompatible, isSimpleType, setAllowNonPublicConstructors, setAllowSelfReferences, setDummyClassName, setDummyMethodName, setIgnoreSystemClassParams, setOverwriteDummyMainMethod, setShallowMode, setSubstituteCallParams, setSubstituteClasses, setWarnOnConstructorLoop
-
Constructor Details
-
FragmentEntryPointCreator
public FragmentEntryPointCreator(soot.SootClass component, soot.SootClass applicationClass, IManifestHandler manifest)
-
-
Method Details
-
generateComponentLifecycle
protected void generateComponentLifecycle()Description copied from class:AbstractComponentEntryPointCreatorGenerates the component-specific portion of the lifecycle- Specified by:
generateComponentLifecyclein classAbstractComponentEntryPointCreator
-
getAdditionalMainMethodParams
Description copied from class:AbstractComponentEntryPointCreatorDerived classes can overwrite this method to add further parameters to the dummy main method- Overrides:
getAdditionalMainMethodParamsin classAbstractComponentEntryPointCreator- Returns:
- A list with the parameter types to be added to the component's dummy main method, or null, if no additional parameters shall be added
-