public final class RegisterUtils
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
RegisterUtils()
private to reinforce the helper status of the class
|
| Modifier and Type | Method and Description |
|---|---|
static int |
getALoadReg(edu.umd.cs.findbugs.visitclass.DismantleBytecode dbc,
int seen)
returns the register used to load a reference
|
static int |
getAStoreReg(edu.umd.cs.findbugs.visitclass.DismantleBytecode dbc,
int seen)
returns the register used to store a reference
|
static int |
getLoadReg(edu.umd.cs.findbugs.visitclass.DismantleBytecode dbc,
int seen)
returns the register used in a load operation
|
static int |
getLocalVariableEndRange(org.apache.bcel.classfile.LocalVariableTable lvt,
int reg,
int curPC)
returns the end pc of the visible range of this register at this pc
|
static int[] |
getParameterRegisters(org.apache.bcel.classfile.Method obj)
gets the set of registers used for parameters
|
static int |
getStoreReg(edu.umd.cs.findbugs.visitclass.DismantleBytecode dbc,
int seen)
returns the register used in a store operation
|
private RegisterUtils()
public static int getAStoreReg(edu.umd.cs.findbugs.visitclass.DismantleBytecode dbc,
int seen)
dbc - the dismantle byte code parsing the classseen - the opcode of the storepublic static int getALoadReg(edu.umd.cs.findbugs.visitclass.DismantleBytecode dbc,
int seen)
dbc - the dismantle byte code parsing the classseen - the opcode of the loadpublic static int getStoreReg(edu.umd.cs.findbugs.visitclass.DismantleBytecode dbc,
int seen)
dbc - the dismantle byte code parsing the classseen - the opcode of the storepublic static int getLoadReg(edu.umd.cs.findbugs.visitclass.DismantleBytecode dbc,
int seen)
dbc - the dismantle byte code parsing the classseen - the opcode of the loadpublic static int getLocalVariableEndRange(org.apache.bcel.classfile.LocalVariableTable lvt,
int reg,
int curPC)
lvt - the local variable table for this methodreg - the register to examinecurPC - the pc of the current instructionpublic static int[] getParameterRegisters(org.apache.bcel.classfile.Method obj)
obj - the context object for the method to find the parameter registers ofCopyright © 2005-2018 MeBigFatGuy.com. All Rights Reserved.