Class OMFSrcModuleLine
java.lang.Object
ghidra.app.util.bin.format.pe.debug.OMFSrcModuleLine
A class to represent the Object Module Format (OMF) Source Module Line data structure.
short seg - segment index.
short cPair - Count or number of source line pairs to follow.
int [] offsets - offset within the code segment of the start of the line.
short [] linenumbers - line numbers that are in the source file that cause code to be emitted to the code segment.
short seg - segment index.
short cPair - Count or number of source line pairs to follow.
int [] offsets - offset within the code segment of the start of the line.
short [] linenumbers - line numbers that are in the source file that cause code to be emitted to the code segment.
-
Method Summary
Modifier and TypeMethodDescriptionshort[]
Returns the line numbers that are in the source file that cause code to be emitted to the code segment.int[]
Returns the offset within the code segment of the start of the line.short
Returns the count or number of source line pairs to follow.short
Returns the segment index.
-
Method Details
-
getPairCount
public short getPairCount()Returns the count or number of source line pairs to follow.- Returns:
- the count or number of source line pairs to follow
-
getLinenumbers
public short[] getLinenumbers()Returns the line numbers that are in the source file that cause code to be emitted to the code segment.- Returns:
- the line numbers that are in the source file that cause code to be emitted to the code segment
-
getOffsets
public int[] getOffsets()Returns the offset within the code segment of the start of the line.- Returns:
- the offset within the code segment of the start of the line
-
getSegmentIndex
public short getSegmentIndex()Returns the segment index.- Returns:
- the segment index
-