Class DWARFLine.DWARFFile

java.lang.Object
ghidra.app.util.bin.format.dwarf4.DWARFLine.DWARFFile
Enclosing class:
DWARFLine

public static class DWARFLine.DWARFFile extends Object
DWARFFile is used to store file information for each entry in the line section header.
  • Constructor Details

    • DWARFFile

      public DWARFFile(BinaryReader reader) throws IOException
      Read in a new file entry and store into this object.
      Parameters:
      reader - binary reader to read the file entry
      Throws:
      IOException - if an I/O error occurs
    • DWARFFile

      public DWARFFile(String name, long directory_index, long modification_time, long length)
      Create a new DWARF file entry with the given parameters.
      Parameters:
      name - name of the file
      directory_index - index of the directory for this file
      modification_time - modification time of the file
      length - length of the file
  • Method Details

    • getName

      public String getName()
    • getDirectoryIndex

      public long getDirectoryIndex()
    • getModificationTime

      public long getModificationTime()
    • toString

      public String toString()
      Overrides:
      toString in class Object