public abstract class PhysicalDefUse extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PhysicalDefUse.PDUEnumeration
A class to enumerate physical registers based on a code.
|
Modifier and Type | Field and Description |
---|---|
static int |
mask
Default empty mask
|
static int |
maskAF
AF in the eflags is used/defined
|
static int |
maskAF_CF_OF_PF_SF_ZF |
static int |
maskAF_OF_PF_SF_ZF |
private static int |
maskALL
Mask for all bits
|
static int |
maskC0
C0 in the x87 FPU is used/defined
|
static int |
maskC0_C1_C2_C3 |
static int |
maskC1
C1 in the x87 FPU is used/defined
|
static int |
maskC2
C2 in the x87 FPU is used/defined
|
static int |
maskC3
C3 in the x87 FPU is used/defined
|
static int |
maskcallDefs |
static int |
maskcallUses |
static int |
maskCF
CF in the eflags is used/defined
|
static int |
maskCF_OF |
static int |
maskCF_OF_PF_SF_ZF |
static int |
maskCF_PF_ZF |
static int |
maskESP
The ESP register is used/defined
|
private static int |
maskHIGH
First mask bit
|
static int |
maskIEEEMagicUses |
static int |
maskOF
OF in the eflags is used/defined
|
static int |
maskPF
PF in the eflags is used/defined
|
static int |
maskSF
SF in the eflags is used/defined
|
static int |
maskTR
The processor register is used/defined
|
static int |
maskTSPDefs
Definitions mask used by dependence graph to show a yield point
|
static int |
maskTSPUses
Uses mask used by dependence graph to show a yield point
|
static int |
maskZF
ZF in the eflags is used/defined
|
Constructor and Description |
---|
PhysicalDefUse() |
Modifier and Type | Method and Description |
---|---|
static boolean |
definesEFLAGS(Operator op) |
static PhysicalDefUse.PDUEnumeration |
enumerate(int code,
IR ir) |
static PhysicalDefUse.PDUEnumeration |
enumerateAllImplicitDefUses(IR ir) |
static String |
getString(int code) |
static boolean |
usesEFLAGS(Operator op) |
static boolean |
usesOrDefinesESP(Operator op) |
public static final int mask
public static final int maskAF
public static final int maskCF
public static final int maskOF
public static final int maskPF
public static final int maskSF
public static final int maskZF
public static final int maskC0
public static final int maskC1
public static final int maskC2
public static final int maskC3
public static final int maskTR
public static final int maskESP
private static final int maskHIGH
private static final int maskALL
public static final int maskCF_OF
public static final int maskCF_PF_ZF
public static final int maskCF_OF_PF_SF_ZF
public static final int maskAF_OF_PF_SF_ZF
public static final int maskAF_CF_OF_PF_SF_ZF
public static final int maskC0_C1_C2_C3
public static final int maskcallDefs
public static final int maskcallUses
public static final int maskIEEEMagicUses
public static final int maskTSPUses
public static final int maskTSPDefs
public PhysicalDefUse()
public static boolean usesEFLAGS(Operator op)
public static boolean definesEFLAGS(Operator op)
public static boolean usesOrDefinesESP(Operator op)
public static String getString(int code)
code
- the encoding of physical registerspublic static PhysicalDefUse.PDUEnumeration enumerate(int code, IR ir)
code
- an integer that encodes a set of physical registersir
- the governing IRpublic static PhysicalDefUse.PDUEnumeration enumerateAllImplicitDefUses(IR ir)
ir
- the governing IR