class MockAsyncMemoryDelegate

Defined at line 46 of file ../../src/lib/unwinder/testing/mock_memory.h

A fake implementation of AsyncMemory::Delegate.

Used to test asynchronous unwinding flows. Automatically executes callbacks

synchronously to simplify test execution.

Public Methods

void AddMemory (uint64_t addr, std::vector<uint8_t> data)

Defined at line 48 of file ../../src/lib/unwinder/testing/mock_memory.h

Error ReadBytes (uint64_t addr, uint64_t size, void * dst)

Defined at line 52 of file ../../src/lib/unwinder/testing/mock_memory.h

void FetchMemoryRanges (std::vector<std::pair<uint64_t, uint32_t>> ranges, fit::callback<void ()> cb)

Defined at line 56 of file ../../src/lib/unwinder/testing/mock_memory.h

void PostTask (fit::callback<void ()> cb)

Defined at line 61 of file ../../src/lib/unwinder/testing/mock_memory.h