Package ghidra.program.model.pcode

# Class BlockMap

java.lang.Object
ghidra.program.model.pcode.BlockMap

public class BlockMap extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BlockMap(AddressFactory fac)`
  `BlockMap(BlockMap op2)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addGotoRef(PcodeBlock gblock, int root, int depth)`
  `PcodeBlock`
  `createBlock(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()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BlockMap

    public BlockMap(AddressFactory fac)

  - ### BlockMap

    public BlockMap(BlockMap op2)

- ## Method Details

  - ### 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(String name, int index)

  - ### addGotoRef

    public void addGotoRef(PcodeBlock gblock, int root, int depth)

  - ### resolveGotoReferences

    public void resolveGotoReferences()