Package ghidra.program.model.pcode
Class PcodeBlock.BlockEdge
- java.lang.Object
-
- ghidra.program.model.pcode.PcodeBlock.BlockEdge
-
- Enclosing class:
- PcodeBlock
public static class PcodeBlock.BlockEdge extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description int
label
PcodeBlock
point
int
reverse_index
-
Constructor Summary
Constructors Constructor Description BlockEdge()
For use with restoreXmlBlockEdge(PcodeBlock pt, int lab, int rev)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
restoreXml(XmlPullParser parser, BlockMap resolver)
Restore meta-data for a single edgevoid
restoreXml(XmlPullParser parser, java.util.ArrayList<? extends PcodeBlock> blockList)
void
saveXml(java.lang.StringBuilder buffer)
Save edge as XML assuming we already know what block we are injava.lang.String
toString()
-
-
-
Field Detail
-
label
public int label
-
point
public PcodeBlock point
-
reverse_index
public int reverse_index
-
-
Constructor Detail
-
BlockEdge
public BlockEdge(PcodeBlock pt, int lab, int rev)
-
BlockEdge
public BlockEdge()
For use with restoreXml
-
-
Method Detail
-
saveXml
public void saveXml(java.lang.StringBuilder buffer)
Save edge as XML assuming we already know what block we are in- Parameters:
buffer
- to write tag to
-
restoreXml
public void restoreXml(XmlPullParser parser, BlockMap resolver) throws PcodeXMLException
Restore meta-data for a single edge- Parameters:
parser
-resolver
- used to recover PcodeBlock reference- Throws:
PcodeXMLException
-
restoreXml
public void restoreXml(XmlPullParser parser, java.util.ArrayList<? extends PcodeBlock> blockList) throws PcodeXMLException
- Throws:
PcodeXMLException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-