Package ghidra.program.model.pcode
Class BlockMap
- java.lang.Object
-
- ghidra.program.model.pcode.BlockMap
-
public class BlockMap extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BlockMap(AddressFactory fac)
BlockMap(BlockMap op2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addGotoRef(PcodeBlock gblock, int root, int depth)
PcodeBlock
createBlock(java.lang.String name, int index)
PcodeBlock
findLevelBlock(int ind)
Assume blocks are in index order, find the block with index -ind-AddressFactory
getAddressFactory()
void
resolveGotoReferences()
void
sortLevelList()
-
-
-
Constructor Detail
-
BlockMap
public BlockMap(AddressFactory fac)
-
BlockMap
public BlockMap(BlockMap op2)
-
-
Method Detail
-
getAddressFactory
public AddressFactory getAddressFactory()
-
findLevelBlock
public PcodeBlock findLevelBlock(int ind)
Assume blocks are in index order, find the block with index -ind-- Parameters:
ind
- is the block index to match- Returns:
- the matching PcodeBlock
-
sortLevelList
public void sortLevelList()
-
createBlock
public PcodeBlock createBlock(java.lang.String name, int index)
-
addGotoRef
public void addGotoRef(PcodeBlock gblock, int root, int depth)
-
resolveGotoReferences
public void resolveGotoReferences()
-
-