Package ghidra.pcodeCPort.context
Class ParserWalker
- java.lang.Object
-
- ghidra.pcodeCPort.context.ParserWalker
-
- Direct Known Subclasses:
ParserWalkerChange
public class ParserWalker extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]
breadcrumb
protected int
depth
protected ConstructState
point
-
Constructor Summary
Constructors Constructor Description ParserWalker(ParserContext c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
baseState()
Address
getAddr()
Constructor
getConstructor()
AddrSpace
getConstSpace()
int
getContextBits(int startbit, int size)
int
getContextBytes(int byteoff, int numbytes)
AddrSpace
getCurSpace()
FixedHandle
getFixedHandle(int i)
Address
getFlowDestAddr()
Address
getFlowRefAddr()
int
getInstructionBits(int startbit, int size)
int
getInstructionBytes(int byteoff, int numbytes)
int
getLength()
Address
getNaddr()
int
getOffset(int i)
int
getOperand()
FixedHandle
getParentHandle()
ParserContext
getParserContext()
boolean
isState()
void
popOperand()
void
pushOperand(int i)
void
setOutOfBandState(Constructor ct, int index, ConstructState tempstate, ParserWalker otherwalker)
-
-
-
Field Detail
-
point
protected ConstructState point
-
depth
protected int depth
-
breadcrumb
protected int[] breadcrumb
-
-
Constructor Detail
-
ParserWalker
public ParserWalker(ParserContext c)
-
-
Method Detail
-
getParserContext
public ParserContext getParserContext()
-
baseState
public void baseState()
-
setOutOfBandState
public void setOutOfBandState(Constructor ct, int index, ConstructState tempstate, ParserWalker otherwalker)
-
isState
public boolean isState()
-
pushOperand
public void pushOperand(int i)
-
popOperand
public void popOperand()
-
getOffset
public int getOffset(int i)
-
getConstructor
public Constructor getConstructor()
-
getOperand
public int getOperand()
-
getParentHandle
public FixedHandle getParentHandle()
-
getFixedHandle
public FixedHandle getFixedHandle(int i)
-
getCurSpace
public AddrSpace getCurSpace()
-
getConstSpace
public AddrSpace getConstSpace()
-
getAddr
public Address getAddr()
-
getNaddr
public Address getNaddr()
-
getFlowRefAddr
public Address getFlowRefAddr()
-
getFlowDestAddr
public Address getFlowDestAddr()
-
getLength
public int getLength()
-
getInstructionBytes
public int getInstructionBytes(int byteoff, int numbytes)
-
getContextBytes
public int getContextBytes(int byteoff, int numbytes)
-
getInstructionBits
public int getInstructionBits(int startbit, int size)
-
getContextBits
public int getContextBits(int startbit, int size)
-
-