class LoadableBlob

Defined at line 57 of file ../../src/bringup/lib/restricted-machine/include/bringup/lib/restricted-machine/internal/loadable-blob.h

This class encapsulates loading a single loadable blob.

Public Methods

void LoadableBlob ()

Defined at line 59 of file ../../src/bringup/lib/restricted-machine/include/bringup/lib/restricted-machine/internal/loadable-blob.h

void ~LoadableBlob ()

Defined at line 60 of file ../../src/bringup/lib/restricted-machine/include/bringup/lib/restricted-machine/internal/loadable-blob.h

zx::result<> Initialize (const std::string_view & name, elfldltl::ElfMachine machine, uint64_t address_limit, const std::vector<std::string_view> & symbols, const std::unordered_map<std::string_view, uint64_t> & global_symbols, bool export_symbols, std::optional<zx_vaddr_t> map_at)

Load the blob VMO found using the prefix |name| with the machine type of

|machine| under the provided |address_limit|. If provided, any symbols

matching |symbols| will be added to the symbol map. |global_symbols| will

be used for resolving any missing symbol definitions.

If |export_symbols| is true, all symbols found in the blob will be added

to the map.

If provided, |map_at| provides the exact (within page alignment) address to

place the loadable vmo at.

Defined at line 70 of file ../../src/bringup/lib/restricted-machine/include/bringup/lib/restricted-machine/internal/loadable-blob.h

const LoadableBlobSymbols & symbols ()

Defined at line 78 of file ../../src/bringup/lib/restricted-machine/include/bringup/lib/restricted-machine/internal/loadable-blob.h