Class SegmentNames


  • public final class SegmentNames
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SEG_DATA
      the traditional UNIX data segment
      static java.lang.String SEG_ICON
      the icon segment
      static java.lang.String SEG_IMPORT
      the segment for the self (dyld) modifying code stubs that has read, write and execute permissions
      static java.lang.String SEG_LINKEDIT
      the segment containing all structs created and maintained by the link editor.
      static java.lang.String SEG_OBJC
      objective-C runtime segment
      static java.lang.String SEG_PAGEZERO
      the pagezero segment which has no protections and catches NULL references for MH_EXECUTE files
      static java.lang.String SEG_PRELINK_TEXT  
      static java.lang.String SEG_TEXT
      the traditional UNIX text segment
      static java.lang.String SEG_TEXT_EXEC  
      static java.lang.String SEG_UNIXSTACK
      the unix stack segment
    • Constructor Summary

      Constructors 
      Constructor Description
      SegmentNames()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • SEG_PAGEZERO

        public static final java.lang.String SEG_PAGEZERO
        the pagezero segment which has no protections and catches NULL references for MH_EXECUTE files
        See Also:
        Constant Field Values
      • SEG_TEXT

        public static final java.lang.String SEG_TEXT
        the traditional UNIX text segment
        See Also:
        Constant Field Values
      • SEG_DATA

        public static final java.lang.String SEG_DATA
        the traditional UNIX data segment
        See Also:
        Constant Field Values
      • SEG_OBJC

        public static final java.lang.String SEG_OBJC
        objective-C runtime segment
        See Also:
        Constant Field Values
      • SEG_ICON

        public static final java.lang.String SEG_ICON
        the icon segment
        See Also:
        Constant Field Values
      • SEG_LINKEDIT

        public static final java.lang.String SEG_LINKEDIT
        the segment containing all structs created and maintained by the link editor. Created with -seglinkedit option to ld(1) for MH_EXECUTE and FVMLIB file types only
        See Also:
        Constant Field Values
      • SEG_UNIXSTACK

        public static final java.lang.String SEG_UNIXSTACK
        the unix stack segment
        See Also:
        Constant Field Values
      • SEG_IMPORT

        public static final java.lang.String SEG_IMPORT
        the segment for the self (dyld) modifying code stubs that has read, write and execute permissions
        See Also:
        Constant Field Values
      • SEG_PRELINK_TEXT

        public static final java.lang.String SEG_PRELINK_TEXT
        See Also:
        Constant Field Values
    • Constructor Detail

      • SegmentNames

        public SegmentNames()