[][src]Module elf_utilities::section

ELF section and section header utilities.

Structs

Section32
Section64
Shdr32
Shdr64

Enums

Contents32

section's contents

Contents64
Type

Constants

SHF_ALLOC
SHF_EXECINSTR
SHF_INFO_LINK
SHN_ABS

Associated symbol is absolute

SHN_COMMON

Associated symbol is common

SHN_HIOS

End of OS-specific

SHN_HIPROC

End of processor-specific

SHN_LOOS

Start of OS-specific

SHN_LOPROC

Start of processor-specific

SHN_UNDEF

Undefined section

SHN_XINDEX

Index is in extra table

Functions

build_byte_string_table

STRTABセクション等で使われる文字列テーブル形式を生成します. 具体的には,null-byte (name + null-byte)* という形式を生成します. alignmentがtrueの場合,4バイトアラインメントも行います.

build_string_table

STRTABセクション等で使われる文字列テーブル形式を生成します. 具体的には,null-byte (name + null-byte)* という形式を生成します. alignmentがtrueの場合,4バイトアラインメントも行います.