Class IccInstrumentDestination
java.lang.Object
soot.jimple.infoflow.android.iccta.IccInstrumentDestination
One ICC Link contain one source component and one destination component. this
class is used to collect all the assist methods which instrument destination
component.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanequalsOrSubclassOf(soot.SootClass testClass, soot.SootClass parentClass) soot.TypeextractBinderType(soot.SootClass sootClass) To extract the real binder type, Thus, a more precision way is to perform a type analysis for IBinder referencevoidfieldSendingMessage(soot.SootMethod fromSM) soot.SootMethodgenerateInitMethod(soot.SootClass compSootClass, soot.SootField intentSootField) generate construct method for this component, this construct method should take one Intent as their parameter.soot.SootFieldsoot.SootClassinstrumentDestinationForContentProvider(String destination) static IccInstrumentDestinationv()
-
Method Details
-
v
-
instrumentDestinationForContentProvider
-
generateInitMethod
public soot.SootMethod generateInitMethod(soot.SootClass compSootClass, soot.SootField intentSootField) generate construct method for this component, this construct method should take one Intent as their parameter. the best way is to use a place holder parameter to avoid exist construct method and use exist construct to build the newmethod. - Parameters:
compSootClass-intentSootField-- Returns:
- the construction method
-
getMessageForIPCField
public soot.SootField getMessageForIPCField() -
extractBinderType
public soot.Type extractBinderType(soot.SootClass sootClass) To extract the real binder type, Thus, a more precision way is to perform a type analysis for IBinder reference- Returns:
- the extracted type
-
fieldSendingMessage
public void fieldSendingMessage(soot.SootMethod fromSM) -
equalsOrSubclassOf
public boolean equalsOrSubclassOf(soot.SootClass testClass, soot.SootClass parentClass)
-