Package sootup.apk.frontend.interceptors
Class DexNullTransformer
java.lang.Object
sootup.apk.frontend.interceptors.DexTransformer
sootup.apk.frontend.interceptors.AbstractNullTransformer
sootup.apk.frontend.interceptors.DexNullTransformer
- All Implemented Interfaces:
BodyInterceptor
BodyTransformer to find and change IntConstant(0) to NullConstant where locals are used as
objects.
- Author:
- Palaniappan Muthuraman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
interceptBody
(Body.BodyBuilder builder, View view) Takes a BodyBuilder and may apply a transformation to it, for example removing unused local variables.Methods inherited from class sootup.apk.frontend.interceptors.AbstractNullTransformer
isObject, isZeroComparison, replaceWithNull
Methods inherited from class sootup.apk.frontend.interceptors.DexTransformer
examineInvokeExpr, findArrayType, isFloatingPointLike
-
Constructor Details
-
DexNullTransformer
public DexNullTransformer()
-
-
Method Details
-
interceptBody
Description copied from interface:BodyInterceptor
Takes a BodyBuilder and may apply a transformation to it, for example removing unused local variables.
-