class LocalVmarLoader

Defined at line 454 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 456 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h

void LocalVmarLoader (LocalVmarLoader && other)

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

LocalVmarLoader & operator= (LocalVmarLoader && other)

Defined at line 464 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 473 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 487 of file ../../src/lib/elfldltl/include/lib/elfldltl/vmar-loader.h