microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
microfmt::memory_scanner Class Reference

Utility scanner for inspecting, classifying, and conditionally hex-dumping memory addresses. More...

#include <memory_scanner.hpp>

Static Public Member Functions

template<typename AbiTraits >
static void scan_and_dump (address_space_ref space, memory_classifier_ref classifier, register_context_ref reg_ctx, span< const uintptr_t > raw_addresses, memory_scanner_context &context, const sink &out) noexcept
 Scans architecture-specific register candidates followed by a sequence of explicit raw addresses.
 
static void scan_and_dump (address_space_ref space, memory_classifier_ref classifier, address_source_ref source, memory_scanner_context &context, const sink &out) noexcept
 Scans addresses dynamically pulled from a type-erased abstract source.
 

Detailed Description

Utility scanner for inspecting, classifying, and conditionally hex-dumping memory addresses.

Member Function Documentation

◆ scan_and_dump() [1/2]

static void microfmt::memory_scanner::scan_and_dump ( address_space_ref  space,
memory_classifier_ref  classifier,
address_source_ref  source,
memory_scanner_context &  context,
const sink &  out 
)
inlinestaticnoexcept

Scans addresses dynamically pulled from a type-erased abstract source.

◆ scan_and_dump() [2/2]

template<typename AbiTraits >
static void microfmt::memory_scanner::scan_and_dump ( address_space_ref  space,
memory_classifier_ref  classifier,
register_context_ref  reg_ctx,
span< const uintptr_t >  raw_addresses,
memory_scanner_context &  context,
const sink &  out 
)
inlinestaticnoexcept

Scans architecture-specific register candidates followed by a sequence of explicit raw addresses.

Template Parameters
AbiTraitsArchitecture-specific register and ABI traits.

The documentation for this class was generated from the following file: