Package soot.jimple.infoflow.util
Class BaseSelector
java.lang.Object
soot.jimple.infoflow.util.BaseSelector
BaseSelector removes unnecessary information from a value such as casts
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic soot.ValueselectBase(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 statedstatic 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
-
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 prunedkeepArrayRef- 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 prunedkeepArrayRef- if false then array refs are pruned to the base array object- Returns:
- one or more values
-