Class BaseSelector

java.lang.Object
soot.jimple.infoflow.util.BaseSelector

public class BaseSelector extends Object
BaseSelector removes unnecessary information from a value such as casts
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static soot.Value
    selectBase(soot.Value val, boolean keepArrayRef)
    the operations that are not relevant for analysis like "not" or casts are removed - array refs are only removed if explicitly stated
    static soot.Value[]
    selectBaseList(soot.Value val, boolean keepArrayRef)
    the operations that are not relevant for analysis like "not" or casts are removed - array refs are only removed if explicitly stated BinOpExpr are divided into two values

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BaseSelector

      public BaseSelector()
  • Method Details

    • selectBase

      public static soot.Value selectBase(soot.Value val, boolean keepArrayRef)
      the operations that are not relevant for analysis like "not" or casts are removed - array refs are only removed if explicitly stated
      Parameters:
      val - the value which should be pruned
      keepArrayRef - if false then array refs are pruned to the base array object
      Returns:
      the value (possibly pruned to base object)
    • selectBaseList

      public static soot.Value[] selectBaseList(soot.Value val, boolean keepArrayRef)
      the operations that are not relevant for analysis like "not" or casts are removed - array refs are only removed if explicitly stated BinOpExpr are divided into two values
      Parameters:
      val - the value which should be pruned
      keepArrayRef - if false then array refs are pruned to the base array object
      Returns:
      one or more values