class LocalVmarLoader

Defined at line 453 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h

elfldltl::LocalVmarLoader performs loading within the current process only.

See VmarLoader above for the primary API details. LocalVmarLoader can be

default-constructed to place the module inside the root VMAR. It also

provides the memory() method for access to the image after Load.

Public Methods

void LocalVmarLoader (const zx::vmar & vmar)

Defined at line 455 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h

void LocalVmarLoader (LocalVmarLoader && other)

Defined at line 457 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h

LocalVmarLoader & operator= (LocalVmarLoader && other)

Defined at line 463 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h

template <class Diagnostics, class LoadInfo>
bool Load (Diagnostics & diag, const LoadInfo & load_info, zx::unowned_vmo vmo)

Defined at line 472 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h

DirectMemory & memory ()

This returns the DirectMemory of the mapping created by Load(). It should

not be used after destruction or after Commit(). If Commit() has been

called before destruction then the address range will continue to be

usable, in which case one should save memory().image() before Commit().

Defined at line 486 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h