public interface

IMasterOptimizerInstrumenter

com.pnfsoftware.jeb.core.units.code.asm.decompiler.opt.IMasterOptimizerInstrumenter<T extends com.pnfsoftware.jeb.core.units.code.asm.decompiler.opt.IOptimizerTarget>

Class Overview

Instrumentation engine for IMasterOptimizer, providing callbacks to be executed before/after optimizations.

Summary

Public Methods
abstract void postAllOptimizationsCallback(T target)
Executed once after all optimizations
abstract void postOptimizationCallback(T target, OptimizerEntry<T> e, int cnt, long executionTimeMs)
Executed after each optimization
abstract void preAllOptimizationsCallback(T target)
Executed once before all optimizations
abstract void preOptimizationCallback(T target, OptimizerEntry<T> e)
Executed before each optimization

Public Methods

public abstract void postAllOptimizationsCallback (T target)

Executed once after all optimizations

public abstract void postOptimizationCallback (T target, OptimizerEntry<T> e, int cnt, long executionTimeMs)

Executed after each optimization

Parameters
cnt number of optimizations done

public abstract void preAllOptimizationsCallback (T target)

Executed once before all optimizations

public abstract void preOptimizationCallback (T target, OptimizerEntry<T> e)

Executed before each optimization