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

Detailed description of a classified memory region or address. More...

#include <memory_classifier.hpp>

Public Member Functions

constexpr bool contains (uintptr_t addr) const noexcept
 Checks if a given virtual address falls within this region.
 

Public Attributes

uintptr_t start_address {0}
 Start virtual address of the region.
 
uintptr_t end_address {0}
 End virtual address of the region (exclusive).
 
memory_region_type type {memory_region_type::unknown}
 Classification type of the region.
 
uint32_t space_id {0}
 Associated address space ID / ASID / PID (if applicable).
 
bool readable {false}
 Page protection flags.
 
bool writable {false}
 
bool executable {false}
 

Detailed Description

Detailed description of a classified memory region or address.

Member Function Documentation

◆ contains()

constexpr bool microfmt::memory_region_info::contains ( uintptr_t  addr) const
inlineconstexprnoexcept

Checks if a given virtual address falls within this region.

Member Data Documentation

◆ end_address

uintptr_t microfmt::memory_region_info::end_address {0}

End virtual address of the region (exclusive).

◆ executable

bool microfmt::memory_region_info::executable {false}

◆ readable

bool microfmt::memory_region_info::readable {false}

Page protection flags.

◆ space_id

uint32_t microfmt::memory_region_info::space_id {0}

Associated address space ID / ASID / PID (if applicable).

◆ start_address

uintptr_t microfmt::memory_region_info::start_address {0}

Start virtual address of the region.

◆ type

memory_region_type microfmt::memory_region_info::type {memory_region_type::unknown}

Classification type of the region.

◆ writable

bool microfmt::memory_region_info::writable {false}

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