Package apple.struct

Class segment_command


  • public final class segment_command
    extends org.moe.natj.c.StructObject
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        segment_command()  
      protected segment_command​(org.moe.natj.general.Pointer peer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int cmd()
      LC_SEGMENT
      int cmdsize()
      includes sizeof section structs
      int fileoff()
      file offset of this segment
      int 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
      void setCmdsize​(int value)
      includes sizeof section structs
      void setFileoff​(int value)
      file offset of this segment
      void setFilesize​(int 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​(int value)
      memory address of this segment
      void setVmsize​(int value)
      memory size of this segment
      int vmaddr()
      memory address of this segment
      int 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

        public segment_command()
      • segment_command

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

      • cmd

        public int cmd()
        LC_SEGMENT
      • setCmd

        public void setCmd​(int value)
        LC_SEGMENT
      • cmdsize

        public int cmdsize()
        includes sizeof section structs
      • setCmdsize

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

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

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

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

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

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

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

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

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

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

        public void setFilesize​(int 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