Package proguard.dexfile.ir.ts.an
Class SimpleLiveAnalyze
- java.lang.Object
-
- proguard.dexfile.ir.ts.an.BaseAnalyze<SimpleLiveValue>
-
- proguard.dexfile.ir.ts.an.SimpleLiveAnalyze
-
- All Implemented Interfaces:
Cfg.FrameVisitor<SimpleLiveValue[]>,Cfg.OnAssignCallBack,Cfg.OnUseCallBack,Cfg.TravelCallBack
public class SimpleLiveAnalyze extends BaseAnalyze<SimpleLiveValue>
-
-
Field Summary
-
Fields inherited from class proguard.dexfile.ir.ts.an.BaseAnalyze
aValues, DEBUG, localSize, method
-
-
Constructor Summary
Constructors Constructor Description SimpleLiveAnalyze(IrMethod method, boolean reindexLocal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidanalyzeValue()intgetLocalSize()protected java.util.Set<SimpleLiveValue>markUsed()SimpleLiveValue[]merge(SimpleLiveValue[] srcFrame, SimpleLiveValue[] distFrame, Stmt src, Stmt dist)protected SimpleLiveValue[]newFrame(int size)protected SimpleLiveValuenewValue()protected SimpleLiveValueonAssignLocal(Local local, Value value)protected voidonUseLocal(SimpleLiveValue aValue, Local local)-
Methods inherited from class proguard.dexfile.ir.ts.an.BaseAnalyze
afterExec, analyze, analyze0, exec, getFrame, getFromFrame, init, initCFG, initFirstFrame, newFrame, onAssign, onUse, setFrame, toString
-
-
-
-
Constructor Detail
-
SimpleLiveAnalyze
public SimpleLiveAnalyze(IrMethod method, boolean reindexLocal)
-
-
Method Detail
-
markUsed
protected java.util.Set<SimpleLiveValue> markUsed()
-
analyzeValue
protected void analyzeValue()
- Overrides:
analyzeValuein classBaseAnalyze<SimpleLiveValue>
-
getLocalSize
public int getLocalSize()
-
onAssignLocal
protected SimpleLiveValue onAssignLocal(Local local, Value value)
- Overrides:
onAssignLocalin classBaseAnalyze<SimpleLiveValue>
-
onUseLocal
protected void onUseLocal(SimpleLiveValue aValue, Local local)
- Overrides:
onUseLocalin classBaseAnalyze<SimpleLiveValue>
-
merge
public SimpleLiveValue[] merge(SimpleLiveValue[] srcFrame, SimpleLiveValue[] distFrame, Stmt src, Stmt dist)
-
newFrame
protected SimpleLiveValue[] newFrame(int size)
- Specified by:
newFramein classBaseAnalyze<SimpleLiveValue>
-
newValue
protected SimpleLiveValue newValue()
- Specified by:
newValuein classBaseAnalyze<SimpleLiveValue>
-
-