Module: ELFTools::Constants::SHF

Included in:
ELFTools::Constants
Defined in:
lib/elftools/constants.rb

Overview

Section flag mask types, records in sh_flag.

Constant Summary collapse

SHF_WRITE =

Writable

(1 << 0)
SHF_ALLOC =

Occupies memory during execution

(1 << 1)
SHF_EXECINSTR =

Executable

(1 << 2)
SHF_MERGE =

Might be merged

(1 << 4)
SHF_STRINGS =

Contains nul-terminated strings

(1 << 5)
(1 << 6)
(1 << 7)
SHF_OS_NONCONFORMING =

Non-standard OS specific handling required

(1 << 8)
SHF_GROUP =

Section is member of a group.

(1 << 9)
SHF_TLS =

Section hold thread-local data.

(1 << 10)
SHF_COMPRESSED =

Section with compressed data.

(1 << 11)
SHF_MASKOS =

OS-specific.

0x0ff00000
SHF_MASKPROC =

Processor-specific

0xf0000000
SHF_GNU_RETAIN =

Not to be GCed by linker.

(1 << 21)
SHF_GNU_MBIND =

Mbind section

(1 << 24)
SHF_ORDERED =

Special ordering requirement

(1 << 30)
SHF_EXCLUDE =

Section is excluded unless referenced or allocated (Solaris).

(1 << 31)