public interface

ICodeHierarchy

com.pnfsoftware.jeb.core.units.code.ICodeHierarchy

Class Overview

Get a tree representing the code hierarchy of a code unit.

Summary

Public Methods
abstract ICodeNode findNode(String address)
Retrieve the node at the provided address.
abstract ICodeNode findNode(String address, boolean bestEffort)
Retrieve the node that best matches the provided address.
abstract ICodeNode getRoot()
Retrieve the root code node.

Public Methods

public abstract ICodeNode findNode (String address)

Retrieve the node at the provided address.

Parameters
address code node address
Returns
  • a node or null

public abstract ICodeNode findNode (String address, boolean bestEffort)

Retrieve the node that best matches the provided address.

Parameters
address code node address
bestEffort if true, will attempt to resolve to the nearest or most appropriate node if the address is not the exact one of a node
Returns
  • a node or null

public abstract ICodeNode getRoot ()

Retrieve the root code node.

Note: Code nodes should not to be confused with code objects.

Returns
  • the code node root, generally a package (namespace)