Package apple.struct

Class segment_command_64


  • public final class segment_command_64
    extends org.moe.natj.c.StructObject
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int cmd()
      LC_SEGMENT_64
      int cmdsize()
      includes sizeof section_64 structs
      long fileoff()
      file offset of this segment
      long filesize()
      amount to map from the file
      int flags()
      flags
      int initprot()
      initial VM protection
      int maxprot()
      maximum VM protection
      int nsects()
      number of sections in segment
      byte segname​(int field_idx)
      segment name
      void setCmd​(int value)
      LC_SEGMENT_64
      void setCmdsize​(int value)
      includes sizeof section_64 structs
      void setFileoff​(long value)
      file offset of this segment
      void setFilesize​(long value)
      amount to map from the file
      void setFlags​(int value)
      flags
      void setInitprot​(int value)
      initial VM protection
      void setMaxprot​(int value)
      maximum VM protection
      void setNsects​(int value)
      number of sections in segment
      void setSegname​(byte value, int field_idx)
      segment name
      void setVmaddr​(long value)
      memory address of this segment
      void setVmsize​(long value)
      memory size of this segment
      long vmaddr()
      memory address of this segment
      long vmsize()
      memory size of this segment
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • segment_command_64

        public segment_command_64()
      • segment_command_64

        protected segment_command_64​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • cmd

        public int cmd()
        LC_SEGMENT_64
      • setCmd

        public void setCmd​(int value)
        LC_SEGMENT_64
      • cmdsize

        public int cmdsize()
        includes sizeof section_64 structs
      • setCmdsize

        public void setCmdsize​(int value)
        includes sizeof section_64 structs
      • segname

        public byte segname​(int field_idx)
        segment name
      • setSegname

        public void setSegname​(byte value,
                               int field_idx)
        segment name
      • vmaddr

        public long vmaddr()
        memory address of this segment
      • setVmaddr

        public void setVmaddr​(long value)
        memory address of this segment
      • vmsize

        public long vmsize()
        memory size of this segment
      • setVmsize

        public void setVmsize​(long value)
        memory size of this segment
      • fileoff

        public long fileoff()
        file offset of this segment
      • setFileoff

        public void setFileoff​(long value)
        file offset of this segment
      • filesize

        public long filesize()
        amount to map from the file
      • setFilesize

        public void setFilesize​(long value)
        amount to map from the file
      • maxprot

        public int maxprot()
        maximum VM protection
      • setMaxprot

        public void setMaxprot​(int value)
        maximum VM protection
      • initprot

        public int initprot()
        initial VM protection
      • setInitprot

        public void setInitprot​(int value)
        initial VM protection
      • nsects

        public int nsects()
        number of sections in segment
      • setNsects

        public void setNsects​(int value)
        number of sections in segment
      • flags

        public int flags()
        flags
      • setFlags

        public void setFlags​(int value)
        flags