public static class CodeUtil.DefaultRefMapFormatter extends CodeUtil.DefaultRegFormatter
Modifier and Type | Field and Description |
---|---|
Register |
fp
The register used as the frame pointer.
|
int |
refMapToFPOffset
The offset (in bytes) from the slot pointed to by
fp to the slot corresponding
to bit 0 in the frame reference map. |
int |
slotSize
The size of a stack slot.
|
Constructor and Description |
---|
DefaultRefMapFormatter(Architecture arch,
int slotSize,
Register fp,
int refMapToFPOffset) |
Modifier and Type | Method and Description |
---|---|
String |
formatStackSlot(int frameRefMapIndex) |
formatRegister
public final int slotSize
public final int refMapToFPOffset
fp
to the slot corresponding
to bit 0 in the frame reference map.public DefaultRefMapFormatter(Architecture arch, int slotSize, Register fp, int refMapToFPOffset)
public String formatStackSlot(int frameRefMapIndex)
formatStackSlot
in interface CodeUtil.RefMapFormatter
formatStackSlot
in class CodeUtil.DefaultRegFormatter