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 17 of file ../../sdk/lib/ld/test/ld-remote-process-tests.cc
void ~LdRemoteProcessTests ()
Defined at line 24 of file ../../sdk/lib/ld/test/ld-remote-process-tests.cc
void SetUp ()
Defined at line 19 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 26 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 49 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h
void Start ()
Defined at line 52 of file ../../sdk/lib/ld/test/ld-remote-process-tests.cc
int64_t Run ()
Defined at line 59 of file ../../sdk/lib/ld/test/ld-remote-process-tests.cc
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
zx::channel & bootstrap_sender ()
Defined at line 67 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 79 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h
const zx::vmar & root_vmar ()
Defined at line 100 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h
uintptr_t entry ()
Defined at line 102 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h
void set_entry (uintptr_t entry)
Defined at line 104 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h
uintptr_t vdso_base ()
Defined at line 106 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h
void set_vdso_base (uintptr_t vdso_base)
Defined at line 108 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h
std::optional<size_t> stack_size ()
Defined at line 110 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h
void set_stack_size (std::optional<size_t> stack_size)
Defined at line 112 of file ../../sdk/lib/ld/test/ld-remote-process-tests.h