Class AbstractNullTransformer

java.lang.Object
sootup.apk.frontend.interceptors.DexTransformer
sootup.apk.frontend.interceptors.AbstractNullTransformer
All Implemented Interfaces:
BodyInterceptor
Direct Known Subclasses:
DexNullTransformer

public abstract class AbstractNullTransformer extends DexTransformer
Abstract base class for DexNullTransformer
Author:
Palaniappan Muthuraman
  • Constructor Details

    • AbstractNullTransformer

      public AbstractNullTransformer()
  • Method Details

    • isZeroComparison

      protected boolean isZeroComparison(AbstractConditionExpr expr)
      Examine expr if it is a comparison with 0.
      Parameters:
      expr - the ConditionExpr to examine
    • replaceWithNull

      protected void replaceWithNull(Stmt stmt)
      Replace 0 with null in the given unit.
      Parameters:
      stmt - the unit where 0 will be replaced with null.
    • isObject

      protected static boolean isObject(Type t)