Class OMFSrcModuleLine
- java.lang.Object
-
- ghidra.app.util.bin.format.pe.debug.OMFSrcModuleLine
-
public class OMFSrcModuleLine extends java.lang.Object
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.
-
-
Constructor Summary
Constructors Constructor Description OMFSrcModuleLine()
DO NOT USE THIS CONSTRUCTOR, USE create*(GenericFactory ...) FACTORY METHODS INSTEAD.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description short[]
getLinenumbers()
Returns the line numbers that are in the source file that cause code to be emitted to the code segment.int[]
getOffsets()
Returns the offset within the code segment of the start of the line.short
getPairCount()
Returns the count or number of source line pairs to follow.short
getSegmentIndex()
Returns the segment index.
-
-
-
Method Detail
-
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
-
-