ElfObj_getsegment

Get corresponding seg_data entry for an existing or newly added section.

Input: name = name of section suffix = append to name type = section header type, e.g. SHT_PROGBITS flags = section header flags, e.g. SHF_ALLOC align_ = section alignment

version(COMPILE)
extern (C++) nothrow
static if(1)
segidx_t
ElfObj_getsegment
(
const(char)* name
,
const(char)* suffix
,
int type
,
int flags
,
int align_
)

Return Value

Type: segidx_t

SegData index of found or newly created section.

Suggestion Box / Bug Report