public class

EPatternMatcher

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.compiler.EPatternMatcher

Class Overview

EPattern search and replace.

Current limitation: matching is limited by basic block boundaries.

Summary

Nested Classes
class EPatternMatcher.Result  
Public Constructors
EPatternMatcher(EPatternCompiler.EPattern pattern, CFG<IEStatement> cfg, IERoutineContext ctx)
Public Methods
CFG<IEStatement> getCfg()
IERoutineContext getContext()
long getMatchAddress(EPatternMatcher.Result result, int index)
EPatternCompiler.EPattern getPattern()
boolean replace(EPatternMatcher.Result r, boolean preferBuiltinReplacer)
EPatternMatcher.Result search(EPatternMatcher.Result lastResult)
EPatternMatcher.Result search()
EPatternMatcher.Result searchAndReplace()
EPatternMatcher.Result searchAndReplace(EPatternMatcher.Result lastResult)
int searchAndReplaceAll()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EPatternMatcher (EPatternCompiler.EPattern pattern, CFG<IEStatement> cfg, IERoutineContext ctx)

Public Methods

public CFG<IEStatement> getCfg ()

public IERoutineContext getContext ()

public long getMatchAddress (EPatternMatcher.Result result, int index)

public EPatternCompiler.EPattern getPattern ()

public boolean replace (EPatternMatcher.Result r, boolean preferBuiltinReplacer)

public EPatternMatcher.Result search (EPatternMatcher.Result lastResult)

public EPatternMatcher.Result search ()

public EPatternMatcher.Result searchAndReplace ()

public EPatternMatcher.Result searchAndReplace (EPatternMatcher.Result lastResult)

public int searchAndReplaceAll ()

public String toString ()