Package apple.struct

Class entry_point_command


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int cmd()
      LC_MAIN only used in MH_EXECUTE filetypes
      int cmdsize()
      24
      long entryoff()
      file (__TEXT) offset of main()
      void setCmd​(int value)
      LC_MAIN only used in MH_EXECUTE filetypes
      void setCmdsize​(int value)
      24
      void setEntryoff​(long value)
      file (__TEXT) offset of main()
      void setStacksize​(long value)
      if not zero, initial stack size
      long stacksize()
      if not zero, initial stack size
      • 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

      • entry_point_command

        public entry_point_command()
      • entry_point_command

        protected entry_point_command​(org.moe.natj.general.Pointer peer)
      • entry_point_command

        public entry_point_command​(int cmd,
                                   int cmdsize,
                                   long entryoff,
                                   long stacksize)
    • Method Detail

      • cmd

        public int cmd()
        LC_MAIN only used in MH_EXECUTE filetypes
      • setCmd

        public void setCmd​(int value)
        LC_MAIN only used in MH_EXECUTE filetypes
      • cmdsize

        public int cmdsize()
        24
      • setCmdsize

        public void setCmdsize​(int value)
        24
      • entryoff

        public long entryoff()
        file (__TEXT) offset of main()
      • setEntryoff

        public void setEntryoff​(long value)
        file (__TEXT) offset of main()
      • stacksize

        public long stacksize()
        if not zero, initial stack size
      • setStacksize

        public void setStacksize​(long value)
        if not zero, initial stack size