Class EEquationMatcher
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.compiler.EEquationMatcher
A matcher can be used to check if two IR expressions match two provided templates.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EEquationMatcher
- Parameters:
t0
- first templatet1
- second template
-
-
Method Details
-
getMatchMap
Upon a successful match, retrieve the map of matches.- Returns:
- template node id to matching IR object
-
isMatch
Determine whether the provided IR expressions match the templates- Parameters:
e0
- first IRe1
- second IR- Returns:
- true if e0 matches t0 and e1 matches t1, or if e0 matches t1 and e1 matches t0
-