class RemoteAbiHeapLayout

Defined at line 136 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

Forward declarations for type defined below.

Public Methods

void RemoteAbiHeapLayout ()

Defined at line 138 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

void RemoteAbiHeapLayout (size_t data_size)

The layout is constructed to leave space for the stub's data segment.

The argument should come from RemoteAbiStub::data_size().

Defined at line 142 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

void RemoteAbiHeapLayout (const RemoteAbiHeapLayout & )

Defined at line 144 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

void RemoteAbiHeapLayout (RemoteAbiHeapLayout && )

Defined at line 145 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

template <typename T>
RemoteAbiSpan<T> Allocate (size_t count)

Allocate heap space for an array of T. The resulting RemoteAbiSpan

<T

> can

be used later to populate the array once the heap is realized.

Defined at line 150 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

RemoteAbiString AddString (std::string_view str)

Add a string to the heap. This builds up a table of unique strings. The

resulting RemoteAbiString can be used later to refer to this string in the

heap using RemoteAbiHeap::Remote.

Defined at line 168 of file ../../sdk/lib/ld/include/lib/ld/remote-abi-heap.h

Friends

template <class Elfclass AbiTraits>
class RemoteAbiHeap