Module: ELFTools::Constants::SHN

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

Overview

Special indices to section. These are used when there is no valid index to section header. The meaning of these values is left upto the embedding header.

Constant Summary collapse

SHN_UNDEF =

undefined section

0
SHN_LORESERVE =

start of reserved indices

0xff00
SHN_LOPROC =

Values between SHN_LOPROC and SHN_HIPROC are reserved for processor-specific semantics.

0xff00
SHN_MIPS_ACOMMON =

defined and allocated common symbol

0xff00
SHN_MIPS_TEXT =

defined and allocated text symbol

0xff01
SHN_MIPS_DATA =

defined and allocated data symbol

0xff02
SHN_MIPS_SCOMMON =

small common symbol

0xff03
SHN_MIPS_SUNDEFINED =

small undefined symbol

0xff04
SHN_X86_64_LCOMMON =

large common symbol

0xff02
SHN_HIPROC =
0xff1f
SHN_LOOS =

Values between SHN_LOOS and SHN_HIOS are reserved for operating system-specific semantics.

0xff20
SHN_HIOS =

see SHN_LOOS

0xff3f
SHN_ABS =

specifies absolute values for the corresponding reference

0xfff1
SHN_COMMON =

symbols defined relative to this section are common symbols

0xfff2
SHN_XINDEX =

escape value indicating that the actual section header index is too large to fit

0xffff
SHN_HIRESERVE =

end of reserved indices

0xffff