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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getAddressOffset()
Preferred memory address offset where data should be loaded.int
getEntrySize()
Size of each structured entry in byteslong
getFileOffset()
Offset within file where section bytes are specifiedlong
getLength()
Length of file section in bytes-
Methods inherited from interface ghidra.app.util.bin.StructConverter
toDataType
-
-
-
-
Method Detail
-
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
-
-