Class IccInstrumentDestination

java.lang.Object
soot.jimple.infoflow.android.iccta.IccInstrumentDestination

public class IccInstrumentDestination extends Object
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 Details

    • v

      public static IccInstrumentDestination v()
    • instrumentDestinationForContentProvider

      public soot.SootClass instrumentDestinationForContentProvider(String destination)
    • 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 new method.
      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)