class LdRemoteProcessTests

Defined at line 33 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h

Public Members

static const bool kCanCollectLog
static const bool kRunsLdStartup
static const size_t kPageSize

Public Methods

void LdRemoteProcessTests ()

Defined at line 16 of file ../../sdk/lib/ld/test/ld-remote-process-tests.cc

void ~LdRemoteProcessTests ()

Defined at line 23 of file ../../sdk/lib/ld/test/ld-remote-process-tests.cc

void SetUp ()

Defined at line 18 of file ../../sdk/lib/ld/test/ld-remote-process-tests.cc

void Init (std::initializer_list<std::string_view> args, std::initializer_list<std::string_view> env)

Defined at line 25 of file ../../sdk/lib/ld/test/ld-remote-process-tests.cc

void Load (std::string_view executable_name, std::optional<std::string_view> expected_config)

Defined at line 53 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h

template <class... Reports>
void LoadAndFail (std::string_view name, elfldltl::testing::ExpectedErrorList<Reports...> diag)

Defined at line 60 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h

zx::vmo TakeStubLdVmo ()

Defined at line 65 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h

Protected Methods

template <class Linker = RemoteDynamicLinker<>, class Diagnostics>
auto GetDepFunction (Diagnostics & diag, Linker::size_type page_size)

This returns a closure usable as the `get_dep` function for calling

ld::RuntimeDynamicLinker::Init. It captures the Diagnostics reference and

the this pointer; when called it uses LoadObject on the MockLoaderService

to find files (or not) according to the Needed calls priming the expected

sequence of names.

Defined at line 77 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h