| com.pnfsoftware.jeb.core.units.code.android.ir.IDMasterOptimizerInstrumenter |
Known Indirect Subclasses
|
Instrumenter interface for IR master optimizer (MO). An instrumenter is
used to examine and guide the optimization process of a method IR.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract int |
afterFailedPass(IDOptimizer opt, IDMethodContext ctx, Exception ex)
This method is called by the MO after a method-optimizer failed.
| ||||||||||
| abstract int |
afterPass(IDOptimizer opt, IDMethodContext ctx, int optcnt)
This method is called by the MO after a method-optimizer successfully returned.
| ||||||||||
| abstract int |
beforePass(IDOptimizer opt, IDMethodContext ctx)
This method is called by the MO before a method-optimizer is about to be executed.
| ||||||||||
This method is called by the MO after a method-optimizer failed.
| opt | the method optimizer |
|---|---|
| ctx | the IR context |
| ex | the exception that was thrown by the optimizer |
This method is called by the MO after a method-optimizer successfully returned.
| opt | the method optimizer |
|---|---|
| ctx | the IR context |
| optcnt | the number of optimizations performed; may be 0 |
This method is called by the MO before a method-optimizer is about to be executed.
| opt | the method optimizer |
|---|---|
| ctx | the IR context |