ElfEditor.setSegmentAddress

ElfEditor setSegmentAddress(uint index, ulong vaddr, ulong paddr = 0)

Set the virtual (and optional physical) address of a segment.

Parameters

indexThe segment index.
vaddrThe virtual address.
paddrThe physical address (defaults to vaddr).

Returns

This editor for method chaining.