Package ghidra.app.util.bin.format.pe.debug

# Class OMFSrcModuleLine

java.lang.Object
ghidra.app.util.bin.format.pe.debug.OMFSrcModuleLine

public class OMFSrcModuleLine extends 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.

- ## Method Summary

  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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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