Package ghidra.program.model.pcode
Class BlockIfGoto
java.lang.Object
ghidra.program.model.pcode.PcodeBlock
ghidra.program.model.pcode.BlockGraph
ghidra.program.model.pcode.BlockIfGoto
Block representing an if () goto control flow
possible multiple incoming edges
1 output edge if the condition is false
1 (implied) output edge representing the unstructured control flow if the condition is true
1 block evaluating the condition
-
Nested Class Summary
Nested classes/interfaces inherited from class ghidra.program.model.pcode.PcodeBlock
PcodeBlock.BlockEdge -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecodeBody(Decoder decoder, BlockMap resolver) Restore the any additional information beyond header and edges from streamprotected voidencodeBody(Encoder encoder) Encode information about the block to stream, other than header and edge infointvoidMethods inherited from class ghidra.program.model.pcode.BlockGraph
addBlock, addEdge, decode, getBlock, getSize, setIndices, transferObjectRefMethods inherited from class ghidra.program.model.pcode.PcodeBlock
addInEdge, calcDepth, decode, decodeEdges, decodeHeader, decodeNextInEdge, decodeNextInEdge, encode, encodeEdges, encodeHeader, getFalseOut, getFrontLeaf, getIn, getIndex, getInRevIndex, getInSize, getOut, getOutRevIndex, getOutSize, getParent, getStart, getStop, getTrueOut, getType, nameToType, setIndex, toString, typeToName
-
Constructor Details
-
BlockIfGoto
public BlockIfGoto()
-
-
Method Details
-
setGotoTarget
-
getGotoTarget
-
getGotoType
public int getGotoType() -
encodeBody
Description copied from class:PcodeBlockEncode information about the block to stream, other than header and edge info- Overrides:
encodeBodyin classBlockGraph- Parameters:
encoder- is the stream encoder- Throws:
IOException- for errors writing to the underlying stream
-
decodeBody
Description copied from class:PcodeBlockRestore the any additional information beyond header and edges from stream- Overrides:
decodeBodyin classBlockGraph- Parameters:
decoder- is the stream decoderresolver- is for looking up edge references- Throws:
DecoderException- for invalid encoding
-