The cetus.hir package provides a set of utility methods that are used in common operations such as searching the IR, claiming a new symbol, printing various collections, etc. Since version 1.2, these utilities are provided in five different subsets for better user accessibility. Some of these methods are used only internally, hence are not provided as public methods.

  • DataFlowTools: Utility methods for detecting used or modified memory accesses
  • IRTools: Utility methods for searching specific types of IR objects that appear in the IR tree
  • PrintTools: Utility methods that enable pretty printing of collections and user-directed printing of verbose information
  • SymbolTools: Utility methods related to Cetus’ symbol interface
  • Tools: Utility methods for general purpose