|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Derived symbol info with precomputed relative offsets. More...
#include <symbol_resolver.hpp>

Public Member Functions | |
| constexpr bool | has_symbol () const noexcept |
| Reports whether a symbol name is available. | |
| constexpr bool | has_image () const noexcept |
| Reports whether an owning image is known. | |
Public Attributes | |
| microfmt::string_view | symbol_name {""} |
| Nearest symbol name (may be empty when stripped). | |
| uintptr_t | symbol_base {0} |
| Base address of the matched symbol. | |
| uintptr_t | offset_from_symbol {0} |
| Offset of the address from symbol_base. | |
| bool | is_exact {false} |
true when the match is exact (not merely nearest). | |
| microfmt::string_view | image_name {""} |
| Owning image/module name. | |
| uintptr_t | image_load_base {0} |
| Load base of the owning image. | |
| uintptr_t | offset_from_image {0} |
| Offset of the address from image_load_base. | |
Derived symbol info with precomputed relative offsets.
|
inlineconstexprnoexcept |
Reports whether an owning image is known.
true when image_name is non-empty.
|
inlineconstexprnoexcept |
Reports whether a symbol name is available.
true when symbol_name is non-empty. | uintptr_t microfmt::resolved_symbol_info::image_load_base {0} |
Load base of the owning image.
| microfmt::string_view microfmt::resolved_symbol_info::image_name {""} |
Owning image/module name.
| bool microfmt::resolved_symbol_info::is_exact {false} |
true when the match is exact (not merely nearest).
| uintptr_t microfmt::resolved_symbol_info::offset_from_image {0} |
Offset of the address from image_load_base.
| uintptr_t microfmt::resolved_symbol_info::offset_from_symbol {0} |
Offset of the address from symbol_base.
| uintptr_t microfmt::resolved_symbol_info::symbol_base {0} |
Base address of the matched symbol.
| microfmt::string_view microfmt::resolved_symbol_info::symbol_name {""} |
Nearest symbol name (may be empty when stripped).