Package ghidra.program.model.pcode
Class BlockCondition
- java.lang.Object
-
- ghidra.program.model.pcode.PcodeBlock
-
- ghidra.program.model.pcode.BlockGraph
-
- ghidra.program.model.pcode.BlockCondition
-
public class BlockCondition extends BlockGraph
Block representing and '&&' or '||' control flow path within a conditional expression possible multiple incoming edges 2 outgoing edges, one for true control flow, one for false control flow one "initial" condition block, with 2 outgoing edges one "secondary" condition block, with 2 outgoing edges, exactly 1 incoming edge from "initial"
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ghidra.program.model.pcode.PcodeBlock
PcodeBlock.BlockEdge
-
-
Constructor Summary
Constructors Constructor Description BlockCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOpcode()
void
restoreXmlHeader(XmlElement el)
void
saveXmlHeader(java.lang.StringBuilder buffer)
-
Methods inherited from class ghidra.program.model.pcode.BlockGraph
addBlock, addEdge, getBlock, getSize, restoreXml, restoreXmlBody, saveXmlBody, setIndices, transferObjectRef
-
Methods inherited from class ghidra.program.model.pcode.PcodeBlock
addInEdge, calcDepth, getFalseOut, getFrontLeaf, getIn, getIndex, getInRevIndex, getInSize, getOut, getOutRevIndex, getOutSize, getParent, getStart, getStop, getTrueOut, getType, nameToType, restoreNextInEdge, restoreNextInEdge, restoreXml, restoreXmlEdges, saveXml, saveXmlEdges, setIndex, toString, typeToName
-
-
-
-
Method Detail
-
getOpcode
public int getOpcode()
-
saveXmlHeader
public void saveXmlHeader(java.lang.StringBuilder buffer)
- Overrides:
saveXmlHeader
in classPcodeBlock
-
restoreXmlHeader
public void restoreXmlHeader(XmlElement el) throws PcodeXMLException
- Overrides:
restoreXmlHeader
in classPcodeBlock
- Throws:
PcodeXMLException
-
-