ResolveSymbolInfo#
Fully qualified name: carb::crashreporter::ResolveSymbolInfo
Defined in carb/crashreporter/ICrashReporter.h
-
struct ResolveSymbolInfo#
Information passed back to the caller of ICrashReporter::resolveStack or ICrashReporter::resolveSymbol.
Warning
The string_views below are transitory and can only be used while the ResolveSymbolFn2 callback is being called. Retaining them beyond the scope of the callback function is undefined behavior.
Public Members
-
size_t size = {sizeof(ResolveSymbolInfo)}#
Size of
*this, used as a version.
-
const void *address#
The address being resolved.
-
cpp::zstring_view fullInfo#
Full formatted info. Typically in the form:
<module>!<function>+0x<offset> at <file>:<line>Though some of this information may be missing if not available.
-
const void *moduleBaseAddress#
Base address of the module containing
address.
-
cpp::string_view moduleName#
Name of the module containing
address(empty if not available).
-
cpp::string_view functionName#
Function name containing
address(empty if not available).
-
size_t offset#
The offset of
addressfrom the start offunctionName(0 if not available).
-
cpp::string_view fileName#
The name of the source code file that contains
address(empty if not available).
-
unsigned lineNumber#
The line number within
fileNamethat containsaddress(0 if not available).
-
size_t size = {sizeof(ResolveSymbolInfo)}#