|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Symbolic view of a remote function / code pointer. More...
#include <remote_diagnostics.hpp>
Public Member Functions | |
| constexpr | remote_fn_ptr () noexcept=default |
| Constructs an empty (null) view. | |
| constexpr | remote_fn_ptr (uintptr_t addr, symbol_resolver_ref resolver, symbol_resolution_context &context RELOCO_LIFETIMEBOUND) noexcept |
| Constructs a view over a remote code address. | |
| constexpr uintptr_t | address () const noexcept |
| Returns the code address. | |
| constexpr bool | is_null () const noexcept |
| Reports whether the address is null. | |
| constexpr symbol_resolver_ref | resolver () const noexcept |
| Returns the symbol resolver handle. | |
| constexpr symbol_resolution_context & | context () const noexcept RELOCO_LIFETIMEBOUND |
| Returns caller-owned symbol-resolution temporaries. | |
Symbolic view of a remote function / code pointer.
Renders (null), a raw 0x.. address, or a resolved symbol depending on the format mode and resolver availability.
|
constexprdefaultnoexcept |
Constructs an empty (null) view.
|
inlineconstexprnoexcept |
Constructs a view over a remote code address.
| addr | Code address to render. |
| resolver | Optional symbol resolver. |
| context | Caller-owned symbol-resolution temporaries. |
|
inlineconstexprnoexcept |
Returns the code address.
0 when null.
|
inlineconstexprnoexcept |
Returns caller-owned symbol-resolution temporaries.
|
inlineconstexprnoexcept |
Reports whether the address is null.
true when the pointer is null.
|
inlineconstexprnoexcept |
Returns the symbol resolver handle.