libTriton  version 0.4 build 1356

# Description

This object is used to represent a Section Header entry from the ELF binary format.

## Example

>>> b = Elf('/usr/bin/gdb')
...
0x0L
.interp 0x400270L
.note.ABI-tag 0x40028cL
.gnu.hash 0x4002b0L
.dynsym 0x40a388L
.dynstr 0x431268L
.gnu.version 0x451bc8L
.gnu.version_r 0x454fb0L
.rela.dyn 0x4550d0L
.rela.plt 0x455748L
.init 0x4580d0L
.plt 0x4580f0L
.text 0x459cb0L
.fini 0x783dccL
.rodata 0x783e00L
.eh_frame_hdr 0x961480L
.eh_frame 0x977898L
.init_array 0xbfdda0L
.fini_array 0xbfdda8L
.jcr 0xbfddb0L
.dynamic 0xbfddb8L
.got 0xbfdff8L
.got.plt 0xbfe000L
.data 0xbfee00L
.bss 0xc12280L
.shstrtab 0x0L

# Python API - Methods of the ElfSectionHeader class

Returns the virtual section address. If this section appears in the memory image of a process, this member holds the address at which the section's first byte should reside. Otherwise, the member contains zero.
Returns the section alignement. Some sections have address alignment constraints. If a section holds a doubleword, the system must ensure doubleword alignment for the entire section. That is, the value of sh_addr must be congruent to zero, modulo the value of triton::format::elf::ElfSectionHeader::addralign. Only zero and positive integral powers of two are allowed. Values of zero or one mean the section has no alignment constraints.
• integer getEntsize(void)
Returns the size of an section entry. Some sections hold a table of fixed-sized entries, such as a symbol table. For such a section, this member gives the size in bytes for each entry. This member contains zero if the section does not hold a table of fixed-size entries.
• bool getFlags(void)
Returns the section flags. Sections support one-bit flags that describe miscellaneous attributes. If a flag bit is set in triton::format::elf::ElfSectionHeader::flags, the attribute is "on" for the section. Otherwise, the attribute is "off" or does not apply. Undefined attributes are set to zero.
• integer getIdxname(void)
Returns the section index name. This member specifies the name of the section. Its value is an index into the section header string table section, giving the location of a null-terminated string.
• ELF getInfo(void)
Returns the section info. This member holds extra information, whose interpretation depends on the section type.
e.g: .text