Package ghidra.app.util.bin.format.elf

# Interface ElfFileSection

All Superinterfaces:
  `StructConverter`

All Known Implementing Classes:
  `ElfDynamicTable`, `ElfRelocationTable`, `ElfStringTable`, `ElfSymbolTable`

public interface ElfFileSection extends StructConverter

- ## Field Summary

  ### Fields inherited from interface ghidra.app.util.bin.StructConverter

  `ASCII, BYTE, DWORD, IBO32, IBO64, POINTER, QWORD, SLEB128, STRING, ULEB128, UTF16, UTF8, VOID, WORD`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `getAddressOffset()`
  Preferred memory address offset where data should be loaded.
  `int`
  `getEntrySize()`
  Size of each structured entry in bytes
  `long`
  `getFileOffset()`
  Offset within file where section bytes are specified
  `long`
  `getLength()`
  Length of file section in bytes

  ### Methods inherited from interface ghidra.app.util.bin.StructConverter

  `toDataType`

- ## Method Details

  - ### getAddressOffset

    long getAddressOffset()
    Preferred memory address offset where data should be loaded. The returned offset will already have the prelink adjustment applied, although will not reflect any change in the image base.
    Returns:
      default memory address offset where data should be loaded

  - ### getFileOffset

    long getFileOffset()
    Offset within file where section bytes are specified
    Returns:
      offset within file where section bytes are specified

  - ### getLength

    long getLength()
    Length of file section in bytes
    Returns:
      length of file section in bytes

  - ### getEntrySize

    int getEntrySize()
    Size of each structured entry in bytes
    Returns:
      entry size or -1 if variable