class TestProcessForElfSearch

Defined at line 362 of file ../../src/lib/zxdump/dump-tests.h

Public Members

static const char *const kChildName

Public Methods

template <typename Writer>
void Dump (Writer & writer)

Do the full-memory dump using the dumper API.

Defined at line 395 of file ../../src/lib/zxdump/dump-tests.h

uint64_t main_ptr ()

These give the addresses where the modules were reported in the child.

Defined at line 415 of file ../../src/lib/zxdump/dump-tests.h

uint64_t dso_ptr ()

Defined at line 417 of file ../../src/lib/zxdump/dump-tests.h

const ElfIdAtBaseList & found_elf ()

Defined at line 419 of file ../../src/lib/zxdump/dump-tests.h

ElfIdList found_ids ()

Defined at line 421 of file ../../src/lib/zxdump/dump-tests.h

void StartChild ()

Start a child for ELF search testing.

Defined at line 453 of file ../../src/lib/zxdump/elf-search-tests.cc

zx::vmar CreateProcess ()

Create a process for remote dynamic linking, used instead of StartChild().

Defined at line 484 of file ../../src/lib/zxdump/elf-search-tests.cc

void CheckDump (zxdump::TaskHolder & holder)

Verify a dump file for that child was inserted and looks right.

Then found_elf() will return the modules found.

Defined at line 486 of file ../../src/lib/zxdump/elf-search-tests.cc

void CheckNotes (int fd)

Verify the build ID PT_NOTEs in the ET_CORE file directly.

Then found_elf() will return the modules found.

Defined at line 573 of file ../../src/lib/zxdump/elf-search-tests.cc

void CheckDumpElfSearchIds ()

Check for CheckDump / CheckNotes finding canonical expected modules.

Defined at line 557 of file ../../src/lib/zxdump/elf-search-tests.cc

void CheckNotesElfSearchIds ()

Defined at line 605 of file ../../src/lib/zxdump/elf-search-tests.cc

Records