getSegmentTypeName

fnstring getSegmentTypeName(SegmentType type) pure @safe

Get the name of an ELF segment type.

Parameters

typeSegment type.

Returns

String representation of the segment type, "OS-SPECIFIC" or

"PROC-SPECIFIC" for values inside the extension ranges, or "UNKNOWN (<value>)" for other unrecognized values. Unrecognized values are valid and must not throw.