Class ActivityEntryPointCreator
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.ActivityEntryPointCreator
- All Implemented Interfaces:
IEntryPointCreator
Entry point creator for Android activities
- Author:
- Steven Arzt
-
Field Summary
FieldsFields 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
ConstructorsConstructorDescriptionActivityEntryPointCreator(soot.SootClass component, soot.SootClass applicationClass, soot.util.MultiMap<soot.SootClass, String> activityLifecycleCallbacks, Map<soot.SootClass, soot.SootField> callbackClassToField, Map<soot.SootClass, soot.SootMethod> fragmentToMainMethod, IManifestHandler manifest) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidGenerates the component-specific portion of the lifecycleGets the data object that describes the generated entry pointprotected voidreset()Methods inherited from class soot.jimple.infoflow.android.entryPointCreators.components.AbstractComponentEntryPointCreator
addCallbackMethods, addCallbackMethods, assignIntent, createDummyMainInternal, createEmptyMainMethod, createGetIntentMethod, getAdditionalFields, getAdditionalMainMethodParams, getAdditionalMethods, getDefaultMainMethodParams, getRequiredClasses, instrumentDummyMainMethod, 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, 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
-
Field Details
-
resultIntentField
protected soot.SootField resultIntentField
-
-
Constructor Details
-
ActivityEntryPointCreator
public ActivityEntryPointCreator(soot.SootClass component, soot.SootClass applicationClass, soot.util.MultiMap<soot.SootClass, String> activityLifecycleCallbacks, Map<soot.SootClass, soot.SootField> callbackClassToField, Map<soot.SootClass, soot.SootMethod> fragmentToMainMethod, IManifestHandler manifest)
-
-
Method Details
-
generateComponentLifecycle
protected void generateComponentLifecycle()Description copied from class:AbstractComponentEntryPointCreatorGenerates the component-specific portion of the lifecycle- Specified by:
generateComponentLifecyclein classAbstractComponentEntryPointCreator
-
createAdditionalFields
protected void createAdditionalFields()- Overrides:
createAdditionalFieldsin classAbstractComponentEntryPointCreator
-
createAdditionalMethods
protected void createAdditionalMethods()- Overrides:
createAdditionalMethodsin classBaseEntryPointCreator
-
reset
protected void reset()- Overrides:
resetin classAbstractComponentEntryPointCreator
-
getComponentInfo
Description copied from class:AbstractComponentEntryPointCreatorGets the data object that describes the generated entry point- Overrides:
getComponentInfoin classAbstractComponentEntryPointCreator- Returns:
- The data object that describes the generated entry point
-