java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.code.asm.decompiler.ir.compiler.Util |
Utility routines to build IR templates.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Util() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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 bitsize
| ||||||||||
static Leaf |
L(int id, int bitsize, int flags, INodeHandler customHandler)
Create a leaf node
| ||||||||||
static Leaf |
LC(long value, int bitsize, int id)
Create a leaf node matching a given immediate with an explicit bitsize
| ||||||||||
static Leaf |
LC(long value, int bitsize)
Create a leaf node matching a given immediate with an explicit bitsize
| ||||||||||
static Leaf |
LC(long value)
Create a leaf node matching a given immediate, regardless of its bitsize
| ||||||||||
static Leaf |
LI(int id)
Create a leaf node matching immediates only
| ||||||||||
static Leaf |
LIV(int id)
Create a leaf node matching immediates and variables only
| ||||||||||
static Leaf |
LT(int id)
Create a leaf node matching all terminals, but terminals only
| ||||||||||
static Leaf |
LV(int id)
Create a leaf node matching variables only
| ||||||||||
static Node | N(OGroup opgrp, INode... operands) | ||||||||||
static Node | N(O operator, INode... operands) | ||||||||||
static SubstitutionDefinition | SD(INode pattern, INode replacement) | ||||||||||
static int | calcMaxDepths(Node root) | ||||||||||
static void | setMaxDepths(INode root) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a leaf node matching everything (terminals and non-terminals alike, of any bitsize)
Create a leaf node matching terminals and non-terminals of the provided bitsize
Create a leaf node
Create a leaf node matching a given immediate with an explicit bitsize
Create a leaf node matching a given immediate with an explicit bitsize
Create a leaf node matching a given immediate, regardless of its bitsize