Package ghidra.app.util.bin.format.elf
Interface ElfFileSection
- All Superinterfaces:
StructConverter
- All Known Implementing Classes:
ElfDynamicTable
,ElfRelocationTable
,ElfStringTable
,ElfSymbolTable
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Preferred memory address offset where data should be loaded.int
Size of each structured entry in byteslong
Offset within file where section bytes are specifiedlong
Length of file section in bytesMethods 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
-