class ElfModuleCache

Defined at line 24 of file ../../src/lib/unwinder/elf_module_cache.h

Provides a high level interface over a collection of ELF modules that are loaded for a particular

process for checking PC values and returning specific ELF modules corresponding to a particular

PC value. See LoadedElfModule for more details about what to do with a specific loaded ELF

module.

Public Methods

void ElfModuleCache (std::span<const Module> modules)

Defined at line 13 of file ../../src/lib/unwinder/elf_module_cache.cc

fit::result<Error, LoadedElfModuleRef> GetLoadedElfModuleForPc (uint64_t pc)

Defined at line 19 of file ../../src/lib/unwinder/elf_module_cache.cc

bool IsValidPC (uint64_t pc)

Check whether a given PC is in any known module's valid range.

Defined at line 44 of file ../../src/lib/unwinder/elf_module_cache.cc