ElfEditor.removeSegment

ElfEditor removeSegment(uint index)

Remove a segment from the ELF file.

Parameters

indexThe segment index to remove.

Returns

This editor for method chaining.

Throws

Exception if the segment index is invalid or cannot be removed.