Package com.googlecode.dex2jar.ir.ts.an
Class BaseAnalyze<T extends AnalyzeValue>
java.lang.Object
com.googlecode.dex2jar.ir.ts.an.BaseAnalyze<T>
- All Implemented Interfaces:
Cfg.FrameVisitor<T[]>,Cfg.OnAssignCallBack,Cfg.OnUseCallBack,Cfg.TravelCallBack
- Direct Known Subclasses:
SimpleLiveAnalyze,UnSSATransformer.LiveA
public abstract class BaseAnalyze<T extends AnalyzeValue>
extends Object
implements Cfg.FrameVisitor<T[]>, Cfg.TravelCallBack
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBaseAnalyze(IrMethod method) BaseAnalyze(IrMethod method, boolean reindexLocal) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidanalyze()protected voidanalyze0()protected voidT[]protected T[]protected TgetFromFrame(int idx) protected voidinit()protected voidinitCFG()T[]initFirstFrame(Stmt first) protected T[]newFrame()protected abstract T[]newFrame(int size) protected abstract TnewValue()onAssign(Local local, AssignStmt as) protected TonAssignLocal(Local local, Value value) protected voidonUseLocal(T aValue, Local local) protected voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.googlecode.dex2jar.ir.ts.Cfg.FrameVisitor
merge
-
Field Details
-
DEBUG
protected static final boolean DEBUG- See Also:
-
aValues
-
localSize
protected int localSize -
method
-
-
Constructor Details
-
BaseAnalyze
-
BaseAnalyze
-
-
Method Details
-
analyze
public void analyze() -
analyze0
protected void analyze0() -
analyzeValue
protected void analyzeValue() -
afterExec
-
exec
- Specified by:
execin interfaceCfg.FrameVisitor<T extends AnalyzeValue>
-
getFromFrame
-
getFrame
-
setFrame
-
init
protected void init() -
initCFG
protected void initCFG() -
newFrame
-
initFirstFrame
- Specified by:
initFirstFramein interfaceCfg.FrameVisitor<T extends AnalyzeValue>
-
newFrame
-
newValue
-
onAssign
- Specified by:
onAssignin interfaceCfg.OnAssignCallBack
-
onAssignLocal
-
onUse
- Specified by:
onUsein interfaceCfg.OnUseCallBack
-
onUseLocal
-
toString
-