Class Util
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.compiler.Util
Utility routines to build IR templates.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
calcMaxDepths
(Node root) static Leaf
L
(int id) Create a leaf node matching everything (terminals and non-terminals alike, of any bitsize)static Leaf
L
(int id, int bitsize) Create a leaf node matching terminals and non-terminals of the provided bitsizestatic Leaf
L
(int id, int bitsize, int flags, INodeHandler customHandler) Create a leaf nodestatic Leaf
LC
(long value) Create a leaf node matching a given immediate, regardless of its bitsizestatic Leaf
LC
(long value, int bitsize) Create a leaf node matching a given immediate with an explicit bitsizestatic Leaf
LC
(long value, int bitsize, int id) Create a leaf node matching a given immediate with an explicit bitsizestatic Leaf
LI
(int id) Create a leaf node matching immediates onlystatic Leaf
LIV
(int id) Create a leaf node matching immediates and variables onlystatic Leaf
LT
(int id) Create a leaf node matching all terminals, but terminals onlystatic Leaf
LV
(int id) Create a leaf node matching variables onlystatic Node
static Node
static SubstitutionDefinition
static void
setMaxDepths
(INode root)
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
N
-
N
-
L
Create a leaf node -
L
Create a leaf node matching everything (terminals and non-terminals alike, of any bitsize) -
L
Create a leaf node matching terminals and non-terminals of the provided bitsize -
LT
Create a leaf node matching all terminals, but terminals only -
LI
Create a leaf node matching immediates only -
LV
Create a leaf node matching variables only -
LIV
Create a leaf node matching immediates and variables only -
LC
Create a leaf node matching a given immediate with an explicit bitsize -
LC
Create a leaf node matching a given immediate with an explicit bitsize -
LC
Create a leaf node matching a given immediate, regardless of its bitsize -
SD
-
setMaxDepths
-
calcMaxDepths
-