Package ghidra.app.util.bin.format.dwarf4.next

# Class DWARFParser

java.lang.Object
ghidra.app.util.bin.format.dwarf4.next.DWARFParser

public class DWARFParser extends Object
Performs a DWARF datatype import and a DWARF function import, under the control of the `DWARFImportOptions`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DWARFParser(DWARFProgram prog, TaskMonitor monitor)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DWARFImportSummary`
  `parse()`
  Imports DWARF information according to the `DWARFImportOptions` set.

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

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

- ## Constructor Details

  - ### DWARFParser

    public DWARFParser(DWARFProgram prog, TaskMonitor monitor)

- ## Method Details

  - ### parse

    public DWARFImportSummary parse() throws IOException, DWARFException, CancelledException
    Imports DWARF information according to the `DWARFImportOptions` set.

    `DWARFProgram.checkPreconditions(TaskMonitor)` must be called before this.

    Returns:
    Throws:
      `IOException`
      `DWARFException`
      `CancelledException`