Class AbstractDInstrumenter
java.lang.Object
com.pnfsoftware.jeb.core.units.code.android.ir.AbstractDInstrumenter
- All Implemented Interfaces:
IDMasterOptimizerInstrumenter
Skeleton for an IR Master Optimizer instrumenter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintafterFailedPass(IDOptimizer opt, IDMethodContext ctx, Exception ex) The default implementation returns 0 (proceed).intafterPass(IDOptimizer opt, IDMethodContext ctx, int optcnt) The default implementation returns 0 (proceed).intbeforePass(IDOptimizer opt, IDMethodContext ctx) The default implementation returns 0 (proceed).
-
Constructor Details
-
AbstractDInstrumenter
public AbstractDInstrumenter()
-
-
Method Details
-
beforePass
The default implementation returns 0 (proceed).- Specified by:
beforePassin interfaceIDMasterOptimizerInstrumenter- Parameters:
opt- the method optimizerctx- the IR context- Returns:
- 0=no control code, let a subsequent instrumenter decide; -1=stop the entire optimization process; 1=skip this optimizer
-
afterPass
The default implementation returns 0 (proceed).- Specified by:
afterPassin interfaceIDMasterOptimizerInstrumenter- Parameters:
opt- the method optimizerctx- the IR contextoptcnt- the number of optimizations performed; may be 0- Returns:
- 0=no control code, let a subsequent instrumenter decide; -1=stop the entire optimization process
-
afterFailedPass
The default implementation returns 0 (proceed).- Specified by:
afterFailedPassin interfaceIDMasterOptimizerInstrumenter- Parameters:
opt- the method optimizerctx- the IR contextex- the exception that was thrown by the optimizer- Returns:
- 0=no control code, let a subsequent instrumenter decide; -1=stop the entire optimization process
-