Class ElfSectionHeaderConstants


  • public class ElfSectionHeaderConstants
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String dot_bss
      RESERVED SECTION NAME
      static java.lang.String dot_comment
      RESERVED SECTION NAME
      static java.lang.String dot_data
      RESERVED SECTION NAME
      static java.lang.String dot_data1
      RESERVED SECTION NAME
      static java.lang.String dot_debug
      RESERVED SECTION NAME
      static java.lang.String dot_dynamic
      RESERVED SECTION NAME
      static java.lang.String dot_dynstr
      RESERVED SECTION NAME
      static java.lang.String dot_dynsym
      RESERVED SECTION NAME
      static java.lang.String dot_fini
      RESERVED SECTION NAME
      static java.lang.String dot_got
      RESERVED SECTION NAME
      static java.lang.String dot_hash
      RESERVED SECTION NAME
      static java.lang.String dot_init
      RESERVED SECTION NAME
      static java.lang.String dot_interp
      RESERVED SECTION NAME
      static java.lang.String dot_line
      RESERVED SECTION NAME
      static java.lang.String dot_note
      RESERVED SECTION NAME
      static java.lang.String dot_plt
      RESERVED SECTION NAME
      static java.lang.String dot_rodata
      RESERVED SECTION NAME
      static java.lang.String dot_rodata1
      RESERVED SECTION NAME
      static java.lang.String dot_shstrtab
      RESERVED SECTION NAME
      static java.lang.String dot_strtab
      RESERVED SECTION NAME
      static java.lang.String dot_symtab
      RESERVED SECTION NAME
      static java.lang.String dot_tbss
      RESERVED SECTION NAME
      static java.lang.String dot_tdata
      RESERVED SECTION NAME
      static java.lang.String dot_tdata1
      RESERVED SECTION NAME
      static java.lang.String dot_text
      RESERVED SECTION NAME
      static int SHF_ALLOC
      The section occupies memory during execution
      static int SHF_EXCLUDE
      This section is excluded from the final executable or shared library.
      static int SHF_EXECINSTR
      The section contains executable machine instructions.
      static int SHF_GROUP
      The section is member of a group.
      static int SHF_INFO_LINK
      sh_info contains SHT index
      static int SHF_LINK_ORDER
      Preserve order after combining
      static int SHF_MASKOS
      The section contains OS-specific data.
      static int SHF_MASKPROC
      Processor-specific
      static int SHF_MERGE
      The section might be merged
      static int SHF_OS_NONCONFORMING
      Non-standard OS specific handling required
      static int SHF_STRINGS
      The section contains null-terminated strings
      static int SHF_TLS
      The section that holds thread-local data.
      static int SHF_WRITE
      The section contains data that should be writable during process execution.
      static short SHN_ABS
      symbol defined relative to this are absolute, not affected by relocation
      static short SHN_COMMON
      common symbols, such as Fortran COMMON or unallocated C external vars
      static short SHN_HIOS
      Highest operating system-specific index
      static short SHN_HIPROC
      upper bound for processor-specific semantics
      static short SHN_HIRESERVE
      upper bound on range of reserved indexes
      static short SHN_LOOS
      Lowest operating system-specific index
      static short SHN_LOPROC
      lower bound for processor-specific semantics
      static short SHN_LORESERVE
      lower bound on range of reserved indexes
      static short SHN_UNDEF
      undefined, missing, irrelevant section
      static short SHN_XINDEX
      Mark that the index is >= SHN_LORESERVE
      static int SHT_ANDROID_REL
      Android relocation entries w/o explicit addends
      static int SHT_ANDROID_RELA
      Android relocation entries with explicit addends
      static int SHT_ANDROID_RELR
      Android's experimental support for SHT_RELR sections (see above)
      static int SHT_CHECKSUM
      Checksum for DSO content.
      static int SHT_DYNAMIC
      Dynamic linking information
      static int SHT_DYNSYM
      Symbol table for dynamic linking
      static int SHT_FINI_ARRAY
      Array of destructors
      static int SHT_GNU_ATTRIBUTES
      Object attributes
      static int SHT_GNU_HASH
      GNU-style hash table
      static int SHT_GNU_LIBLIST
      Prelink library list
      static int SHT_GNU_verdef
      Version definition section.
      static int SHT_GNU_verneed
      Version needs section.
      static int SHT_GNU_versym
      Version symbol table.
      static int SHT_GROUP
      Section group
      static int SHT_HASH
      Symbol hash table for dynamic linking
      static int SHT_INIT_ARRAY
      Array of constructors
      static int SHT_NOBITS
      Section contains no bytes
      static int SHT_NOTE
      Section holds information that marks the file
      static int SHT_NULL
      Inactive section header
      static int SHT_PREINIT_ARRAY
      Array of pre-constructors
      static int SHT_PROGBITS
      Program defined
      static int SHT_REL
      Relocation entries w/o explicit addends
      static int SHT_RELA
      Relocation entries with explicit addends
      static int SHT_RELR
      Experimental support - see proposal at https://groups.google.com/forum/#!topic/generic-abi/bX460iggiKg
      static int SHT_SHLIB
      Undefined
      static int SHT_STRTAB
      String table
      static int SHT_SUNW_COMDAT  
      static int SHT_SUNW_move  
      static int SHT_SUNW_syminfo  
      static int SHT_SYMTAB
      Symbol table for link editing and dynamic linking
      static int SHT_SYMTAB_SHNDX
      Extended section indeces
    • Field Detail

      • dot_bss

        public static final java.lang.String dot_bss
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_comment

        public static final java.lang.String dot_comment
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_data

        public static final java.lang.String dot_data
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_data1

        public static final java.lang.String dot_data1
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_debug

        public static final java.lang.String dot_debug
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_dynamic

        public static final java.lang.String dot_dynamic
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_dynstr

        public static final java.lang.String dot_dynstr
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_dynsym

        public static final java.lang.String dot_dynsym
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_fini

        public static final java.lang.String dot_fini
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_got

        public static final java.lang.String dot_got
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_hash

        public static final java.lang.String dot_hash
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_init

        public static final java.lang.String dot_init
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_interp

        public static final java.lang.String dot_interp
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_line

        public static final java.lang.String dot_line
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_note

        public static final java.lang.String dot_note
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_plt

        public static final java.lang.String dot_plt
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_rodata

        public static final java.lang.String dot_rodata
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_rodata1

        public static final java.lang.String dot_rodata1
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_shstrtab

        public static final java.lang.String dot_shstrtab
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_strtab

        public static final java.lang.String dot_strtab
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_symtab

        public static final java.lang.String dot_symtab
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_text

        public static final java.lang.String dot_text
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_tbss

        public static final java.lang.String dot_tbss
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_tdata

        public static final java.lang.String dot_tdata
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • dot_tdata1

        public static final java.lang.String dot_tdata1
        RESERVED SECTION NAME
        See Also:
        Constant Field Values
      • SHT_SYMTAB

        public static final int SHT_SYMTAB
        Symbol table for link editing and dynamic linking
        See Also:
        Constant Field Values
      • SHT_RELA

        public static final int SHT_RELA
        Relocation entries with explicit addends
        See Also:
        Constant Field Values
      • SHT_HASH

        public static final int SHT_HASH
        Symbol hash table for dynamic linking
        See Also:
        Constant Field Values
      • SHT_DYNAMIC

        public static final int SHT_DYNAMIC
        Dynamic linking information
        See Also:
        Constant Field Values
      • SHT_NOTE

        public static final int SHT_NOTE
        Section holds information that marks the file
        See Also:
        Constant Field Values
      • SHT_NOBITS

        public static final int SHT_NOBITS
        Section contains no bytes
        See Also:
        Constant Field Values
      • SHT_REL

        public static final int SHT_REL
        Relocation entries w/o explicit addends
        See Also:
        Constant Field Values
      • SHT_DYNSYM

        public static final int SHT_DYNSYM
        Symbol table for dynamic linking
        See Also:
        Constant Field Values
      • SHT_INIT_ARRAY

        public static final int SHT_INIT_ARRAY
        Array of constructors
        See Also:
        Constant Field Values
      • SHT_FINI_ARRAY

        public static final int SHT_FINI_ARRAY
        Array of destructors
        See Also:
        Constant Field Values
      • SHT_PREINIT_ARRAY

        public static final int SHT_PREINIT_ARRAY
        Array of pre-constructors
        See Also:
        Constant Field Values
      • SHT_SYMTAB_SHNDX

        public static final int SHT_SYMTAB_SHNDX
        Extended section indeces
        See Also:
        Constant Field Values
      • SHT_RELR

        public static final int SHT_RELR
        Experimental support - see proposal at https://groups.google.com/forum/#!topic/generic-abi/bX460iggiKg
        See Also:
        Constant Field Values
      • SHT_ANDROID_REL

        public static final int SHT_ANDROID_REL
        Android relocation entries w/o explicit addends
        See Also:
        Constant Field Values
      • SHT_ANDROID_RELA

        public static final int SHT_ANDROID_RELA
        Android relocation entries with explicit addends
        See Also:
        Constant Field Values
      • SHT_ANDROID_RELR

        public static final int SHT_ANDROID_RELR
        Android's experimental support for SHT_RELR sections (see above)
        See Also:
        Constant Field Values
      • SHT_GNU_ATTRIBUTES

        public static final int SHT_GNU_ATTRIBUTES
        Object attributes
        See Also:
        Constant Field Values
      • SHT_GNU_HASH

        public static final int SHT_GNU_HASH
        GNU-style hash table
        See Also:
        Constant Field Values
      • SHT_GNU_LIBLIST

        public static final int SHT_GNU_LIBLIST
        Prelink library list
        See Also:
        Constant Field Values
      • SHT_CHECKSUM

        public static final int SHT_CHECKSUM
        Checksum for DSO content. +
        See Also:
        Constant Field Values
      • SHT_GNU_verdef

        public static final int SHT_GNU_verdef
        Version definition section.
        See Also:
        Constant Field Values
      • SHT_GNU_verneed

        public static final int SHT_GNU_verneed
        Version needs section.
        See Also:
        Constant Field Values
      • SHT_GNU_versym

        public static final int SHT_GNU_versym
        Version symbol table.
        See Also:
        Constant Field Values
      • SHF_WRITE

        public static final int SHF_WRITE
        The section contains data that should be writable during process execution.
        See Also:
        Constant Field Values
      • SHF_ALLOC

        public static final int SHF_ALLOC
        The section occupies memory during execution
        See Also:
        Constant Field Values
      • SHF_EXECINSTR

        public static final int SHF_EXECINSTR
        The section contains executable machine instructions.
        See Also:
        Constant Field Values
      • SHF_MERGE

        public static final int SHF_MERGE
        The section might be merged
        See Also:
        Constant Field Values
      • SHF_STRINGS

        public static final int SHF_STRINGS
        The section contains null-terminated strings
        See Also:
        Constant Field Values
      • SHF_INFO_LINK

        public static final int SHF_INFO_LINK
        sh_info contains SHT index
        See Also:
        Constant Field Values
      • SHF_LINK_ORDER

        public static final int SHF_LINK_ORDER
        Preserve order after combining
        See Also:
        Constant Field Values
      • SHF_OS_NONCONFORMING

        public static final int SHF_OS_NONCONFORMING
        Non-standard OS specific handling required
        See Also:
        Constant Field Values
      • SHF_GROUP

        public static final int SHF_GROUP
        The section is member of a group.
        See Also:
        Constant Field Values
      • SHF_TLS

        public static final int SHF_TLS
        The section that holds thread-local data.
        See Also:
        Constant Field Values
      • SHF_EXCLUDE

        public static final int SHF_EXCLUDE
        This section is excluded from the final executable or shared library.
        See Also:
        Constant Field Values
      • SHF_MASKOS

        public static final int SHF_MASKOS
        The section contains OS-specific data.
        See Also:
        Constant Field Values
      • SHN_UNDEF

        public static final short SHN_UNDEF
        undefined, missing, irrelevant section
        See Also:
        Constant Field Values
      • SHN_LORESERVE

        public static final short SHN_LORESERVE
        lower bound on range of reserved indexes
        See Also:
        Constant Field Values
      • SHN_LOPROC

        public static final short SHN_LOPROC
        lower bound for processor-specific semantics
        See Also:
        Constant Field Values
      • SHN_HIPROC

        public static final short SHN_HIPROC
        upper bound for processor-specific semantics
        See Also:
        Constant Field Values
      • SHN_LOOS

        public static final short SHN_LOOS
        Lowest operating system-specific index
        See Also:
        Constant Field Values
      • SHN_HIOS

        public static final short SHN_HIOS
        Highest operating system-specific index
        See Also:
        Constant Field Values
      • SHN_ABS

        public static final short SHN_ABS
        symbol defined relative to this are absolute, not affected by relocation
        See Also:
        Constant Field Values
      • SHN_COMMON

        public static final short SHN_COMMON
        common symbols, such as Fortran COMMON or unallocated C external vars
        See Also:
        Constant Field Values
      • SHN_XINDEX

        public static final short SHN_XINDEX
        Mark that the index is >= SHN_LORESERVE
        See Also:
        Constant Field Values
      • SHN_HIRESERVE

        public static final short SHN_HIRESERVE
        upper bound on range of reserved indexes
        See Also:
        Constant Field Values
    • Method Detail

      • isProcessorSpecificSymbolSectionIndex

        public static boolean isProcessorSpecificSymbolSectionIndex​(short symbolSectionIndex)
        Parameters:
        symbolSectionIndex - symbol section index (st_shndx)
        Returns:
        true if specified symbol section index corresponds to a processor specific value in the range SHN_LOPROC..SHN_HIPROC, else false