Class OMFSegMap

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

public class OMFSegMap extends Object
 typedef struct OMFSegMap {
     unsigned short  cSeg;        // total number of segment descriptors
     unsigned short  cSegLog;     // number of logical segment descriptors
     OMFSegMapDesc   rgDesc[0];   // array of segment descriptors
 };
 
  • Method Details

    • getSegmentDescriptorCount

      public short getSegmentDescriptorCount()
      Returns the total number of segment descriptors.
      Returns:
      the total number of segment descriptors
    • getLogicalSegmentDescriptorCount

      public short getLogicalSegmentDescriptorCount()
      Returns the number of logical segment descriptors.
      Returns:
      the number of logical segment descriptors
    • getSegmentDescriptor

      public OMFSegMapDesc[] getSegmentDescriptor()
      Returns the array of segment descriptors.
      Returns:
      the array of segment descriptors