Package ghidra.app.util.bin.format.dwarf
Class DWARFAddressListHeader
java.lang.Object
ghidra.app.util.bin.format.dwarf.DWARFIndirectTableHeader
ghidra.app.util.bin.format.dwarf.DWARFAddressListHeader
Header at the beginning of a address list table
-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.dwarf.DWARFIndirectTableHeader
endOffset, firstElementOffset, startOffset
-
Constructor Summary
ConstructorDescriptionDWARFAddressListHeader
(long startOffset, long endOffset, long firstElementOffset, int addressSize, int segmentSelectorSize, int addrCount) -
Method Summary
Modifier and TypeMethodDescriptionint
long
getOffset
(int index, BinaryReader reader) int
static DWARFAddressListHeader
read
(BinaryReader reader, int defaultIntSize) Reads aDWARFAddressListHeader
from the stream.Methods inherited from class ghidra.app.util.bin.format.dwarf.DWARFIndirectTableHeader
getEndOffset, getFirstElementOffset, getStartOffset
-
Constructor Details
-
DWARFAddressListHeader
public DWARFAddressListHeader(long startOffset, long endOffset, long firstElementOffset, int addressSize, int segmentSelectorSize, int addrCount)
-
-
Method Details
-
read
public static DWARFAddressListHeader read(BinaryReader reader, int defaultIntSize) throws IOException Reads aDWARFAddressListHeader
from the stream.- Parameters:
reader
-BinaryReader
streamdefaultIntSize
- native int size for the binary- Returns:
DWARFAddressListHeader
, or null if end-of-list marker- Throws:
IOException
- if error reading
-
getOffset
- Specified by:
getOffset
in classDWARFIndirectTableHeader
- Throws:
IOException
-
getAddressSize
public int getAddressSize() -
getSegmentSelectorSize
public int getSegmentSelectorSize()
-