Interface IEOptimizer
- All Superinterfaces:
IOptimizer<IERoutineContext>
,IPlugin
- All Known Implementing Classes:
AbstractEBlockOptimizer
,AbstractEExpressionOptimizer
,AbstractEOptimizer
,AbstractEPatternOptimizer
,AbstractEStatementOptimizer
Base interface for IR optimizers. DO not implement directly. It is preferable to extend one of
the abstract sub-classes.
-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.opt.IOptimizer
DEAD_CODE_REMOVER, DEOBFUSCATOR, PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_STANDARD
-
Method Summary
Modifier and TypeMethodDescriptionGet the data chains update policy after the optimization was performed.performOnExpression
(IEGeneric exp, IERoutineContext ectx) Optimize a single expression.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.opt.IOptimizer
getMasterOptimizer, getPreferredExecutionStage, getPriority, getRequiredModeThreshold, getTags, getType, performOnTarget, setMasterOptimizer
Methods inherited from interface com.pnfsoftware.jeb.core.IPlugin
dispose, getData, getPluginInformation, setData
-
Method Details
-
getDataChainsUpdatePolicy
DataChainsUpdatePolicy getDataChainsUpdatePolicy()Get the data chains update policy after the optimization was performed.- Returns:
-
performOnExpression
Optimize a single expression.- Parameters:
exp
- IR expression to optimizeectx
- helper routine context- Returns:
- non-null if the expression was optimized; null otherwise
-