Package sootup.apk.frontend.interceptors
Class AbstractNullTransformer
java.lang.Object
sootup.apk.frontend.interceptors.DexTransformer
sootup.apk.frontend.interceptors.AbstractNullTransformer
- All Implemented Interfaces:
BodyInterceptor
- Direct Known Subclasses:
DexNullTransformer
Abstract base class for
DexNullTransformer
- Author:
- Palaniappan Muthuraman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
protected boolean
Examine expr if it is a comparison with 0.protected void
replaceWithNull
(Stmt stmt) Replace 0 with null in the given unit.Methods inherited from class sootup.apk.frontend.interceptors.DexTransformer
examineInvokeExpr, findArrayType, isFloatingPointLike
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface sootup.core.transform.BodyInterceptor
interceptBody
-
Constructor Details
-
AbstractNullTransformer
public AbstractNullTransformer()
-
-
Method Details
-
isZeroComparison
Examine expr if it is a comparison with 0.- Parameters:
expr
- the ConditionExpr to examine
-
replaceWithNull
Replace 0 with null in the given unit.- Parameters:
stmt
- the unit where 0 will be replaced with null.
-
isObject
-